I am using Mac OS X Leopard 10.5.8 and I am trying to get Panda3D work under Eclipse and Pydev (Eclipse plug-in for Python).
I get only errors, when I try to run my game in Eclipse, but when I run the same game in command prompt, the game works.
If somebody has got the Panda3D work under Eclipse and Pydev, could you please share, what configurations have you done to Eclipse and Pydev?
I have done the following configurations in Eclipse/Pydev:
Project Porperties -> PyDev Intrepreter/Grammar -> “Click here to configure…” -> New Folder
And added the following folders:
/Applications/Panda3D/1.6.2/lib
/Applications/Panda3D/1.6.2/lib/direct
/Applications/Panda3D/1.6.2/lib/pandac
But I get the following errors under Eclipse/Pydev:
DirectStart: Starting the game.
Traceback (most recent call last):
File "/.../src/main.py", line 9, in <module>
from Game import Game
File "/.../src/Game.py", line 13, in <module>
import direct.directbase.DirectStart
File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/directbase/DirectStart.py", line 3, in <module>
File "Panda3D-tpl-rw/Panda3D/1.6.2/lib/direct/showbase/ShowBase.py", line 10, in <module>
File "/Applications/Panda3D/1.6.2/lib/pandac/PandaModules.py", line 1, in <module>
from libpandaexpressModules import *
File "/Applications/Panda3D/1.6.2/lib/pandac/libpandaexpressModules.py", line 1, in <module>
from extension_native_helpers import *
File "/Applications/Panda3D/1.6.2/lib/pandac/extension_native_helpers.py", line 75, in <module>
Dtool_PreloadDLL("libpandaexpress")
File "/Applications/Panda3D/1.6.2/lib/pandac/extension_native_helpers.py", line 73, in Dtool_PreloadDLL
imp.load_dynamic(module, pathname)
ImportError: dlopen(/Applications/Panda3D/1.6.2/lib/libpandaexpress.dylib, 2): Library not loaded: libp3dtool.dylib
Referenced from: /Applications/Panda3D/1.6.2/lib/libpandaexpress.dylib
Reason: image not found