I was wondering if anyone has been able to compile and run Barony (a 1st person rogue like) successfully:
https://github.com/ptitSeb/Barony
I am using this build that ptitSeb made for open pandora (another arm base linux system)<-- perhaps part of the reason why it doesn't work?
I am doing this on a Raspberry Pi 4 w/ 4gb of ram, running Raspbian Buster.
I was able to cmake and make install after figuring out WHERE to run this command... (I was going into the SRC directory before. It started compiling once I went back to the ~/Barony/ directory. It only compiles to 15%, however:
Thinking it was something to do with the libSDL2_ttf, I installed:pi@raspberrypi:~/Barony $ make install ./
[ 15%] Linking CXX executable editor
/usr/bin/ld: /usr/local/lib/arm-linux-gnueabihf/libSDL2_ttf.so: undefined reference to `SDL_RWclose'
/usr/bin/ld: /usr/local/lib/arm-linux-gnueabihf/libSDL2_ttf.so: undefined reference to `SDL_RWread'
/usr/bin/ld: /usr/local/lib/arm-linux-gnueabihf/libSDL2_ttf.so: undefined reference to `SDL_RWseek'
/usr/bin/ld: /usr/local/lib/arm-linux-gnueabihf/libSDL2_ttf.so: undefined reference to `SDL_RWsize'
/usr/bin/ld: /usr/local/lib/arm-linux-gnueabihf/libSDL2_ttf.so: undefined reference to `SDL_RWtell'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/editor.dir/build.make:367: editor] Error 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/editor.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
sudo apt-get install libsdl2-ttf-dev
and
sudo apt-get install libsdl2-ttf-2.0-0
This changed nothing unfortunately. Anyone have any idea?
here's what I have done, step by step:
pi@raspberrypi:~ $ git clone https://github.com/ptitSeb/Barony
pi@raspberrypi:~ $ cd Barony
pi@raspberrypi:~/Barony $ cmake ./
pi@raspberrypi:~/Barony $ make install ./
Should I be changing something the CMakeList file prior to cmake and make install?
Thanks for your help, guys!