PDA

View Full Version : DEV-C++



Marcelo
07-04-2002, 09:06 AM
Please,
I'm a beginner in OPENGL and I couldn't
link a simple program with glut.h.
How to implent glut in DEV-C++

Thanks!!!

mikael_aronsson
07-04-2002, 11:56 AM
Hi !

I guess you mean glut.lib ?, if you have a late version of gcc (that's the C/C++ compiler that DevCPP use) it can handle .lib files, older versions can only handle .a files. Could please give some more details about what happens when you compile/link your application, what kind of error message do you get ?

Mikael

07-08-2002, 04:29 AM
\Dev-C++\Include\Gl\readme.txt has all the info about how to link them

basically you type "-lopengl32 -lglu32" into the linker options (options->compiler options)