Error cannot find -lGL (Ubuntu with Parallels)

  • I get error message :-1: error: cannot find -lGL when try to build a qt project. This happend before in my previous Ubuntu setup and solved it with make a symbolic link to a file but I don't remember it. Something about opengl I think. Now it happen again in my new Ubuntu.

    I'm running Ubuntu in Parallels 9 for Mac. Qt 5.1.1

  • I solved it. I created symbolic link /usr/lib/ with parallels so file. :)

  • Lifetime Qt Champion

    Hi and welcome to devnet,

    This questions comes up frequently on the forum (once in the last 24 hours), you are missing the OpenGL development package

Log in to reply