[Anjuta-list] anjuta and opengl



Hi all

I was trying to solve this by google, but I was unsuccesfull, so I ask you.

I was to do some opengl apps with anjuta but I'm unable to set up libraries
correctly. I put in Settings->Compiler and Linker Settings->Libraries
libraries I need: GL, GLU, glut. But when I compile the project I get this

make[2]: Entering directory `/home/tibor/Projects/opengl/src'
/bin/sh ../libtool --mode=link g++  -g -O2  -o opengl  main.o -lGL -lGLU
-lglut
libtool: link: cannot find the library `/usr/X11R6/lib/libGL.la'

I don't have any file named libGL.la, I have libGL.so (I have nvidia drivers, 
not MESA). But I have everything I need for the program, becouse I can 
compile it in console
with

g++  -g -O2  -o opengl  main.o -lGL -lGLU -lglut

and it works fine. But how to set up anjuta?

I'm not very experienced user, i think solutions is surely simple but i can't
find it. Don't say me to use MESA, becouse I don't want it.

Thanks

Tibor




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]