This makes the demos compile and run for me on Linux (using CMake to build), which might be useful for some people. Haven't tested on Windows but hopefully that won't have broken much.
Added CMake build script.
Fixed build errors on Linux/GCC.
Thanks for doing this Philip, I'll confirm this works and still works on Windows, then I'll merge it.
added fixes for compiling under Mac OS X(tested under Snow Leopard)
Explicitly require GLU, to fix linking errors.
Merged pull request #1 from philiptaylor/master.