This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]