mac

Mac os help browser fails requiring internet connection

I am developing an application for Mac OS X (I am new to that kind of things) and I want to include online help. The help is generated using doxygen and the help index generated using Help Indexer. I changed the Info.plist to point to the documentation, but when I try to access it, I get the following error: Internet connection requi...

Problems opening solution file in Visual Studio 2005 running under Parallels

I wrote a simple program in C# on Visual Studio 2005 on a windows machine at work. I tried to open the solution file at home in Visual Studio 2005, inside of Parallels, on my mac and I get the error: Unable to read the project file 'filename.csproj'. Invalid URI: The hostname could not be parsed. Does anyone know a way to fix this? ...

Link error with Cocotron

I've recently built a linux platform interface for Cocotron, and was able to build the Foundation framework with no errors. However, when linking my objective-C project, I get a linker error: /Developer/Cocotron/1.0/Linux/i386/Frameworks/Foundation.framework//libFoundation.so: undefined reference to `__gnu_objc_personality_v0' I've do...

vim: copy selection to OS X clipboard

There must be a really simple solution here that I'm missing: Say you've got an area selected in vim. How can you copy it into the OS X clipboard? (Hint: the OS X clipboard can be written to via pipe to /usr/bin/pbcopy) ...

Can I install the memcached PHP extension with PECL?

I'm having trouble installing the "memcached" PHP extension from PECL, though I can successfully installed the "memcache" extension. (They are separate PHP extensions.) For example, these commands work okay: $ sudo pecl install memcache $ sudo pecl install APC $ sudo pecl install oauth However, attempting to install memcache...

Which delegate method I should use to respond to clicks on a NSTextField?

I want to open a panel when the user clicks on a text field. I think I should use a delegate method that responds to the click event. I found that the (void)textDidBeginEditing:(NSNotification *)aNotification method does not work, and that the (void)controlTextDidBeginEditing:(NSNotification *)aNotification method works, but only...

Files with the same name in a TextMate project

One of the few things that bothers me about TextMate is that it can be difficult to differentiate between files that share the same name in a project, e.g: In this case, the file on the right is located in the project relative path model/realtimemodel.py, while the other file contains unit tests for that code. Sure, you can command-cl...

How to install MySQL on Leopard, Mac OS X 10.5?

I followed this tutorial to the very end, then found out it didn't work right. I think I have everything installed but when I type mysql -uroot I only get -bash: mysql: command not found Note: I did not skip the "Setting the Path" step. Upon running this command for the first time: mate ~/.bash_login This brought up an empty fil...

Visual Studio on remote desktop from a Mac - any issues?

I am in need of a new laptop, and I'm considering going for a Mac. However, an import part of my day-to-day work involves remote desktop'ing to my office computer (Vista), and running Visual Studio 2008. Has anyone done this? Are there specific issues to be aware of? Thanks! ...

What's the best software for checking disk health on Mac ?

Does Mac OS X have a good utility provided by default. Disk Utility doesn't seem very comprehensive. What is the best software available ? ...

How to Compile for OS X in Linux or Windows?

I would like to port my C/C++ apps to OS X. I don't have a Mac, but I have Linux and Windows. Is there any tool for this? ...

Integrating Eclipse's local history with Time Machine (Mac)

Eclipse has the very nifty "Compare with Local History" feature which lets you compare all files in the workspace against previous revisions. This is very useful to recover older versions even when they are not in a source control system, and it works because Eclipse keeps snapshots of all files when you save them. Eclipse (by default) ...

RubyCocoa, what's the point?

I was wondering what's the point of using Ruby (or even Python) in Cocoa application development other that not learning Objective-C (which is pretty simple language and will not take to more than few days to learn). I'm new to this and I'm interested why people do this? What are Pros and Cons. ...

Should I learn MacRuby or RubyCocoa

I am wanting to learn mac development with ruby but I'm not sure which one to go at. RubyCocoa has been around longer but I think MacRuby will beat it out in the long run.. Any suggestions?? ...

Running Ant with JDK 1.6 on Mac OS X

I am having a problem running Ant with JDK 1.6 on Mac OS X. Even though Java application versions is set to Java SE 6 in OS X's Java Preference, executing java -version in Terminal also shows java version "1.6.0_07", Ant still seems to use JDK 1.5 to be using JDK 1.5 as it does not see JDK 1.6 classes when compiling my code. I understan...

Best database admin software for mac?

What's the best database admin software for OSX? maintain database schema and data run queries convert schema from one database type to another datapump to move data around schema diff tools, ideally able build a script to update a schema easy to use Databases I'm interested in are MSSQL PostgreSQL MySQL Firebird (SQLite) Prefe...

Accessing data member of RootViewController in another class

I am developing an iPhone application using Objective-C. I want to access a data member which is of type NSMutableArray of the RootViewController class in another class. I tried making the array static. But I would like to have a non static array. How do I achieve this? ...

Increasing Heap size for SQuirreL SQL on Max OS X

Hi, I'm running SQuirreL SQL (2.6.8) on Max OS X. I'm running out of heap space when trying to create a Table script. Can anyone tell me how to configure SQuirreL SQL to start up with a higher jvm heap size? I'm rather new to developing on Macs, so assume I'm ignorant. Thanks. ...

Are there any API to turn on DXVA in Mac OSX

I wrote a video playback application based on Carbon in MAC OSX, are there any API to turn on the DXVA feature which support by Graphic Card? Does it support in QuickTime SDK or Carbon API? ...

Video capture on MacOS

Hi to all I'm wrtiting a C++ application with Trolltech QT Library and I need to capture video stream from a camera and some medical instrumentations. What kind of hardware can I use to do this? I've tried with OpenCV but it doesn't recognize my EyeTV 250. Can I use Pinnacle Video capture for Mac? thanks, Andrea ...