Quick Xcode question


#1

Hello,
I got a quick Xcode question.
Im compiling and linking my testapp in xcode without any problems. However, when i run or debug the app from xcode i get this error.

dyld: Library not loaded: libp3framework.dylib
Referenced from: /Users/Manne/Documents/Untitled/build/Debug/Untitled
Reason: image not found

When i run the app from a console it works fine. Im suspecting it has something todo with my ld_library_path, but im not sure how to set that one from within Xcode.

Br.
Manne


#2

It’s DYLD_LIBRARY_PATH that needs to be set to “/Applications/Panda3D/1.6.2/lib”. Also see these threads:

discourse.panda3d.org/viewtopic.php?t=6092
discourse.panda3d.org/viewtopic.php?t=6882
discourse.panda3d.org/viewtopic.php?t=6319


#3

Thanks alot :slight_smile: