Last active
October 11, 2015 18:31
-
-
Save ooxi/5de2970e46e9465c453d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "debian/jessie64" | |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get update | |
apt-get install -y cmake git | |
echo "deb http://mxe.redjohn.tk/repos/apt/debian jessie main" > /etc/apt/sources.list.d/mxe.list | |
wget -O - http://mxe.redjohn.tk/repos/apt/conf/mxeapt.gpg | apt-key add - | |
apt-get update | |
sudo apt-get -y install mxe-x86-64-w64-mingw32.static-boost mxe-x86-64-w64-mingw32.static-gcc mxe-x86-64-w64-mingw32.static-gettext mxe-x86-64-w64-mingw32.static-sdl mxe-x86-64-w64-mingw32.static-sdl-image mxe-x86-64-w64-mingw32.static-sdl-mixer mxe-x86-64-w64-mingw32.static-sdl-ttf | |
git clone https://github.com/ooxi/violetland | |
cd violetland | |
git checkout 365ac41f1e3732612bafc00ae265c367a0dde85e | |
git submodule init | |
git submodule update | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_TOOLCHAIN_FILE=/usr/lib/mxe/usr/x86_64-w64-mingw32.static/share/cmake/mxe-conf.cmake | |
make | |
SHELL | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
jessie64 i686-w64-mingw32.static
Error log