Thank you, I got a successful compile though it’s lacking bullet physics, the third party zip I found didn’t include it. It would be highly unlikely that my version (for other engines) would be in the right directory tree to just include, plus I don’t build libs when using it for Irrlicht or Ogre and it appears those are necessary for the Panda implementation.
I had to move my /opt/local out of the path temporarily as someone else had mentioned. The macports for libcrypto and libssl were creating problems. I edited all -arch x86_64 to -arch i386 in makepanda.py, likewise all _LP64 to i386 plus commented out the ppc lines. Then set the environment variable as follows, on your advice (found it in the other thread).
export VERSIONER_PYTHON_PREFER_32_BIT=yes
I added -osxtarget 10.5 to the end of the makepanda/makepanda.py call. Then the process completed, but there were some warnings that didn’t look healthy (shown below).
It appears (though untested) that my only flaw here is the lack of a current third party library to match the 1.8 compilation. I’ve found various downloads in posts here, but they would be too old to have bullet in particular, perhaps other newer additions. Is there such a current download available or is this something I should be piecing together? I do at least need to address the bullet physics since that is the purpose of this exercise.
[ 32%] Building C++ object built/tmp/p3pnmimagetypes_composite1.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3pnmimagetypes_composite1.o -Ibuilt/tmp -Ibuilt/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Ithirdparty/darwin-libs-a/tiff/include -Ithirdparty/darwin-libs-a/jpeg/include -Ithirdparty/darwin-libs-a/png/include -DMAKEPANDA= -Ipanda/src/pnmimagetypes -Ipanda/src/pnmimage -Wno-deprecated-declarations -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -pthread -msse2 -O2 -DBUILDING_PANDA panda/src/pnmimagetypes/p3pnmimagetypes_composite1.cxx
In file included from thirdparty/darwin-libs-a/jpeg/include/jpeglib.h:24,
from panda/src/pnmimagetypes/pnmFileTypeJPG.h:41,
from panda/src/pnmimagetypes/config_pnmimagetypes.cxx:21,
from panda/src/pnmimagetypes/p3pnmimagetypes_composite1.cxx:1:
thirdparty/darwin-libs-a/jpeg/include/jconfig.h:5:1: warning: "HAVE_PROTOTYPES" redefined
In file included from built/include/dtoolbase.h:109,
from built/include/pandabase.h:22,
from panda/src/pnmimagetypes/config_pnmimagetypes.h:18,
from panda/src/pnmimagetypes/config_pnmimagetypes.cxx:15,
from panda/src/pnmimagetypes/p3pnmimagetypes_composite1.cxx:1:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:456:1: warning: this is the location of the previous definition
In file included from thirdparty/darwin-libs-a/jpeg/include/jpeglib.h:24,
from panda/src/pnmimagetypes/pnmFileTypeJPG.h:41,
from panda/src/pnmimagetypes/config_pnmimagetypes.cxx:21,
from panda/src/pnmimagetypes/p3pnmimagetypes_composite1.cxx:1:
thirdparty/darwin-libs-a/jpeg/include/jconfig.h:12:1: warning: "HAVE_STDLIB_H" redefined
In file included from built/include/dtoolbase.h:109,
from built/include/pandabase.h:22,
from panda/src/pnmimagetypes/config_pnmimagetypes.h:18,
from panda/src/pnmimagetypes/config_pnmimagetypes.cxx:15,
from panda/src/pnmimagetypes/p3pnmimagetypes_composite1.cxx:1:
/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6/pyconfig.h:592:1: warning: this is the location of the previous definition
[ 32%] Building C++ object built/tmp/p3pnmimagetypes_composite2.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3pnmimagetypes_composite2.o -Ibuilt/tmp -Ibuilt/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -Ithirdparty/darwin-libs-a/tiff/include -Ithirdparty/darwin-libs-a/jpeg/include -Ithirdparty/darwin-libs-a/png/include -DMAKEPANDA= -Ipanda/src/pnmimagetypes -Ipanda/src/pnmimage -Wno-deprecated-declarations -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -pthread -msse2 -O2 -DBUILDING_PANDA panda/src/pnmimagetypes/p3pnmimagetypes_composite2.cxx
In file included from panda/src/pnmimagetypes/p3pnmimagetypes_composite2.cxx:2:
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx: In constructor ‘PNMFileTypeTIFF::Reader::Reader(PNMFileType*, std::istream*, bool, std::string)’:
panda/src/pnmimagetypes/pnmFileTypeTIFF.cxx:538: warning: comparison is always false due to limited range of data type
In file included from panda/src/pnmimagetypes/p3pnmimagetypes_composite2.cxx:3:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx: In function ‘void pgm_readpgminitrest(std::istream*, int*, int*, gray*)’:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:261: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx: In function ‘void pgm_writepgminit(std::ostream*, int, int, gray, int)’:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:552: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:559: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx: In function ‘void ppm_writeppminit(std::ostream*, int, int, pixval, int)’:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:573: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:580: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx: In function ‘void pgm_writepgmrow(std::ostream*, gray*, int, gray, int)’:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:809: warning: comparison is always false due to limited range of data type
panda/src/pnmimagetypes/pnmFileTypePNM.cxx: In function ‘void ppm_writeppmrow(std::ostream*, pixel*, int, pixval, int)’:
panda/src/pnmimagetypes/pnmFileTypePNM.cxx:896: warning: comparison is always false due to limited range of data type
In file included from panda/src/pnmimagetypes/p3pnmimagetypes_composite2.cxx:6:
panda/src/pnmimagetypes/pnmFileTypeSGIWriter.cxx: In member function ‘virtual bool PNMFileTypeSGI::Writer::write_header()’:
panda/src/pnmimagetypes/pnmFileTypeSGIWriter.cxx:157: warning: comparison is always true due to limited range of data type
and
[ 48%] Building Objective-C++ object built/tmp/p3osxdisplay_osxGraphicsWindow.o
g++ -ftemplate-depth-30 -fPIC -c -o built/tmp/p3osxdisplay_osxGraphicsWindow.o -Ibuilt/tmp -Ibuilt/include -I/System/Library/Frameworks/Python.framework/Versions/2.6/include/python2.6 -I/usr/X11R6/include -DMAKEPANDA= -Ipanda/src/osxdisplay -Wno-deprecated-declarations -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -pthread -msse2 -O2 -DBUILDING_PANDAGL panda/src/osxdisplay/osxGraphicsWindow.mm
In file included from panda/src/osxdisplay/osxGraphicsWindow.mm:26:
built/include/glgsg.h:77:1: warning: "GL_GLEXT_VERSION" redefined
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:140,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from panda/src/osxdisplay/osxGraphicsWindow.mm:18:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:181:1: warning: this is the location of the previous definition
In file included from built/include/glgsg.h:86,
from panda/src/osxdisplay/osxGraphicsWindow.mm:26:
built/include/panda_glext.h:3142:1: warning: "GL_LINES_ADJACENCY_EXT" redefined
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:140,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from panda/src/osxdisplay/osxGraphicsWindow.mm:18:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:1492:1: warning: this is the location of the previous definition
In file included from built/include/glgsg.h:86,
from panda/src/osxdisplay/osxGraphicsWindow.mm:26:
built/include/panda_glext.h:3143:1: warning: "GL_LINE_STRIP_ADJACENCY_EXT" redefined
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:140,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from panda/src/osxdisplay/osxGraphicsWindow.mm:18:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:1493:1: warning: this is the location of the previous definition
In file included from built/include/glgsg.h:86,
from panda/src/osxdisplay/osxGraphicsWindow.mm:26:
built/include/panda_glext.h:3144:1: warning: "GL_TRIANGLES_ADJACENCY_EXT" redefined
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:140,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from panda/src/osxdisplay/osxGraphicsWindow.mm:18:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:1494:1: warning: this is the location of the previous definition
In file included from built/include/glgsg.h:86,
from panda/src/osxdisplay/osxGraphicsWindow.mm:26:
built/include/panda_glext.h:3145:1: warning: "GL_TRIANGLE_STRIP_ADJACENCY_EXT" redefined
In file included from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/gl.h:65,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSOpenGL.h:9,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:140,
from /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:13,
from panda/src/osxdisplay/osxGraphicsWindow.mm:18:
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/OpenGL.framework/Headers/glext.h:1495:1: warning: this is the location of the previous definition