undefined reference to symbol 'XF86VidModeQueryExtension' (linux, qt creator IDE)
I've been trying to get some simple GL code that implements GFLW3 to compile on QT Creator (on Ubuntu 13.04). However I keep getting the same output when it tries building: undefined reference to symbol 'XF86VidModeQueryExtension' I then went to the .pro file and linked the lXxf86vm.so library file and added -lXxf86vm but it still gives the same output: g++ -m64 -o GL-Test main.o windowtest.o frametest.o -L/usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 -L/user/lib/x86_64-linux-gnu/libXxf86vm.so -L/user/lib/x86_64-linux-gnu/libXxf86vm.a -L/user/lib/x86_64-linux-gnu/libXxf86vm.so.1.0.0 -L/home/syk435