-lGLU
hy!
everything is workin fine but if i want to compile a program unter linux where a -lGLU flag is needed there comes an error!
>>>>>>>>>>>
gcc -Wall -ansi lesson03.c -o lesson03 -lGL -lGLU `sdl-config --cflags --libs`
/usr/i386-slackware-linux/bin/ld: cannot find -lGLU
collect2: ld returned 1 exit status
make: *** [all] Error 1
<<<<<<<<<<<
thx for your help!
--------
ts0
--------ts0
after the file name add -B /usr/X11R6/lib
--------------------------Nukemmsn: nukem996@hotmail.comaim: nukem996open source open mind
First work out where you GLU is installed:
locate libGLU
Then add to these switches at compile time:
-L/path/to/librarys/ -lGLU
locate libGLU
Then add to these switches at compile time:
-L/path/to/librarys/ -lGLU
thanks!
i have problems installing glut under linux!
is there one single script/... so that i can install all needed libraries for glut and install glut in one command?
like apt-get (debian)?
or do i have to install every single library itself?
THANKS!
--------
ts0
i have problems installing glut under linux!
is there one single script/... so that i can install all needed libraries for glut and install glut in one command?
like apt-get (debian)?
or do i have to install every single library itself?
THANKS!
--------
ts0
--------ts0
to install glut download the mesa source and compile it, go through it and pick out the files you need and copy them to where you want them (prolly /usr/X11R6/lib etc...)
or at least that is what I had to do, i couldnt find the source for glut anywhere else, it seems to be old and not used that much anymore.
or at least that is what I had to do, i couldnt find the source for glut anywhere else, it seems to be old and not used that much anymore.
but glut needs about 5-8 libraries to be successfully installed!
--------ts0
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement