更新时间:2023-11-10 17:22:52
一个错误输出中的正在查找glXGetProcAddressEXT-未找到
,并且日志文件表明libGL存在链接错误。
One of the error outputs was Looking for glXGetProcAddressEXT - not found
, and the log files indicated that there was a linking error with libGL.
然后我尝试运行 apt-get install glfw
以打印出依赖项列表。即使它是 apt-get
中的较旧版本,它仍然列出了一些必须安装的依赖项。
I then tried running apt-get install glfw
to print out the list of dependencies. Even though it was an older version in apt-get
, it still listed some dependencies that had to be installed.
GLFW在安装 libglu1-mesa-dev
和 libgl1-mesa-dev
最后一条错误消息 CMake错误:此项目中使用了以下变量,但是将它们设置为NOTFOUND。
是使我失望的一个。我以为这是路径和环境变量的问题
请设置它们或确保已在CMake文件中对其进行正确设置和测试:
OPENGL_glu_LIBRARY(高级)
The last error message CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
OPENGL_glu_LIBRARY (ADVANCED)
was the one that threw me off. I thought it was a problem with paths and environment variables