On First Run "sudo apt-get build-dep glfw3 -y" and "sudo apt-get install cmake -y" Then Run "cmake ." edit "libraryPG.cpp" ,"libraryPG.h", "template.cpp", (You can do it after) Run "make" run "./ProjetoPg"