OpenGL and GLX

Zbynek Winkler zwin@users.sourceforge.net
Wed Nov 12 17:00:00 GMT 2003


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
All the X and glx functions are reported undefined. Am I doing something 
wrong? I've found the thread in cygwin@cygwin.com list about OpenGL but 
that was about linking to the hw accelerated libs. I need to compile 
program written for the glx. Thanks.

Zbynek

-- 
<zw at matfyz.cz>
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: glxsample.cpp
URL: <http://cygwin.com/pipermail/cygwin-xfree/attachments/20031112/ec09eb1e/attachment.ksh>


More information about the Cygwin-xfree mailing list