Building examples on Debian testing (wheezy)

I get this when trying to compile any of the examples on Debian testing (using latest from github):

[pre]
/usr/bin/ld: …/…/…/libs/openFrameworksCompiled/lib/linux64/libopenFrameworks.a(ofTexture.o): undefined reference to symbol ‘gluBuild2DMipmaps’
/usr/bin/ld: note: ‘gluBuild2DMipmaps’ is defined in DSO /usr/lib64/libGLU.so.1 so try adding it to the linker command line
/usr/lib64/libGLU.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [bin/blendingExample] Error 1
[/pre]

Adding -lGLU to SYSTEMLIBS in the Makefiles solves this. Not sure if this is the right way to fix the problem though.

yes, i don’t know why in ubuntu it works without linking against GLU, i’ve added it to the template makefile, you’ll need to create the projects again using the createProjects.py script