Good day! I want to connect the GLFW library to CLion. I used to work in Visual Studio (it’s pretty easy to install there), but now I decided to switch to CLion and I don’t know how to connect GLFW there ..

  • Put dlls, libs and include (contents) in the appropriate folders in MinGW. Now it sees glfw, autocompletion works, but when compiled it flies out that undefined and so on ... - Iscom

1 answer 1

Try to install FreeGlut

$ sudo apt-get install freeglut freeglut-dev $ g++ main.cpp -lGL -lglut 
  • That's just the question was about Windows. - Flowneee