Building Moai with Steam Runtime
Warning: Out of Date
This documentation is obsolete or out of date and requires community help to clean it up.
Improve this docTo build moai with the steam runtime you can follow the steps here.
I used a fresh ubuntu 14.04 (might work with others)
sudo apt-get install git
git clone https://github.com/ValveSoftware/steam-runtime
cd steam-runtime
./setup_chroot.sh --outputdir ~/steam-runtime-build --i386
waiting waiting waiting
cd ~/steam-runtime-build
chroot steamrt_scout_i386
cd ~
apt-get install git
wget http://www.cmake.org/files/v3.1/cmake-3.1.3-Linux-i386.sh
bash cmake-3.1.3-Linux-i386.sh (say yes)
rm /usr/bin/cmake
ln -s ~/cmake-3.1.3-Linux-i386/bin/cmake /usr/bin
git clone http://github.com/moai/moai-dev
cd moai-dev
git checkout 1.5-stable
./bin/build-linux-sdl.sh
your output is in ~/moai-dev/cmake/build/host-sdl
and is called moai
To build again in future it should just be:
cd ~/steam-runtime-build
chroot steamrt_scout_i386
cd ~/moai-dev
(checkout new source here)
./bin/build-linux-sdl.sh