Rstark
Posts: 5
Joined: Wed Jan 08, 2014 11:29 pm

Compile "Super Mario War" on pi.

Wed Jan 08, 2014 11:44 pm

Hey guys,

This is my first time posting here looking for some help. I have downloaded RetroPi and am trying to compile The game Super Mario War to run via the command line. There is no version compiled for the pi so I tried to do it myself.

I am defiantly a novice when it comes to things like this but have taught myself how to use ssh and command line to a decent degree for a beginner I think. Having used raspbmc for a while and being able to install squeezelite on it and do similar things I started to grasp how a Linux machine functions...

Anyway I want to compile this game and cannot for the life of me get it to work. When I compile it seems to go alright but in the end I get a fail to make [all] ERROR 2. The binary is in the right path but when i ./smw it says please specify root directory.

Also I forgot to mention in order to get this to compile you probably need to decrease your gpu memory to 64 in config.txt and possibly increase your swap a bit. Otherwise the cc1plus process will terminate in the middle of compiling.

I am wondering is there anyone here can help me out and see if they can achieve it on their machine.

I think Reteopie runs raspbian and you will need the SDL tools to compile.

Here is a link to the source code:
https://github.com/bjorn/super-mario-war

Here are the SDL libraries I "think" that are needed.

sudo apt-get install libsdl1.2-dev libsdl-image1.2-dev

Link: http://www.raspberrypi.org/forum/viewto ... 31&t=48859





If someone can get this running or stear me in a different direction it would be awsome. It is actually a very fun game and I appreciate the help in advanced.

Return to “C/C++”