PDA

View Full Version : How to import library?




gtthang
Jan 12, 2006, 03:58 AM
I am new to programming on Mac OS X and I am using XCode 1.5 now.

I don't know how to import a libray (with some headers and a .dylib file) into my project. After adding the library, I can build the project successfully but when I run application from XCode, I always get error:
dyld: /Users/nmhung/Projects/XCode/HelloWorld/build/HelloWorld.app/Contents/MacOS/HelloWorld can't open library: libGui.1.dylib (No such file or directory, errno = 2)

Thanks for caring.