Re: [PyOpenGL-Users] Re: PyOpenGl with Python2.4 on MacosX 10.3? (israel evans)
Brought to you by:
mcfletch
From: Dave P. <de...@bu...> - 2004-12-06 18:13:06
|
I haven't tried compiling pyopengl, but I've built some other GLUT-based programs under OSX 10.2, so possibly this will help - GL & GLUT libraries are installed with the Apple developers package; this should still be the case with the new "Xcode" for 10.3. The one difference, compared to other Unix systems, is the location of the header files; the #include lines had to change to #include <OpenGL/gl.h> #include <OpenGL/glu.h> #include <GLUT/glut.h> To link with the libraries, I had to add -framework GLUT -framework GL -lobjc to the end of the gcc command line. That was for building executables, but you might need to do something similar somewhere to get the pyopengl modules to work. On Mon, 6 Dec 2004, israel evans wrote: > > I really want to install pygame, but that requires pyopengl and building that > on my own requires a larger number of libraries and such and I'm currently > stuck on the whole providing the GL, GLU, and GLUT headers to PyOpenGL during > the building process. -- Dave Pape Assistant Professor dav...@ac... Department of Media Study http://resumbrae.com/ University at Buffalo |