Hello, I’m trying to compile Panda (current trunk) on Snow Leopard with makepanda --everything (and I tried to enable the switch –osxtarget 10.6, but the problem persisted). The compilation doesn’t go to completion: I receive
[...]
[ 92%] Generating 'pandac' tree
Traceback (most recent call last):
File "direct/src/ffi/jGenPyCode.py", line 74, in <module>
from direct.ffi import DoGenPyCode
File "/Users/flavio/Desktop/psource/panda3d/built/direct/ffi/DoGenPyCode.py", line 11, in <module>
from direct.ffi import FFIConstants
File "/Users/flavio/Desktop/psource/panda3d/built/direct/ffi/FFIConstants.py", line 3, in <module>
from direct.directnotify.DirectNotifyGlobal import *
File "/Users/flavio/Desktop/psource/panda3d/built/direct/directnotify/DirectNotifyGlobal.py", line 3, in <module>
import DirectNotify
File "/Users/flavio/Desktop/psource/panda3d/built/direct/directnotify/DirectNotify.py", line 5, in <module>
import Notifier
File "/Users/flavio/Desktop/psource/panda3d/built/direct/directnotify/Notifier.py", line 6, in <module>
from direct.showbase import PythonUtil
File "/Users/flavio/Desktop/psource/panda3d/built/direct/showbase/PythonUtil.py", line 65, in <module>
import direct.extensions_native.extension_native_helpers
File "/Users/flavio/Desktop/psource/panda3d/built/direct/extensions_native/extension_native_helpers.py", line 81, in <module>
Dtool_PreloadDLL("libpandaexpress")
File "/Users/flavio/Desktop/psource/panda3d/built/direct/extensions_native/extension_native_helpers.py", line 79, in Dtool_PreloadDLL
imp.load_dynamic(module, pathname)
ImportError: dlopen(/Users/flavio/Desktop/psource/panda3d/built/lib/libpandaexpress.dylib, 2): no suitable image found. Did find:
/Users/flavio/Desktop/psource/panda3d/built/lib/libpandaexpress.dylib: mach-o, but wrong architecture
/Users/flavio/Desktop/psource/panda3d/built/lib/libpandaexpress.dylib: mach-o, but wrong architecture
What can I do? Thanks!