error: redefinition of `GLXFBConfigSGIX'
Code:
cc -c -I../libvo -I../../libvo -I/usr/X11/include -fno-PIC -O4 -march=pentium4 -mcpu=pent How can I get rid of it? Thanks. |
Do you have the X dev packages installed?
|
Ok, I've just installed x11-devel. Will try to compile again...
|
Thanks, trickykid, now works.
|
Hi! I got the same problem compiling freeglut: http://freeglut.sourceforge.net
in order to install vdrift: http://vdrift.sourceforge.net The x11-devel package is installed. |
Quote:
|
:D
bash-3.00$ make make all-recursive make[1]: Entering directory `/home/def/freeglut-2.4.0/freeglut-2.4.0' Making all in src make[2]: Entering directory `/home/def/freeglut-2.4.0/freeglut-2.4.0/src' source='freeglut_callbacks.c' object='libglut_la-freeglut_callbacks.lo' libtool=yes \ depfile='.deps/libglut_la-freeglut_callbacks.Plo' tmpdepfile='.deps/libglut_la-freeglut_callbacks.TPlo' \ depmode=gcc3 /bin/sh ../depcomp \ /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -g -O2 -Wall -pedantic -Werror -c -o libglut_la-freeglut_callbacks.lo `test -f freeglut_callbacks.c || echo './'`freeglut_callbacks.c rm -f .libs/libglut_la-freeglut_callbacks.lo gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/usr/X11R6/include -g -O2 -Wall -pedantic -Werror -c freeglut_callbacks.c -MT libglut_la-freeglut_callbacks.lo -MD -MP -MF .deps/libglut_la-freeglut_callbacks.TPlo -fPIC -DPIC -o .libs/libglut_la-freeglut_callbacks.lo In file included from /usr/X11R6/include/GL/glx.h:336, from freeglut_internal.h:95, from freeglut_callbacks.c:29: /usr/X11R6/include/GL/glxext.h:267: error: redefinition of `GLXFBConfigSGIX' /usr/X11R6/include/GL/glx.h:156: error: `GLXFBConfigSGIX' previously declared here make[2]: *** [libglut_la-freeglut_callbacks.lo] Erreur 1 make[2]: Leaving directory `/home/def/freeglut-2.4.0/freeglut-2.4.0/src' make[1]: *** [all-recursive] Erreur 1 make[1]: Leaving directory `/home/def/freeglut-2.4.0/freeglut-2.4.0' make: *** [all] Erreur 2 |
All times are GMT -5. The time now is 05:10 PM. |