当前位置:   article > 正文

Could not find a package configuration file provided by “SDL2“ 解决方案

could not find a package configuration file provided by "sdl2" with any of t

问题描述

CMake Error at src/CMakeLists.txt:31 (find_package):
  Could not find a package configuration file provided by "SDL2" with any of
  the following names:

    SDL2Config.cmake
    sdl2-config.cmake

  Add the installation prefix of "SDL2" to CMAKE_PREFIX_PATH or set
  "SDL2_DIR" to a directory containing one of the above files.  If "SDL2"
  provides a separate development package or SDK, be sure it has been
  installed.

解决方案 

参考网址:https://github.com/ggerganov/kbd-audio/issues/17

apt install libsdl2-dev

 

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/Cpp五条/article/detail/292913
推荐阅读
相关标签
  

闽ICP备14008679号