QT error: – LGL not found
This is because QT cannot find the OpenGL dynamic link library (LIBGL.So). OpenGL is installed by default in most Linux distributions, including Ubuntu, CentOS, etc. if the link library cannot be found, the path is generally wrong.
Solution
1. Use root to find the path of “LIBGL.So” file. Use find/usr - name "LIBGL *"
to find
2. The search result is that the version number is added to the suffix of the OpenGL link library provided with the Linux distribution, such as LIBGL.So.1.2.0, LIBGL.So.1.3.1, etc., but the OpenGL link library found by QT in the link phase does not have the version number. So we need to create a link for the OpenGL link library in the/usr/lib/directory and remove the version number
3. Just create a soft connection with ln - s
Read More:
- How to Solev QT compilation error “cannot find – LGL”
- [Solved] Qt Error: qt.network.ssl: QSslSocket::connectToHostEncrypted: TLS initialization failed
- [Solved] QT error: the packaged exe of Enigma virtual box reports an error cannot load library qt5core.dll
- Qt5core.pdb is not loaded [How to Solve]
- ROS Error: Could not import “pyqt“ bindings of qt_gui_cpp library
- [Solved] QT cmak Compile Error: CMake Error: The source.. does not match the soused
- [Solved] Error: Main class not found or could not be loaded com.jawasoft.
- Postgis Install Error: could not load library “C:\……“:The specified module could not be found.
- error: resource android:attr/lStar not found [Pefect Solution]
- error: resource android:attr/lStar not found [How to Solve]
- [Solved] ORB_SLAM3 Compile Error: opencv4.0 not found four
- [Solved] Mac VS Code fatal error: ‘bits/stdc++.h‘ file not found
- ImportError: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.23‘ not found
- [Solved] AAPT: error: resource android:attr/lStar not found
- Lumen Error: Class ‘League\Flysystem\Adapter\Local‘ not found
- Maven configuration error: JAVA_HOME not found in your environment
- Error:scalac: Scala compiler JARs not found [How to Solve]
- JSP error: The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path
- [Solved] LaTeX Error: File ‘‘picins.sty‘‘ not Found.
- How to Solve VScode 2022 error: msvcp110d.dll not found