为什么我在安装图形文件时出现此错误以及如何解决?

为什么我在安装图形文件时出现此错误以及如何解决?
*** The sdl-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL_CONFIG environment variable to the
*** full path to sdl-config.
configure: error: *** SDL version 1.2.0 not found!

答案1

你必须安装SDL 库的开发包经过:

sudo apt-add-repository universe
sudo apt-get update
sudo apt-get install libsdl1.2-dev

然后恢复编译过程。

相关内容