___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Bob E
Hello,   I have been trying to compile a SDL/OpenGL program.  The program works under linux, and I am able to get single-file OpenGL/SDL programs to compile and run with cygwin.  When linking multiple files however, I get this strange errors:   gcc  -g   view3ds.o gl_video.o sdl_event.o

Re: ___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Suresh Venkatasubramanian
On Tue, 25 Nov 2003, Bob E wrote: Hello,   I have been trying to compile a SDL/OpenGL program.  The program works under linux, and I am able to get single-file OpenGL/SDL programs to compile and run with cygwin.  When linking multiple files however, I get this strange errors:   gcc  -g  

Re: ___getreent error when compiling OpenGL/SDL program using gcc

2003-11-25 Thread Andre Bleau
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