This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: OpenGL and GLX
On Wed, 12 Nov 2003, Zbynek Winkler wrote:
> It seems the linker is not using the libraries at all :-(.
> Zbynek
>
> $ g++ -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lGL -Wl,-t
> glxsample.cpp -o glxsample
reorder the arguments:
$ g++ glxsample.cpp -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lGL -o glxsample
--
Alexander.Gottwald@s1999.tu-chemnitz.de
http://www.gotti.org ICQ: 126018723