I’m a beginner in OPENGL and I couldn’t
link a simple program with glut.h.
How to implent glut in DEV-C++


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 ?


\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)