Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Tao on September 09, 2013, 12:43:22 am

Title: Linking to GLUT
Post by: Tao 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?
Title: Re: Linking to GLUT
Post by: oBFusCATed on September 09, 2013, 01:46:06 am
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F