[PyOpenGL-Devel] compiling pyopengl with freeglut
Brought to you by:
mcfletch
From: enrike <al...@gm...> - 2006-06-17 17:50:37
|
hi >> we are working on a live cd linux distro and we need to have PyOpengl >> some other python graphics stuff. We are trying to compile pyOpenGL >> but.since we want to use free alternatives such as freeglut or >>openglut >>> we dont get it to compile properly. > >> Has anyone managed to get PyOpenGL to work together with freeglut or >> openglut so far? if so are there any wikis, documentation we could >> check, or any tips about the process? >> > There are patches in current CVS for building with FreeGLUT. They are > also available in the patch tracker on SourceForge. thanks for your answer mike. We included the line suggested by the patch on the glut.h file but the compiler doesnt like it very much. I am not sure that we understood how to apply your patch Below is the output of the compiler many thanks In file included from /opt/ixi/include/GL/glut.h:18, from src/interface/../config.h:103, from src/interface/_GLUT.c:7: /opt/ixi/include/GL/freeglut_std.h:109:1: warning: "GLUT_XLIB_IMPLEMENTATION" redefined In file included from src/interface/../config.h:103,from src/interface/_GLUT.c:7: /opt/ixi/include/GL/glut.h:3:1: warning: this is the location of the previous definition In file included from src/interface/_GLUT.c:10: src/interface/_GLUT.0014.inc:472: warning: function declaration isn't a prototype src/interface/_GLUT.0014.inc: In function `SWIG_Python_ConvertPtr': src/interface/_GLUT.0014.inc:737: warning: suggest explicit braces to avoid ambiguous `else' src/interface/_GLUT.0014.inc: At top level: src/interface/_GLUT.0014.inc:1266: warning: function declaration isn't a prototype src/interface/_GLUT.0014.inc:1314: warning: function declaration isn't a prototype - enrike |