Lib Linking Problem with GNU GCC in C::B

nobody wrote on Thursday, March 27, 2008:


I am really a newbie and I made a test program similar to that one:

I use Code::Blocks 8.02 as my IDE and I use the GNU GCC Compiler to compile my code.

I linked every .lib I found. I tried all combinations. I read through all those supporting sites.

But eventually I got errors like this one:

…\…\…\…\…\MinGW\lib\glu32.lib: file not recognized: File format not recognized
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 0 seconds)
0 errors, 0 warnings

What can I do to finally get my simple GLFW test program to work??

nobody wrote on Thursday, April 03, 2008:

MinGW static libraries for GLFW are libglfw.a libglu32.a and libopengl32.a it doesnn’t recognize .lib formats.