I want to start using OpenGL on Qt Creator, using Ubuntu 16.
I have downloaded glfw-3.2, used cmake and then make.
I have included in my file and Qt Creator finds it just fine.
However I get the errors "Undefined reference to glwfInit" etc and same thing for all the functions of the library.
After searching the web I think it is a linking issue and thus I have added in my .pro file the line LIBS += -lglfw3 but then I get the error "cannot find -lglfw3" .
My guess is that since I have downloaded the glfw-3.2 in my "Downloads" directory and not in the usual one, Qt cannot find the library.
So I tried to move it to usr/include/ but I encounter "permissionned denied" barrier.
My question is : how can I link against this library.
I want to add that I have no idea where this library actually is on my computer.. I cant find it in the glfw-3.2 file and thus it may not be installed at all but then how can I install it ? I believed the whole process I went through was to install it.
PS : I have spent hours browsing the web and I believe I have read every single page about this subject, however I often dont get what they explain... For instance, http://www.glfw.org/docs/latest/build_guide.html#build_link_cmake_source they explain that I need to change something on the CMakeList to build properly but it makes no sense to my newbie brain...