From: Darrell B. <dar...@ed...> - 2004-08-20 09:21:06
|
I've just installed Msys and Mingw in Windows because I'm wanting to port my SDL game to Windows. I installed Msys and Mingw as normal and added mingw to my msys fstab and then I untarred the SDL source did "./configure --prefix=/mingw && make && make modules install". I can compile normal SDL programs fine but when it comes to a program using OpenGL I get an error like "Can't find -LGL" or "Can't find -GL". I'm compiling the program like "g++ program.cpp -o program -lGL -lGLU `sdl-config --cflags --libs`". I know normally that this mean I havn't got the OpenGL libraries or headers installed but in /usr/include/GL there exists gl.h, glu.h and glext.h so I know it's not the headers. I've had a look for libgl.so which is what I think the file I need is but I can't find it. In /usr/lib there are lots of .a files one of which I believe is libglext.a or something like that but there isn't a libgl.a. Any ideas? |