I get the following redefinitions compiling the latest equalizer (3934) on a
Ubuntu 9.10. I use the nvidia-glx-185. On the same setup the 0.9 branch did
compile.
make[1]: Entering directory `/home/lgm5/Equalizer-svn/src/lib'
g++ -I.././build/Linux/include -Wno-deprecated -m64 -fPIC -g -Werror
-DLinux -DGLX -DGLEW_MX -Wall -Wnon-virtual-dtor -Wsign-promo -Wshadow
-Winit-self -Wno-unknown-pragmas -Wno-unused-parameter -Wno-write-strings
-Wno-deprecated -m64 -fPIC -I/usr/X11R6/include -DEQUALIZER_EXPORTS
-DSUBDIR=\"./lib\" -c client/channel.cpp -o
.././obj/Debug/./lib/client/channel.Linux.o
In file included from .././build/Linux/include/eq/client/os.h:51,
from .././build/Linux/include/eq/util/bitmapFont.h:22,
from .././build/Linux/include/eq/client/window.h:27,
from client/channel.h:26,
from client/channel.cpp:18:
/usr/include/GL/glx.h:342: error: conflicting declaration ‘typedef struct
GLXPbufferClobberEvent GLXPbufferClobberEvent’
.././build/Linux/include/GL/glxew.h:274: error: ‘GLXPbufferClobberEvent’ has
a previous declaration as ‘typedef struct GLXPbufferClobberEvent
GLXPbufferClobberEvent’
/usr/include/GL/glx.h:344: error: redefinition of ‘union __GLXEvent’
.././build/Linux/include/GL/glxew.h:275: error: previous definition of
‘union __GLXEvent’
/usr/include/GL/glx.h:347: error: invalid type in declaration before ‘;’
token
/usr/include/GL/glx.h:347: error: conflicting declaration ‘typedef int
GLXEvent’
.././build/Linux/include/GL/glxew.h:278: error: ‘GLXEvent’ has a previous
declaration as ‘typedef union __GLXEvent GLXEvent’
make[1]: *** [.././obj/Debug/./lib/client/channel.Linux.o] Error 1
make[1]: Leaving directory `/home/lgm5/Equalizer-svn/src/lib'
make: *** [lib] Error 2
Can someone give me a hint where to look? Has someone compiled a recent
version on a linux box?
THX Michael
--
View this message in context: http://n2.nabble.com/GLX-glew-redefinition-error-in-client-code-on-Linux-with-SVN-Head-Version-tp4393028p4393028.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
eq-dev mailing list
eq-...@equalizergraphics.com
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com
On 14.01.2010, at 15:56, Michael Luggen <lg...@bfh.ch> wrote:
> Can someone give me a hint where to look? Has someone compiled a
> recent
> version on a linux box?
The problem are different definitions of glxevent in glew and your gl
header files. We had the same issue in the past with other gl
functions. You have to find out where they differ and fix the 'wrong'
definition.
We have tested recently on ubuntu and opensuse 11.2 with no issues, so
I'm afraid I can't help right now.
Hth,
Stefan.
I will dig deeper into the dependencies problems next Monday.
Thanks so far for the answers!
Regards
Michael
--
View this message in context: http://n2.nabble.com/GLX-glew-redefinition-error-in-client-code-on-Linux-with-SVN-Head-Version-tp4393028p4397764.html
Sent from the Equalizer - Parallel Rendering mailing list archive at Nabble.com.
_______________________________________________
Going back to the standard mesa package did the job...
http://n2.nabble.com/file/n4414263/eqOSG.jpg
I appreciate the help.
Kind regards,
Michael
--
View this message in context: http://n2.nabble.com/GLX-glew-redefinition-error-in-client-code-on-Linux-with-SVN-Head-Version-tp4393028p4414263.html