Re:Bare Metal Assembly Raspberry Pi Starfox Tribute
by serialvelocity on Sunday June 22, 2014 @05:57AM
(#7927402)
Hey, I'm part of the team who wrote this. What platform are you running on? and what errors are you getting?
[ Parent
| on HN ]
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute
by voltagex_ on Sunday June 22, 2014 @06:16AM
(#7927429)
Hey, congrats on this project.
Mainly I was waiting to reboot into Linux to try to build this.
You may want to add some instructions for building the game/emulator.
For the emulator, I'd never used cmake before (sort of) so I didn't know to run cmake .
Then the error about SDL (needed libsdl-dev package or similar)
For the game, I'm currently downloading a Linaro ARM toolchain on a slow connection but I don't anticipate any further issues.
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute
by serialvelocity on Sunday June 22, 2014 @06:23AM
(#7927444)
Thanks! It currently only works on Linux, so depending on your distro, you need to install the SDL package. If you're using Debian or Ubuntu (or derivatives), it will be sufficient to install the libsdl-dev and cmake packages using apt-get. Then create a build directory and use CMake to generate makefiles then build the emulator with make.
To set up the build environment, follow these instructions:
cd /dir/to/PiEmu/
mkdir build
cd build
cmake ..
make
These instructions are also on the README.md for PiEmu in-case anyone else is wondering how to get it building.
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute
by voltagex_ on Sunday June 22, 2014 @07:00AM
(#7927522)
To add to this, the latest "official" Raspberry Pi toolchain is at https://github.com/raspberrypi/tools. You probably want the one without hf in the name.
serialvelocity - am I correct in assuming you're building for softfp?
Re:Bare Metal Assembly Raspberry Pi Starfox Tribute
by voltagex_ on Sunday June 22, 2014 @07:06AM
(#7927535)
I sit corrected. I'm currently having lots of trouble building the game because my cross compiler doesn't match the name of yours in the makefiles.
> make[2]: arm-linux-gnueabi-as: Command not found