我正在尝试在我的笔记本电脑上安装 Marathon。一直遵循以下说明:https : //github.com/Aleph-One-Marathon/alephone/wiki/Linux%20Install%20Instructions#ubuntu。
我按照说明安装了以下库,
sudo apt-get install libboost-all-dev libsdl1.2-dev libsdl-image1.2-dev \
libsdl-net1.2-dev libsdl-ttf2.0-dev libspeexdsp-dev libzzip-dev \
libavcodec-dev libavformat-dev libavutil-dev libswscale-dev
Run Code Online (Sandbox Code Playgroud)
但是,当我配置安装时,
~/file path/AlephOne$ ./ configure
Run Code Online (Sandbox Code Playgroud)
我收到以下消息,
checking for SDL_ttf.h presence....no
error: You need SDL_ttf.h to run Aleph One.
Run Code Online (Sandbox Code Playgroud)
我以为这包含在 libsdl-ttf2.0-dev 中?任何人都知道发生了什么?任何帮助将非常感激。
小智 8
尝试: sudo apt-get install libsdl2-ttf-dev
之后,您应该通过以下方式找到它:
find /usr|grep SDL_ttf
Run Code Online (Sandbox Code Playgroud)