Quick Xcode question

Return to C++ coding using Panda3D

Quick Xcode question

Postby Manne » Wed Aug 12, 2009 11:08 am

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
Manne
 
Posts: 15
Joined: Wed Aug 12, 2009 11:04 am

Postby rdb » Wed Aug 12, 2009 11:46 am

It's DYLD_LIBRARY_PATH that needs to be set to "/Applications/Panda3D/1.6.2/lib". Also see these threads:

http://www.panda3d.org/phpbb2/viewtopic.php?t=6092
http://www.panda3d.org/phpbb2/viewtopic.php?t=6882
http://www.panda3d.org/phpbb2/viewtopic.php?t=6319
rdb
 
Posts: 9405
Joined: Mon Dec 04, 2006 5:58 am
Location: Netherlands

Postby Manne » Wed Aug 12, 2009 12:07 pm

Thanks alot :)
Manne
 
Posts: 15
Joined: Wed Aug 12, 2009 11:04 am


Return to C++ coding using Panda3D

Who is online

Users browsing this forum: No registered users and 0 guests