Compile GLFW on Ubuntu

[ Configuration using CMake ]

  • source code path is GLFW/, not GLFW/src/
  • The RandR library and headers were not found
    • sudo apt-get install xorg-dev libglu1-mesa-dev
  • Eclipse version: Mars (downloaded)

[ Load Project using Eclipse ]

  • File > New > Makefile project with existing files
    • Folder: cmake_output_path/src/

 

Leave a Reply