This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: OpenGL and GLX
- From: Alexander Gottwald <alexander dot gottwald at s1999 dot tu-chemnitz dot de>
- To: cygwin-xfree at cygwin dot com
- Date: Wed, 12 Nov 2003 18:12:00 +0100 (MET)
- Subject: Re: OpenGL and GLX
- References: <3FB2671B.9040209@users.sourceforge.net>
- Reply-to: cygwin-xfree at cygwin dot com
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