[FIXED] svn doesn't compile, some OpenGL related error
Posted: 10 Sep 2006, 08:07
Here is what I got when trying to compile. Before it was working - new revisons before...
Code: Select all
make[2]: Entering directory `/home/bernard/projects/tmw/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -DTMW_DATADIR=\""/usr/local/share/tmw/"\" -Wall -Werror -DUSE_OPENGL -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `pkg-config --cflags libxml-2.0` -g -O2 -MT tmw-gui.o -MD -MP -MF ".deps/tmw-gui.Tpo" -c -o tmw-gui.o `test -f 'gui/gui.cpp' || echo './'`gui/gui.cpp; \
then mv -f ".deps/tmw-gui.Tpo" ".deps/tmw-gui.Po"; else rm -f ".deps/tmw-gui.Tpo"; exit 1; fi
In file included from gui/../resources/image.h:29,
from gui/gui.cpp:55:
/usr/include/SDL/SDL_opengl.h:112:1: error: "GL_GLEXT_VERSION" redefined
In file included from /usr/include/GL/gl.h:1630,
from /usr/include/guichan/opengl/openglimage.hpp:68,
from /usr/include/guichan/opengl/openglsdlimageloader.hpp:63,
from gui/../resources/openglsdlimageloader.h:29,
from gui/gui.cpp:34:
/usr/include/GL/glext.h:74:1: error: this is the location of the previous definition