glfw3 compiling undefined references
问题 I have a problem with compiling my program which uses glfw3 library. I'm getting list of errors of undefined references when trying to compile with make but my classes are compiled into .o files, only final executable file is not created. stdout: g++ -Wall -g -c main.cpp -lGL -lGLU -lglfw3 -lX11 -lXxf86vm -lXrandr -lpthread -lXi g++ -Wall -g -c error.cpp -lGL -lGLU -lglfw3 -lX11 -lXxf86vm -lXrandr -lpthread -lXi g++ -Wall -g -c sWindow.cpp -lGL -lGLU -lglfw3 -lX11 -lXxf86vm -lXrandr -lpthread