본문 바로가기

딥러닝

[cmake] cmake설치 중 오류 발생

 

CMake Error at /home/user/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake:9 (message):
  Failed to find "GL/gl.h" in
  "/home/user/anaconda3/include;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include/libdrm;/croot/qt-main_1693210824277/_build_env/x86_64-conda-linux-gnu/sysroot/usr/include".
Call Stack (most recent call first):
  /home/user/anaconda3/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:233 (include)
  /home/user/anaconda3/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:100 (find_package)
  Tests/CMakeLists.txt:271 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/user/cmake-3.23.3/CMakeFiles/CMakeOutput.log".
See also "/home/user/cmake-3.23.3/CMakeFiles/CMakeError.log".
---------------------------------------------
Error when bootstrapping CMake:
Problem while running initial CMake

 

 

 

cmake 설치중 위와 같은 오류가 발생했다...

찾아본 결과

 

 

 

아래 명령어를 입력하면 해결된다.

sudo apt install mesa-common-dev