I want to use the Ubunut/Linux Library libglfw (Glfw) with a Standard C++ Project, that uses CMake in Qt Creator. How do I do that? How do I have to include the Linked Library?
Edit: Actually I Include the libglfw (/usr/lib/lglfw.so) like
#include "GL/glfw.h" //That line works
int main(void) {
GLFWwindow* window; //Just like in the GLFW-Example
...
}
And I get the error "GLFWwindow was not declared in this scope" and similar errors for each glfw-call