OpenGL and GLX

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


On Wed, 12 Nov 2003, Zbynek Winkler wrote:

> Hello,
> 
> Is it possible to compile programs using GLX under cygwin? I am trying 
> to compile the attached example with command
> g++ -I/usr/X11R6/include -L/usr/X11R6/lib -lX11 -lGL glxsample.cpp -o 
> glxsample

It works for me (XFree86-prog 4.3.0-6)

Maybe the linker is using the wrong library? You can list the libraries
used by adding the switch -Wl,-t to the compiler options.

bye
	ago
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list