Search code examples
visual-studioopenglcmakevisual-studio-express

First time OpenGL: How should I configure Visual Studio Express 2015 to build and run an OpenGL project?


I am totally new to OpenGL and am following some beginners tutorials here

I followed the steps in the first tutorial very carefully and did exactly as described, but I got errors in CMake: no_cmake_c_compiler found and no_cmake_cxx_compiler found. I googled these errors but until now I couldn't find very clear steps to solve this issue.

So I decided to download the source code of the tutorials themselves and try to build them without CMake as new projects in VS Express 2015. However, I seem to be lost in the project configuration and also the including of the header and source files. Could someone please tell me how I should proceed to do this?


Solution

  • I found what was the mistake when trying with the new version (3.4.2) - I had missed to click Generate after Configuring... Now I have the projects and the source file in VS. Thank you very much for suggesting that I try with CMake 3.4.2 :)