[Gllug] library includes and compiling
Anthony Baldwin
ab at spkypc.demon.co.uk
Tue Jan 8 12:41:00 UTC 2002
you could link the open GL library in the defualt search path
of gcc - say in /lib. not a great idea really.
or try editing the specs file for gcc.
or make gcc an alias.
/Anthony/
-----Original Message-----
From: gllug-admin at linux.co.uk [mailto:gllug-admin at linux.co.uk]On Behalf
Of Jonathan Dye
Sent: 08 January 2002 11:25
To: gllug at linux.co.uk
Subject: [Gllug] library includes and compiling
I'm trying to compile against the OpenGL libraries in /usr/X11R6/lib by
doing
gcc source.c -lGL
but it doesn't find them. I have /usr/X11R6/lib in /etc/ld.so.conf and
I've run ldconfig. I guess that this is related to run-time linking though
rather than compile-time linker search directories because it doesn't help.
I can compile using
gcc source.c -L/usr/X11R6/lib -lGL
but I was hoping to aviod this if possible.
Can anyone help?
JD
_____________________________________________________________________
This message has been checked for all known viruses by the
MessageLabs Virus Scanning Service
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list