How to import library?

Discussion in 'Mac Programming' started by gtthang, Jan 12, 2006.

  1. gtthang macrumors newbie

    Jan 10, 2006
    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/ can't open library: libGui.1.dylib (No such file or directory, errno = 2)

    Thanks for caring.

Share This Page