When I excute $GLUT_HOME/make there are some error


When I install glut-3.6 for Linux refer to README. In setp 6, excute $GLUT_HOME/make. It Output some error as below:

gcc -m32 -O2 -pipe -march=i386 -mcpu=i686 -fno-strength-reduce -fno-strict-aliasing -pipe -I…/…/lib/glut -I…/…/…/include -I…/…/include -I/usr/X11R6/include -Dlinux -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE -DFUNCPROTO=15 -DNARROWPROTO -c -o test1.o test1.c
make[2]: *** No rule to make target ../../lib/glut/libglut.so', needed by test1’. Stop.
make[2]: Leaving directory /usr/local/glut/test/glut' make[1]: *** [all] Error 2 make[1]: Leaving directory /usr/local/glut/test’
make: *** [all] Error 2

I tried to install glut-3.7 that have the same problem. How to solve it??

Why are you trying to compile from source? Just get the glut and glut-dev packages for your distribution.

I have the same trouble, when I forgot to do

  1. Make two symbolic links:

    ln -s libglut.so.3.6 libglut.so.3
    ln -s libglut.so.3.6 libglut.so

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.