sudo apt-get install libsdl2-dev

  

2. 将configure文件中与SDL有关的地方改成SDL2

if test -z "$sdl" ; then
    sdl_config="sdl2-config"
    sdl=no

  

cat > $TMPC << EOF
#include <SDL2/SDL.h>
#undef main /* We don't want SDL to override our main() */

  

相关文章:

  • 2021-12-30
  • 2022-12-23
  • 2022-01-22
  • 2021-05-16
  • 2021-12-15
  • 2022-02-23
  • 2022-12-23
  • 2021-12-27
猜你喜欢
  • 2022-12-23
  • 2021-05-19
  • 2021-12-17
  • 2022-12-23
  • 2022-01-17
  • 2021-12-24
  • 2021-12-09
相关资源
相似解决方案