Requirements Ubuntu 20.04
Hiya, correct aptitude packages for Ubuntu 20.4 would be:
sudo apt-get install libsdl2-2.0-0 libsdl2-ttf-2.0-0 libsdl2-image-2.0-0 libsdl2-dev libsdl2-ttf-dev libsdl2-image-dev
Compiled with cargo.
Running it gave me this error:
thread 'main' panicked at 'could not load icon: "Couldn\'t open assets/MIST.png"', src/app.rs:46:20
Changed the line to ../assets/MIST.png. Works.
After cancelling the optional "choose a config file", it gave me another prompt to get the default one which seems kinda counterintuitive tbh. :smile:
Thanks for this project.
Thanks for the info on the Ubuntu packages, I haven't used Ubuntu so I was just guessing which packages it would need from the package search website.
You're right about the config file thing, its really awkward and I've been meaning to fix it for a while, so I'll get on that soon.
About the image file thing, are you running mist with cargo run? I haven't had problems with it that way, since it keeps the current directory as the crate root. To run without cargo you'll have to move the binary out of cargo's target directory and into the root of the repo so it can find its files.
please add libsdl2-gfx-dev to the deps as well
ah thanks for reminding me, sorry about that