Hi all,
I am getting desperate !! I am trying to use OpenCV in Java, via JavaCV (JNA to wrap OpenCV for java).
I am on Mac Os X 1.5.
I installed OpenCV, and I can compile and run the examples included. So that works.
Now I open Eclipse, and I create a new project, as described here :
http://code.google.com/p/javacv/
In that new proj...
Hello,
I have two related questions that I was hoping someone could help out with.
I recently installed Ruby 1.9.2 on my Mac (running Snow Leopard 10.6.4) and I haven’t been able to figure out how to get Terminal to use the new Ruby as a default, rather than the factory-installed Ruby 1.8.7. The old Ruby 1.8.7 is located in my ~/usr/...
Hi there,
I'm wondering if someone from Mac development community here knows how to develop the UI for Mac which will be based on xml files. We need to re-design our software and will be working on the UI part, someone suggested to have the UI part be in xml file based so that it will be dynamic. Never tried this approach for Mac thoug...
Hi,
I tried installing OpenCV following the instructions for a MacPorts install on http://opencv.willowgarage.com/wiki/Mac_OS_X_OpenCV_Port, typing
sudo port install opencv
in the terminal.
The install/compilation seemed to go fine, and the files are in /opt/local subdirectories as they should be. As a first test, I then tried inclu...
Im trying to copy my .profile, .rvm and .ssh folders/files to a new computer and I know how to use the cp and ssh commands but I'm not sure how to use them in order to transfer files from one computer to another. Any help would be great, thanks!
...
PHP Source Code is being shown up when opening PHP page in my localhost. This looks strange to me. I'm using using PHP 5.3.1 on Mac OS X Snow Leopard.
$ php --version
PHP 5.3.1 (cli) (built: Feb 28 2010 15:02:51)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2009 Zend Technologies
I'm running the defaul...
I am reading tutorial book now. When I see an example, I get some confused.
The following codes show a way for lazy loading. Does this motivations array be released after instance deallocated ? or will it occupy this memory block until application terminates.
+ (NSArray *)motivations
{
static NSArray *motivations = nil;
if (!mot...
Previously I ask a question "How to convert data to JPEG Format?"
and solution of this is:
NSImage * strImage = [[NSImage alloc]initWithContentsOfFile:imagePath] ;
NSData *imageData = [strImage TIFFRepresentation];
NSBitmapImageRep *imageRep = [NSBitmapImageRep imageRepWithData:imageData];
NSNumber *compressionFactor = [NSNumber numberW...
I am just planning to implement some features like "Look up in Dictionary" when the mouse hovers over some text/words on the screen on the Mac OS X platform.
How can I get the displaying text/words nearby the mouse on the screen, even if they're not in my own application.
What I can do is:
Using WorkSpace to know what applications ar...
MODIFIED:
Hi all, I need to detect if any data sent to Audio Card during a period of time.
Thanks to Philip Regan's help, I found a simple sample code about audio recording as shown in following link:
http://developer.apple.com/library/mac/#samplecode/AudioQueueTools/Listings/aqrecord_cpp.html#//apple_ref/doc/uid/DTS10004380-aqrecord_...
Hi, I'm not able connect to mysql via php. It produces [error] [client 127.0.0.1] PHP Warning: mysql_connect(): No such file or directory error message in apache error log when executing mysql_connect() function in PHP.
Please find the warning messages when running php -m command:
$ php -m | grep mysql
PHP Warning: PHP Startup: Una...
Hi, I'm not able connect to mysql via php. It produces [error] [client 127.0.0.1] PHP Warning: mysql_connect(): No such file or directory error message in apache error log when executing mysql_connect() function in PHP.
Please find the warning messages when running php -m command:
$ php -m | grep mysql
PHP Warning: PHP Startup: Una...
I downloaded freetype-2.4.2 on my mac and ran the three commands:
./configure
make
make install
those commands worked without any errors and i can see a bunch of freetype files in /usr/local
here are my questions:
how can i verify that i am done installing freetype? i was assuming i could do a "man freetype" from any directory in t...
I have a long-running task that performs a series of file operations on mounted USB drives and I want to prevent users from ejecting the drive from Finder (or elsewhere) while this happens. There is a Cancel button that allows the task to be ended at any time.
I had assumed that keeping a file handle open on the mounted volume for the ...
When I write a file using Delphi it's on a Windows machine and the text files it puts out work fine on windows. When I use it on a Mac though it's expecting the formatting to be a bit different. On Mac the newline is different and it can't always read the Windows files.
How can I make my files readable by mac programs?
...
I have written a ruby daemon and I would like for it to run when I log in. It is normally run by going to the command line and calling ruby my_ruby_script.rb. How can I start my daemon on login? (Running 10.6 Snow Leopard).
...
Hello,
I am just looking for a C++ IDE for Apple's OS X. I currently use netbeans for java but cannot find something as robust as this for C++.
Thanks!
...
Hi guys, i'm new to the Mac OS X world so i have to ask you this.
I have the default python 2.6.1 installed as /usr/bin/python and the 3.1.2 as /usr/local/bin/python3.1 .
Considering that i use only 3.x syntax, is it safe to replace the default interpreter (2.6) with the 3.1 one (python-config included) using symlinks (and removing old ...
Hello,
I'm sorry for my knowledge of English.
I have an Cocoa application, which I want to install on removable volume (usb flash drive).
I use PackageMaker to create package. After install is completed the Installer create in root path of flash drive folder "/Library/Receipts" with receipts files in it. I don't need this files on a fla...
I am writing code using the Primera SDK from www.primera.com. I have been trying to write a little bit of ObjC code to just take each disk from the bin and load it into the drive, copy the contents of the disk off to a folder and process the next disk.
Firstly I do this to obtain the drive handles. Which returns correctly and I am abl...