I've been attempting to install glew in order to run Spring in linux. However, I've run into a snag. When I try and run make on the makefile in the glew directory I get the following error:
cc -shared -Wl,-soname=libGLEW.so.1.3 -o lib/libGLEW.so.1.3.5 src/glew.pic_o -L/usr/X11R6/lib -lXmu -lXi -lGLU -lGL -lXext -lX11
/usr/bin/ld: cannot find -lXi
collect2: ld returned 1 exit status
make: *** [lib/libGLEW.so.1.3.5] Error 1
Any suggestions on how I might go about resolving this?
trouble installing glew on FC6 64 bit
Moderator: Moderators
-
- Posts: 665
- Joined: 06 Jun 2006, 19:49
Real question is why u not using a prebuilt rpm ?
All i know is /usr/X11R6/lib/libXi.so is an xorg / x11 shared library
Hope it helps
edit the error u get is it unable to find the above lib Xi
All i know is /usr/X11R6/lib/libXi.so is an xorg / x11 shared library
Hope it helps
edit the error u get is it unable to find the above lib Xi
Last edited by hollowsoul on 28 Feb 2007, 00:40, edited 1 time in total.
I googled for you, and stumbled into a comment about using GCC 3.3x to compile it. I think the latest dev may compile with GCC 4.x im not sure someone did say but I can't test it
(on x86 despite my amd64).
http://glew.sourceforge.net/index.html
Try a stable release or if all else fails try current development version from cvs/svn whatever is used.
Have you checked you have all the development packages first before compiling?
(on x86 despite my amd64).
http://glew.sourceforge.net/index.html
Try a stable release or if all else fails try current development version from cvs/svn whatever is used.
Have you checked you have all the development packages first before compiling?