Re: Compiling mesa demos 8.0.1
Brian Paul <[email protected]>
| Newsgroups | gmane.comp.video.mesa3d.user |
|---|---|
| Message-ID | <[email protected]> |
On 04/09/2011 01:29 AM, janemba wrote: > Hello, > > I installed MesaLib-7.10.2 and MesaGlut-7.10.2 for a x64 architecture. Now I'm trying to > install Mesa-demos-8.0.1 but at make step I have the following error : > > ---- > prim.o: In function `Key': > /tmp/mesa-demos-8.0.1/src/tests/prim.c:106: undefined reference to `__glewProvokingVertexEXT' > collect2: ld returned 1 exit status > make[3]: *** [prim] Error 1 > make[2]: *** [all] Error 2 > make[1]: *** [all-recursive] Error 1 > make: *** [all-recursive] Error 1 > ---- > > So I made the following check : > >> grep -rn 'glewProvokingVertexEXT' /usr/include > /usr/include/GL/glew.h:6920:#define glProvokingVertexEXT GLEW_GET_FUN(__glewProvokingVertexEXT) > /usr/include/GL/glew.h:12335:GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT; > > >> find / -iname 'libGLEW*' -type f 2>/dev/null > /usr/lib64/libGLEW.a > /usr/lib64/libGLEW.so.1.5.1 > /usr/lib/libGLEW.a > /usr/lib/libGLEW.so.1.5.1 > > > > To configure mesa-demos I launch the following command : > >> LDFLAGS="-L/usr/lib64" ./configure --prefix=/usr --libdir=/usr/lib64 > > In attachment you can see my config.log file. > > Do you know how to resolv this problem ? > > PS: Feel free to ask me others log file. You may need to upgrade your GLEW. I seem to recall seeing this problem a while back with an older version of GLEW. -Brian