Hacker News new | ask | show | jobs
by serialvelocity 4384 days ago
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.
2 comments

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?

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