Author Topic: Linking to GLUT  (Read 3550 times)

Tao

  • Guest
Linking to GLUT
« on: September 09, 2013, 12:43:22 am »
I'm a new user to [Windows] CodeBlocks. I set up a GLUT project in CB, my include headers being
Code
#include <GL/glew.h>
#include <GL/glut.h>
#include <GL/gl.h>

I linked to glut32.lib, glew32.lib, glew32s.lib and libglu32.lib. I'm getting undefined reference errors for all GLUT functions. What are some possible problems and things to try?

Offline oBFusCATed

  • Developer
  • Lives here!
  • *****
  • Posts: 13413
    • Travis build status
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]