User forums > Using Code::Blocks
Linking to GLUT
(1/1)
Tao:
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>
--- End code ---
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?
oBFusCATed:
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
Navigation
[0] Message Index
Go to full version