Once I enter the main directory I switch to the build directory execute "cmake ../src", which I believe generates the makefile.
From there I issue "make"... which results in almost 100% completion however at the end of the make process I generate this error
Linking CXX executable pianobooster
/usr/bin/ld: CMakeFiles/pianobooster.dir/Score.o: undefined reference to symbol 'glNewList'
/usr/bin/ld: note: 'glNewList' is defined in DSO /usr/lib/libGL.so.1 so try adding it to the linker command line
/usr/lib/libGL.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make: *** [pianobooster] Error 1
make: *** [CMakeFiles/pianobooster.dir/all] Error 2
make: *** [all] Error 2
Alternatively I will return a similar error which refers to lpthread rather the libgl.
I understand I can somehow link these libraries in the make file possibly with CFLAGS options but I do not quite understand how... any help would be greatly appreciated.
*Edit I am on Squeeze and have all dependencies satisfied*