To get Orange Book examples to work under Vista

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,


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.