I have been trying to compile ScummVM 1.9.0 for my iPad.
I am getting the error
/scumm/scummvm/audio/decoders/flac.cpp:38:10: 'FLAC/export.h' file not found
If I build 1.8.1 instead of 1.9 it works. But, how can I fix the error and build 1.9?
I am using a script I found to try to build it (doesn't seem to want to let me post a link to the source)
Code: Select all
#!/bin/bash
LIBS_ZIP_URL="http://bsr43.free.fr/scummvm/ScummVM-iOS-libraries.zip"
GIT_REPO_URL="https://github.com/scummvm/scummvm.git"
# Clone the repository
git clone "$GIT_REPO_URL"
# Compile create_project
(cd scummvm/devtools/create_project/xcode; xcodebuild)
# Create the workspace
mkdir build
cd build
curl -L "$LIBS_ZIP_URL" -O
unzip ScummVM-iOS-libraries.zip
rm ScummVM-iOS-libraries.zip
../scummvm/devtools/create_project/xcode/build/Release/create_project ../scummvm --xcode --enable-fluidsynth --disable-jpeg --disable-bink --disable-16bit --disable-mt32emu --disable-nasm --disable-opengl --disable-theora --disable-taskbar
open scummvm.xcodeproj
git clone "GIT_REPO_URL"
to
git clone -b branch-1-8-1 "$GIT_REPO_URL"