错误'无法找到OpenGL'在Raspbian上建立OSB期间

时间:2017-10-13 21:53:00

标签: linux cmake raspberry-pi raspbian

您好我正在按照本指南https://github.com/jp9000/obs-studio/wiki/Install-Instructions#linux进行安装,目前我已陷入其中一个最后一步。

当我运行代码cmake -DUNIX_STRUCTURE=1 -DCMAKE_INSTALL_PREFIX=/usr .. 时,收到以下错误消息:

-- OBS_VERSION: 20.0.1-85-ga76b919
-- Could NOT find OpenGL (missing:  OPENGL_gl_LIBRARY OPENGL_INCLUDE_DIR) 
CMake Error at /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find Libcurl (missing: CURL_LIB CURL_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.6/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/Modules/FindLibcurl.cmake:64 (find_package_handle_standard_args)
  deps/file-updater/CMakeLists.txt:3 (find_package)


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:
/home/pi/obs-studio/deps/glad/OPENGL_INCLUDE_DIR
   used as include directory in directory /home/pi/obs-studio/deps/glad
/home/pi/obs-studio/deps/glad/X11_X11_INCLUDE_PATH
   used as include directory in directory /home/pi/obs-studio/deps/glad
OPENGL_gl_LIBRARY (ADVANCED)
    linked by target "glad" in directory /home/pi/obs-studio/deps/glad
X11_X11_LIB (ADVANCED)
    linked by target "glad" in directory /home/pi/obs-studio/deps/glad

-- Configuring incomplete, errors occurred!
See also "/home/pi/obs-studio/build/CMakeFiles/CMakeOutput.log".

我已经安装了OpenGL。任何帮助表示赞赏!

0 个答案:

没有答案