Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Compiler error / Qt 5.2 RC on Linux x64
Qt 6.11 is out! See what's new in the release blog

Compiler error / Qt 5.2 RC on Linux x64

Scheduled Pinned Locked Moved Installation and Deployment
3 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    Hi everybody

    i have now Linux uBuntu 13.10 x64 with Qt 5.2 RC (qt-linux-opensource-5.2.0-rc1-x86_64-offline.run)

    after install and run i see this error :

    :-1: error: cannot find -lGL
    :-1: error: collect2: error: ld returned 1 exit status

    how i can fix this problem ?
    Please help me :)

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Install the dependencies, especially the graphics drivers. A full list is available "here":http://qt-project.org/wiki/Building_Qt_5_from_Git, but you don't really need that much.

      (Z(:^

      1 Reply Last reply
      0
      • ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        [quote author="sierdzio" date="1385801168"]Install the dependencies, especially the graphics drivers. A full list is available "here":http://qt-project.org/wiki/Building_Qt_5_from_Git, but you don't really need that much.[/quote]

        thanks :)

        The problem solved by the following commands:

        sudo apt-get update
        OpenGL: sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev
        OpenAL: sudo apt-get install libopenal0a libopenal-dev
        ALUT:   sudo apt-get install libalut0 libalut-dev
        
        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved