Open gl

Good day , i am trying new tutorials on learnopengl.org, and there is part where i need to use cmake. https://learnopengl.com/Getting-started/Creating-a-window

The problem is that everytime i try to generate the there to build binaries i get error message :
Make Error: The source directory "C:/Users/Mr/Desktop/Libraries/glfw-3.2.1.bin.WIN64" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

Does anyone ever got problem like this? And is it possible to generate all directories without cmake, and be able to follow tutorial?

thanks
The filename glfw-3.2.1.bin.WIN64 indicates that you downloaded the 64-bit binary package, contrary to the instructions in the tutorial.

You only need to build the source code with Cmake if you actually download the source code.
Last edited on
You can download and run my simple project example:
Triangle_GlfwOpenGL31Cpp.zip
https://dl.dropboxusercontent.com/s/49dtwkgbwde62hk/Triangle_GlfwOpenGL31Cpp.zip

I use GLFW, GLAD, GLM, OpenGL 3.1, VS2015

You need set your version of VS in Properties:
Screenshot:
https://dl.dropboxusercontent.com/s/czcgfo0ih3oidir/PlatformToolset.png
Topic archived. No new replies allowed.