-
Notifications
You must be signed in to change notification settings - Fork 170
Build PO on Raspbian (Raspberry Pi)
coyotte508 edited this page Jun 16, 2013
·
6 revisions
This is similar to building on normal Linux with a few changes.
pi@raspberrypi ~ $ git clone git://github.com/po-devs/pokemon-online.git
libzip-dev qt4-dev-tools qt4-qmake libqt4-declarative-shaders libphonon-dev qrencode-dev
Either:
+ #define CORO_UCONTEXT
in ./Utilities/coro.h
Or do qmake with "DEFINES += CORO_UCONTEXT
in each subdirectory it's required in
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.
cp ./scripts/start-* ./bin/
cd bin
./start-server --headless
or just
./start-server