View Full Version : To get Orange Book examples to work under Vista

09-25-2007, 03:41 AM
I had a little trouble getting the Orange Book example to compile with vc8 / vs8 ( visual studio 8)

I got it working by doing the following:

* ..obviously adding include and lib paths (including glew)

* adding
#pragma comment(linker, /nodefaultlib:oldnames.lib")
#pragma comment(linker, "/nodefaultlib:libc.lib")
#pragma comment(linker, "/nodefaultlib:libcd.lib")

to the header file (ogl2brick.h)

* and for debug mode - removing the /WX option from the C++ compiler properties (this is halt compilation on all warnings)

Hope that helps,