User forums > Using Code::Blocks

Linking GLUT32 with C::B

<< < (2/2)

kostyabkg:
Happy days!!!
I downloaded glut devpack from Dev-C++ packs server and everything worked, then I copied glut.h and libglut32.a to the same directories of CodeBlocks, linked as it's done in Dev-C++ and everything worked.
I put .h and .a files in an archive, added readme and put it online in case somebody else would ever face the same problem. Here is the link:
http://www.geocities.com/kostyabkg/GLUT_mingw32.zip

Thank you for all the help!

P.S. The template that ships with C::B doesn't work with GLUT, but uses Win32 API, the same is true for NeHe lessons.
P.P.S. I discovered that C::B can download Dev-C++ packs as well! Good work, guys!

sethjackson:

--- Quote from: kostyabkg on March 04, 2006, 06:48:51 pm ---P.S. The template that ships with C::B doesn't work with GLUT, but uses Win32 API, the same is true for NeHe lessons.

--- End quote ---

Of course it won't work "out of the box" it was not intended too. :D I think it will work with some tinkering though.  :wink:

Navigation

[0] Message Index

[*] Previous page

Go to full version