Mesa Application Makefile

Michael Schmitz schmitz at opal.biophys.uni-duesseldorf.de
Mon Oct 23 03:10:30 EST 2000


> GLUT = /usr/lib/libglut.so.3.7.0
>
> LIBPATH = -L/usr/X11R6/lib -L/usr/local/lib
> XLIBS =  -L/usr/X11R6/lib -lXext -lX11
>
> GLLIBS = -lMesaGLU -lMesaGL $(XLIBS)
>
> [mnorton at b9 console]#make
> gcc     -I/usr/X11R6/include -I/usr/include/GL  -o     gameCon glConsole.o      -lMesaGLU -lMesaGL -L/usr/X11R6/lib -lXext -lX11   /usr/lib/libglut.so.3.7.0
> /usr/bin/ld: cannot find -lMesaGLU
> collect2: ld returned 1 exit status
> make: *** [gameCon] Error 1
>
>
> What am I doing wrong? What is missing from my Makefile?

-L/path/to/libMesaGLU perhaps? Add it in front of your GLLIBS def.

	Michael


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list