This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
OpenGL program under Cygiwn/XFree86
- From: Wang Yi <cxwangyi at ieee dot org>
- To: cygwin-xfree at cygwin dot com
- Date: Tue, 09 Jul 2002 19:58:10 +0800
- Subject: OpenGL program under Cygiwn/XFree86
- Organization: Database group, Software Institute, Department of Computer Science,Tsinghua University, Beijing, P.R.China
- Reply-to: cxwangyi at ieee dot org
I am trying to compile a simple glX/OpenGL program under Cygwin/XFree86.
The building process is OK. But the glXChooseVisual always returns NULL
at runtime.
This program has been compiled under many UNIX environments and runs
properly.
I have changed the attributed array passed to glXChooseVisual many
times, but it still does not work.
I use the header files at /usr/X11R6/include and libraries of
/usr/X11R6/lib/libGL.a and libGLU.a.
Cygwin/XFree86 does support OpenGL, right?
Cound anyone send me a simple model OpenGL program which can be built
and run under Cygwin/XFree86?
Thanks a lot.