CMake could not find OpenGL in Ubuntu

后端 未结 2 395
梦如初夏
梦如初夏 2021-01-07 16:44

I want to install VTK in Ubuntu. CMake sends me this error :

CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (

2条回答
  •  攒了一身酷
    2021-01-07 17:39

    You don't need any version of GLUT to satisfy a dependency on OpenGL. What you need is OpenGL headers and libraries. In Ubuntu they are installed with the libgl1-mesa-dev package.

    To get the EGL build dependencies, replace the gl1 part of package name with egl1.

提交回复
热议问题