I am beginner on Qt,i just installed the last version with Qt creator. I choose Calculator example or create new Application and when i build i always got the same errors:
cannot find -lGL
collect2: error: ld returned 1 exit status.
Could someone help me to overcome those errors? Thank you
正如 ubuntu 中指出的文档,您必须安装以下内容:
sudo apt-get install build-essential libgl1-mesa-dev
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.