Build Linux Server
Just a short memo of how to compile on Linux. Only the server part has been tried.
Details
Build Shared content:
cd shared/src
g++ -c -fPIC *.cpp
g++ -fPIC -shared *.o -o libsb-shared.so
cp *.so ../../server/src
Build server:
cd server/src
g++ -c -fPIC *.cpp -I../../shared/src
g++ -fPIC -o server *.o -lsfml-system -lsfml-network -lsb-shared -L./
run server:
cd server/src
export LD_LIBRARY_PATH=.
./server
page_revision: 1, last_edited: 1257790245|%e %b %Y, %H:%M %Z (%O ago)