problems with glew and OF 0.7.4 on Ubuntu 12.04 64 bits


currently I’m trying to get OF 0.7.4 to compile on Ubuntu 12.04 64 bits. I’ve worked within the same system before with OF 007 prerelease. However now I get errors relating to glew.

When running ‘’, I get a lot of undefined references, which end with:

ofGLRenderer.cpp:(.text+0x5fc): undefined reference to `gluProject'  
collect2: ld returned 1 exit status  
make: *** [bin/projectGeneratorSimple] Error 1  
there has been a problem compiling the projectGenerator  
please report this problem in the forums  

When trying to compile a project, I get (I edited Codeblocks output for brevity):

=== emptyExample, Debug ===  
In function `ofSetupOpenGL(ofPtr<ofAppBaseWindow>, int, int, int)':  
89 - undefined reference to `glewExperimental'  
90 - undefined reference to `glewInit'  
94 - undefined reference to `glewGetErrorString'  
many other undefined references to glu and glew  
1162 - undefined reference to `gluProject'  
=== Build finished: 17 errors, 0 warnings ===  

Is this a know issue? I trying installing a different version of libglew-dev (1.6 instead of 1.5) to no avail.
Any ideas on how resolve this? Thanks ahead!