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 sdl_video.o
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:
>
>
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
An
3 matches
Mail list logo