Thank you... I don't know why I didn't think of this.
Scott J. Vaverchak
On Tue, Jul 17, 2001 at 12:02:43AM -0400, Ari Pollak wrote:
> Add "-L/usr/X11R6/lib" to the gcc command line. This will add
> /usr/X11R6/lib to the library path, because this is where libX11.so/.a
> is located.
>
> --
>
Add "-L/usr/X11R6/lib" to the gcc command line. This will add
/usr/X11R6/lib to the library path, because this is where libX11.so/.a
is located.
--
___ ___
/ _ | / _ \ Ari Pollak - [EMAIL PROTECTED] - www.aripollak.com
/ __ |/ ___/
/_/ |_/_/ A man needs a good memory after he
Ok this is what happened:
I ran "gcc Concept1.c -I. -I/usr/include/GL/glut.h
-L/usr/local/lib -lglut -lGL -lGLU -lm -lX11 -lXext -lXmu -libXi
-o Concept1"
And got this for an error:
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make: *** [Concept1] Error 1
So I did
3 matches
Mail list logo