Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. error while compile the program in Qt creator
Forum Updated to NodeBB v4.3 + New Features

error while compile the program in Qt creator

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
4 Posts 3 Posters 785 Views 2 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.
  • S Offline
    S Offline
    sachin786
    wrote on last edited by
    #1

    hello, i am facing following errors while compiling the program in Qt creator for desktop only....

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

    K 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Please search the forum a bit, that questions comes up frequently. You are missing the OpenGL development package for your distribution.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S sachin786

        hello, i am facing following errors while compiling the program in Qt creator for desktop only....

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

        K Offline
        K Offline
        koahnig
        wrote on last edited by
        #3

        @sachin786

        certainly SGaist is correct.

        Since I got by conincidence today a vote on an old reply I can easily refer to this post

        Vote the answer(s) that helped you to solve your issue(s)

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sachin786
          wrote on last edited by
          #4

          this will fixed my issue...thanku both of u

          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