OSX 10.7 Lion Error

can anyone tell me why I get this error when I build on OSX lion 10.7

can’t figure out the architecture type
“lipo: can’t figure out the architecture type of: /var/folders/s4/55z3sdpn3_q4w1b16q82yh6r0000gn/T//ccX9S8gU.out”

Thanks!

Please post the full error messages and the command leading up to it.

Ok I realized I accidentally downloaded 1.7.0 not 1.7.2 src. This time I compiled again and got the following error using the the command below.

$ python makepanda/makepanda.py --everything --no-openssl 
 
Referencing Library libegg2pg
[ 44%] Linking dynamic library built/lib/libpandaegg.dylib
[ 44%] Building C++ object built/tmp/mesadisplay_composite.o
[ 45%] Linking dynamic library built/lib/libpandamesa.dylib
[ 45%] Building C++ object built/tmp/osxdisplay_composite1.o
In file included from panda/src/osxdisplay/osxdisplay_composite1.cxx:4:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx: In member function ‘OSStatus osxGraphicsStateGuardian::build_gl(bool, bool, FrameBufferProperties&)’:
panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:189: error: ‘GetMainDevice’ was not declared in this scope
Storing dependency cache.
Elapsed Time: 22 min 58 sec

Build terminated.

Let me know what you think.

Hi!

Does anyone know where to find solution of this problem?

panda/src/osxdisplay/osxGraphicsStateGuardian.cxx:189: error: ‘GetMainDevice’ was not declared in this scope 

I see that people mention it but I don’t see a good answer

Hi, welcome to the forums!

The error occurs because Panda 1.8 doesn’t support building on 64-bits Mac OS X. I’ve recently checked in support for 64-bits OS X to the CVS trunk, though. Check out this experimental build:
rdb.name/Panda3D-1.9.0.dmg
It’s 64-bits, compiled against Python 2.7.

If you want to build Panda from source, be sure to get the latest CVS HEAD.

Thank you very much!
It works perfectly (including bullet)!
I’m so glad that I found good python game engine that works everywhere! Before I used python-ogre, but it is a pain on linux and there is no hope to see it on 64 macs as I understood.