如何解决Linux错误 - "cannot find -lGL"?
How to solve linux error - "cannot find -lGL"?
我有深度操作系统并试图构建Qt桌面应用程序,但我收到此错误:找不到-lGL。这是什么意思以及如何解决它?
确保安装了libgl1-mesa-dev
(提供/usr/lib/<multiarch name>/libGL.so
(。
-l<library name>
开关告诉 GCC 在其库路径中搜索lib<library name>.so
并链接到它。
相关文章:
- /usr/bin/ld: cannot find -lc++
- Cannot find -lglad
- "Cannot find -l<directory>"错误 - CMake
- Windows cannot find MinGW
- cannot find -lMagick++-6.Q16
- 如何解决"cannot find -lidn ,-l***"?
- cannot find boost_process cmake find_package
- /usr/bin/ld: cannot find -lGQt
- c++ SDL2 - ld||cannot find -lmingw32|
- /usr/bin/ld: cannot find -lcaffe
- 生成错误:"cannot find target for file"和"undefined reference"
- libreoffice cannot find -lstdc++
- GetPrivateProfileStringA 返回"The system cannot find the file specified."即使文件存在
- mingw-w64 ... ld.exe: cannot find -lboost_filesystem
- 构建 vcxproj 文件给我一个无信息的错误"The system cannot find the path specified"
- Sysgcc: ld.exe cannot find -lcurl -ljsoncpp
- CMake/Make cannot find libusb
- 如何修复Visual Studio 2017中的"Cannot find or open the PDB file."
- C++ cannot find SQLite3
- C++ 错误:"cannot find bounds of current function"