1604编译wesnoth出错,请教高人!
发表于 : 2016-05-16 16:46
系统是Ubuntu 1604 64bit的,在wesnoth目录下直接:scons,有如下错误提示:
Package sdl was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl' found
/bin/sh: 1: sdl-config: not found
Checking for Simple DirectMedia Layer library version >= 1.2.7... no
Base prerequisites are not met.
Client prerequisites are not met. wesnoth, cutter and exploder cannot be built.
Unit tests are disabled because their prerequisites are not met.
If any config checks fail, look in build/config.log for details
If a check fails spuriously due to caching, use --config=force to force its rerun
error: No repo or cache detected.
scons: done reading SConscript files.
scons: Building targets ...
error_action(["wesnoth"], [])
scons: *** [wesnoth] Target disabled because its prerequisites are not met
scons: building terminated because of errors.
但是我已经:
sudo apt-get install libsdl2-2.0
sudo apt-get install libsdl2-dev
上面都提示还是依旧,请问可有办法?
Package sdl was not found in the pkg-config search path.
Perhaps you should add the directory containing `sdl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'sdl' found
/bin/sh: 1: sdl-config: not found
Checking for Simple DirectMedia Layer library version >= 1.2.7... no
Base prerequisites are not met.
Client prerequisites are not met. wesnoth, cutter and exploder cannot be built.
Unit tests are disabled because their prerequisites are not met.
If any config checks fail, look in build/config.log for details
If a check fails spuriously due to caching, use --config=force to force its rerun
error: No repo or cache detected.
scons: done reading SConscript files.
scons: Building targets ...
error_action(["wesnoth"], [])
scons: *** [wesnoth] Target disabled because its prerequisites are not met
scons: building terminated because of errors.
但是我已经:
sudo apt-get install libsdl2-2.0
sudo apt-get install libsdl2-dev
上面都提示还是依旧,请问可有办法?