-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 - -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Mar 16, 2006, at 9:53 AM, Graham Cummins wrote: > > I've been having a beast of a time trying to build PyOpenGL on Mac > recently. My last successful build was 2.0.1.09, and currently I > can't even repeat that. > > from src/interface/GL.3DFX._multisample.c:6: > /System/Library/Frameworks/Kernel.framework/Headers/sys/stat.h:225: > error: field 'st_atimespec' has incomplete type Never mind, I've answered my own question. This error is caused by having /System/Library/Frameworks/Kernel.frameworks/Headers in the "include_dirs" defined in config/darwin.cfg. It seems that this causes Python.h to include the wrong stat.h. Removing that line fixes that issue. I got some other errors from files using #include <GL/glext.h>, but I was able to solve those with a (very) nasty hack of symlinking / System/Library/Frameworks/OpenGL.framework/Headers into itself under the alternate name "GL". I was still not able to compile 2.1.2.01, but I with these two modifications I could compile 2.0.1.09 for intel macintosh using gcc-4.0, which is good enough for me for now. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEGg5Dm4P5KE2ufQoRAnK7AJ9KfcCmJswfuild01nzsIRSLEpvpgCeO2an VmGG0Zu4Q0td7+mPKJ24UNM= =aDYp - -----END PGP SIGNATURE----- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (Darwin) iD8DBQFEGg6Gm4P5KE2ufQoRApY6AKCCnKhqrsRrYbgcyOabKA3d0oy4PwCeI7BT 45GzWqMiRwSNeIYjnoMWVz0= =x7kB -----END PGP SIGNATURE----- _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org http://mail.python.org/mailman/listinfo/pythonmac-sig