What can be missing and how do I add it to the system path? I have searched for a while now and I can only assume that I have all the right packages installed but something is missing in the system path.
QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL You might need to modify the include and library search paths by editing G++ -Wl,-O1 -o opengldesktop opengldesktop.o -lGLĬollect2: error: ld returned 1 exit status I./././mkspecs/linux-g++ -o opengldesktop.o opengldesktop.cpp I get the following error: OpenGL auto-detection. configure -v -confirm-license -developer-build -opensource -xinput2 -dbus -opengl desktop -nomake examples -nomake tests) I then try to configure QT using the following command.
Sudo apt-get install libxi-dev build-essential libdbus-1-dev libfontconfig1-dev libfreetype6-dev libx11-dev libxext-dev libxfixes-dev libxi-dev libxrender-dev libxcb1-dev libx11-xcb-dev libxcb-glx0-dev libxcb-keysyms1-dev libxcb-image0-dev libxcb-shm0-dev libxcb-icccm4-dev libxcb-sync0-dev libxcb-xfixes0-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0-devĪnd finally: sudo apt-get install mesa-common-devĪs far as I know the above should completely install the opengl packages for Ubuntu. I have installed the following packages in order to resolve all the dependencies: sudo apt-get update I am trying to build QT 5.4 (qt-everywhere-opensource-src-5.4.2) and I am facing a problem with it not being able to find opengl. I have a fresh install of Ubuntu 14 LTS from this morning, I am using a PC with Nvidia graphic cards and I have successfully installed the latest version of the driver from the Nvidia website ( NVIDIA-Linux-x86_64-352.30).