Decide to end this problem! (It is too difficult to find a complete answer on the Internet)
Http://blog.sciencenet.cn/blog-676535-541444.html
Two days ago, the virtual machine was crashed, so I had to reinstall the Virtual Machine and perform the previous work again. After QT-creator is installed, the Compilation Program encounters the following error:
Cannot find-lgl
Baidu finds the solution as follows:
Sudo apt-Get install libqt4-dev or sudo apt-Get install libgl1-mesa-dev or sudo apt-Get libglu1-mesa-dev
I tried the above method one by one.
Let's talk about the first apt-Get install libqt4-dev. below is my error message.
Execute the second sudo apt-Get install libgl1-mesa-dev, but the installation can start, but there is a system error at the end of the installation. Many of the built-in software did not see it, and run QT-creator to flash back directly. There is no solution for online search, so you have to reinstall it.
The same is true for executing the third sudo apt-Get libglu1-mesa-dev.