[PyOpenGL-Devel] [ pyopengl-Patches-1024124 ] freeglut lacks GLUT_XLIB_IMPLEMENTATION on fedora
Brought to you by:
mcfletch
From: SourceForge.net <no...@so...> - 2004-09-11 21:45:27
|
Patches item #1024124, was opened at 2004-09-07 23:09 Message generated for change (Comment added) made by mcfletch You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=1024124&group_id=5988 Category: GLUT Group: v2.1 >Status: Pending Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Mike C. Fletcher (mcfletch) Summary: freeglut lacks GLUT_XLIB_IMPLEMENTATION on fedora Initial Comment: i added to "glut.h" from freeglut-2.2.0 on fedora: #define GLUT_XLIB_IMPLEMENTATION 15 because only GLUT_API_VERSION is defined and then all worked fine ( PyCg :) ) perhaps something like #ifdef __FREEGLUT_STD_H__ #define GLUT_XLIB_IMPLEMENTATION 15 #endif is needed somewhere ? paul ( ad...@ro... ) ---------------------------------------------------------------------- >Comment By: Mike C. Fletcher (mcfletch) Date: 2004-09-11 17:45 Message: Logged In: YES user_id=34901 I'd prefer to make it a functional test, so: #ifndef GLUT_XLIB_IMPLEMENTATION #define GLUT_XLIB_IMPLEMENTATION 15 #endif but I'd rather not do that without knowing what is going on. You see, the definition of GLUT_XLIB_IMPLEMENTATION is: #define GLUT_XLIB_IMPLEMENTATION API_VERSION in glut.i *of PyOpenGL*, so the most likely reason for failure is that compilation of the API-version test-script has failed due to not finding freeglut headers/libraries. I checked in a fix yesterday that may very well have fixed this problem, basically it just adds the configured lib and header libraries to the API-version test-script compilation. Marking this pending for right now, as if my guess is correct it should be fixed by that change. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=305988&aid=1024124&group_id=5988 |