PDA

View Full Version : Win32 Mingw...



RedRose
08-09-2005, 03:17 PM
I'm Totally New To This, i have mingw for win32, and i know it has 3 GL headers... Do I need to download more to do opengl programming, and how do i compile, do i need to include lib's?

MzW
08-09-2005, 04:18 PM
yes you should add libs or dlls
if not you can't link success

mikael_aronsson
08-10-2005, 07:49 AM
Hi !

I think the import libraries comes with the standard mingw installation so you need to add the gl and maybe the glu library if you use it like:

gcc myfile.c -lglu32 -lopengl32 ...

You should have the files libopengl32.a and libglu32.a in your ./lib directory.

Mikael