Build PO on Raspbian (Raspberry Pi) - po-devs/pokemon-online GitHub Wiki
This is similar to building on normal Linux with a few changes.
How to get:
pi@raspberrypi ~ $ git clone git://github.com/po-devs/pokemon-online.git
Requirements:
libzip-dev qt4-dev-tools qt4-qmake libqt4-declarative-shaders libphonon-dev qrencode-dev
Fix coro:
Either:
+ #define CORO_UCONTEXT
in ./Utilities/coro.h
Or do qmake with "DEFINES += CORO_UCONTEXT
in each subdirectory it's required in
Build:
qmake "CONFIG += po_server po_client"
make -k
On a Pi this will take a LONG time, best to run with -k in-case there is an error, and leave it unattended for a few hours.
If you don't want to build the client, remove the "po_client" from the above code.
Then to run:
cp ./scripts/start-* ./bin/
cd bin
./start-server --headless
or just
./start-server