OpenGL and GLX

Alexander Gottwald alexander.gottwald@s1999.tu-chemnitz.de
Wed Nov 12 17:28:00 GMT 2003


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



More information about the Cygwin-xfree mailing list