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. Error when executing "Make"
Forum Updated to NodeBB v4.3 + New Features

Error when executing "Make"

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
3 Posts 2 Posters 358 Views
  • 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.
  • K Offline
    K Offline
    Kaine
    wrote on last edited by
    #1

    I've tried uninstalling Qt and installing it already 3 times by now, but this message keeps popping out when I try to build:

    /usr/bin/ld: cannot find -lGL
    collect2: error: ld returned 1 exit status
    make: *** [Makefile:208: Test1] Error 1
    10:24:30: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project Test1 (kit: Desktop Qt 6.2.3 GCC 64bit)
    When executing step "Make"
    

    Schermata del 2022-02-23 10-34-45.png

    Anyone can help me understand what am I doing wrong?

    jsulmJ 1 Reply Last reply
    0
    • K Kaine

      I've tried uninstalling Qt and installing it already 3 times by now, but this message keeps popping out when I try to build:

      /usr/bin/ld: cannot find -lGL
      collect2: error: ld returned 1 exit status
      make: *** [Makefile:208: Test1] Error 1
      10:24:30: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project Test1 (kit: Desktop Qt 6.2.3 GCC 64bit)
      When executing step "Make"
      

      Schermata del 2022-02-23 10-34-45.png

      Anyone can help me understand what am I doing wrong?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Kaine said in Error when executing "Make":

      /usr/bin/ld: cannot find -lGL

      Take a look at https://doc.qt.io/qt-5/linux.html

      sudo apt-get install build-essential libgl1-mesa-dev
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply
      3
      • jsulmJ jsulm

        @Kaine said in Error when executing "Make":

        /usr/bin/ld: cannot find -lGL

        Take a look at https://doc.qt.io/qt-5/linux.html

        sudo apt-get install build-essential libgl1-mesa-dev
        
        K Offline
        K Offline
        Kaine
        wrote on last edited by
        #3

        @jsulm Thank you

        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