Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt5 (Fedora 18) - Cannot find -lGL

$
0
0
Hi all, Today I downloaded and installed the latest Qt5.0.2 on a fresh Fedora 18 system. I am currently attempting to build and run the “camera” example application and am getting the following error: g++ -m64 -Wl,-rpath,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64 -Wl,-rpath,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -Wl,-rpath-link,/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -o camera main.o camera.o imagesettings.o videosettings.o moc_camera.o moc_imagesettings.o moc_videosettings.o   -L/usr/X11R6/lib64 -L/home/njozwiak/Qt5.0.2/5.0.2/gcc_64/lib -lQt5MultimediaWidgets -lQt5Multimedia -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -lGL -lpthread /usr/bin/ld: cannot find -lGL collect2: error: ld returned 1 exit status make: *** [camera] Error 1 17:33:30: The process "/usr/bin/make" exited with code 2. Error while building/deploying project camera (kit: Desktop Qt 5.0.2 GCC 64bit) When executing step 'Make' As this is a brand new machine I ran an initial: sudo yum groupinstall "Development Tools" Then I attempted to install all relevant OpenGL packages. Here is what I have installed: Package mesa-libGL-9.1-3.fc18.x86_64 already installed and latest version Package mesa-libGLU-9.0.0-1.fc18.x86_64 already installed and latest version Package mesa-libGLw-6.5.1-13.fc18.x86_64 already installed and latest version Package mesa-libOSMesa-9.1-3.fc18.x86_64 already installed and latest version Package mesa-libGL-devel-9.1-3.fc18.x86_64 already installed and latest version-- Package mesa-libGLU-devel-9.0.0-1.fc18.x86_64 already installed and latest version Package mesa-libGLw-devel-6.5.1-13.fc18.x86_64 already installed and latest version Package mesa-libOSMesa-devel-9.1-3.fc18.x86_64 already installed and latest version Package libxcb-1.9-1.fc18.x86_64 already installed and latest version Package libxcb-devel-1.9-1.fc18.x86_64 already installed and latest version Package xcb-util-0.3.8-3.fc18.x86_64 already installed and latest version Package xcb-util-devel-0.3.8-3.fc18.x86_64 already installed and latest version Package xcb-util-keysyms-devel-0.3.8-4.fc18.x86_64 already installed and latest version Package xcb-util-renderutil-devel-0.3.8-2.fc18.x86_64 already installed and latest version Package xcb-util-image-devel-0.3.8-4.fc18.x86_64 already installed and latest version Package xcb-util-wm-devel-0.3.8-3.fc18.x86_64 already installed and latest version Package flex-2.5.36-1.fc18.x86_64 already installed and latest version Package bison-2.6.1-1.fc18.x86_64 already installed and latest version Package gperf-3.0.4-5.fc18.x86_64 already installed and latest version Package libicu-devel-49.1.1-8.fc18.x86_64 already installed and latest version Package libxslt-devel-1.1.28-1.fc18.x86_64 already installed and latest version Package ruby-1.9.3.392-29.fc18.x86_64 already installed and latest version Package alsa-lib-1.0.26-2.fc18.x86_64 already installed and latest version Package gstreamer-0.10.36-2.fc18.x86_64 already installed and latest version Any and all libGL* and libGL*-devel packages I can think of… I know I have to be missing something required, but I’m just not sure what. There is a similar post here: http://qt-project.org/forums/viewthread/22848. But the author never says what fixes it… and I have everything installed that pitonyak suggested for running in Fedora 18. People keep saying installing the “libglu1-mesa-dev” package resolves this issue for them. But I do not see this package available in Fedora. Any help would be appreciated. Thanks, Nate

Viewing all articles
Browse latest Browse all 2113

Latest Images

Trending Articles



Latest Images