LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   GLEW won't build? (https://www.linuxquestions.org/questions/linux-software-2/glew-wont-build-898664/)

marek3571 08-21-2011 03:57 PM

GLEW won't build?
 
Hi,
I'm trying to get glew to build, but for some reason it just doesn't want to work. Here's the output I get from make:

cc -shared -Wl,-soname=libGLEW.so.1.6 -o lib/libGLEW.so.1.6.0 src/glew.pic_o -L/usr/X11R6/lib64 -lXmu -lXi -lGLU -lGL -lXext -lX11
/usr/bin/ld: cannot find -lXmu
/usr/bin/ld: cannot find -lXi
/usr/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make: *** [lib/libGLEW.so.1.6.0] Error 1

I'm using Linux Mint Debian with gnome, 64 bit. I'm pretty new to linux and I'm still getting used to the build system, so I have no idea what these errors mean. Can anyone help?

weibullguy 08-21-2011 04:34 PM

It means exactly what it says. It can't find the libXmu, libXi, and libGLU libraries. You need to install them and their development packages. Use you package manager to install them. Depending on what graphics driver you're using, libGLU will most likely be provided by Mesa.

marek3571 08-21-2011 04:47 PM

Thank you! After installing the packages glew build fine.


All times are GMT -5. The time now is 08:45 PM.