opengl32 and glu

C++User
Posts: 4
Joined: Thu Jun 05, 2008 2:09 pm

opengl32 and glu

Post by C++User »

Hi for all

I've converted the projects of bullet physics to run in CodeBlocks with MinGW. I'm using CMake to do this.
CMake complains about these 2 libs: opengl32 and glu. I've noticed Bullet doesn't come with these, just with glut32.lib.
When I compile the project named AllBulletDemos. it goes until 90% and the CodeBlocks starts to complain about undefined references. See below some of them:

Code: Select all

...
undefined reference to glutSwapBuffers@0
undefined reference to _imp__glVertex2i
...
Even linking the libopengl32.a, libglu.a, glut32.lib it continues to complain.
Except the glut32.lib, the others comes from the MinGW.
Someone can help?

thanks a lot.