Hey, I recently downloaded version 1.7.2 of Panda3D,and it won’t run on my Mac, I keep getting this error message:
import direct.directbase.DirectStart
DirectStart: Starting the game.
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/directbase/DirectStart.py", line 3, in <module>
File "dstroot/pythoncode/Developer/Panda3D/lib/direct/showbase/ShowBase.py", line 10, in <module>
File "/Developer/Panda3D/lib/pandac/PandaModules.py", line 8, in <module>
from libpandaModules import *
File "/Developer/Panda3D/lib/pandac/libpandaModules.py", line 2, in <module>
Dtool_PreloadDLL("libpanda")
File "/Developer/Panda3D/lib/pandac/extension_native_helpers.py", line 79, in Dtool_PreloadDLL
imp.load_dynamic(module, pathname)
ImportError: dlopen(/Developer/Panda3D/lib/libpanda.dylib, 2): Library not loaded: /usr/X11/lib/libfreetype.6.dylib
Referenced from: /Developer/Panda3D/lib/libpanda.dylib
Reason: image not found
>>>
Help would be very much appreciated.
I’m running OSX 10.6, in 64bit mode and panda in python 2.6.
Thanks.
Milk.
Incidentally, the Panda build as provided here only runs in 32-bit mode, but you appear to be running in 32-bit anyway (or you wouldn’t have gotten this far, I think).
The Mac version is compiled against Python 2.5, though, so you’ll need to run it with “python2.5” (or “ppython”, which is a handy symlink to the right version). You should run Python in 32-bits mode.
I haven’t seen the freetype error before, though. Try installing X11 from the OSX installation medium, as David suggested.
I have, I’ve downloaded and installed the CG toolkit, installed X11, run it in 32 bit mode. What now?
If there is anyone who has managed to run Panda successfully on a mac in Snow leopard, help please!