This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: ___getreent error when compiling OpenGL/SDL program using gcc
- From: Andre Bleau <bleau at igb dot umontreal dot ca>
- To: cygwin at cygwin dot com
- Date: Tue, 25 Nov 2003 14:40:11 -0500
- Subject: Re: ___getreent error when compiling OpenGL/SDL program using gcc
Bob E wrote:
...
gcc? -g?? view3ds.o gl_video.o sdl_event.o sdl_video.o
object.o? -o view3ds -lgl
ut32 -lopengl32 -lGLU32 -lopengl32 `sdl-config
--cflags --libs` -lm
...
1- Move -lglut32 -lGLU32 -lopengl32 (in _that_ order) after `sdl-config ...`
2- Remove the extra -lopengl32
3- Remove -lm
André Bleau, Cygwin's OpenGL package maintainer.
Please address all questions and problem reports about Cygwin's OpenGL
package to cygwin@cygwin.com .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/