chanteelee
BR?
There's any tutorial?
I couldn't find one =X
I got several erros while trying to compile it..
I've checked out the last SVN version
and can't compile it =/
EDIT: Sorry....
I have found right now in the Docs.. -.-'
And for those who had the same questions:
COMPILING
Linux
Download required packages
Debian \ Ubuntu
Launch a terminal, and paste in the following commands:
sudo apt-get install libboost-date-time-dev libboost-date-time1.34.1 libboost-dev libboost-regex-dev libboost-regex1.34.1 libboost-signals-dev libboost-signals1.34.1 libboost-thread-dev libboost-thread1.34.1 liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 libsqlite0 libsqlite0-dev libsqlite3-0 libsqlite3-dev sqlite3 lua5.1 libmysql++-dev libgmp3-dev subversion make g++ libxml2 libxml2-dev libxml++2.6-dev libmysqlclient15-dev mysql-client-5.0 mysql-common mysql-server-5.0 gcc cpp
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
tar -xf boost_asio_1_0_0.tar.gz
sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
sudo: command not found
If you're running Debian it's possible that you don't have sudo,
if that's the case then you can run 'su' and you will have root
access. Then execute the commands without 'sudo' in the beginning.
Download sources
Launch a terminal, and paste in this command:
svn co https://forgottenserver.svn.sourceforge.net/svnroot/forgottenserver/forgottenserver/trunk/
Compiling
Launch a terminal, and type this:
cd trunk/ && make
Linker error
If you receive a linker error saying something with 'libboost', paste this command to terminal and try to compile again:
ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /usr/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/lib/libboost_thread.a
Windows
Dev-Cpp
Download TheForgottenDev-Cpp and the sources from:
http://otland.net/showthread.php?t=1024
Extract them anywhere and then run devcpp.exe, press on the menuitem
"File -> Open Project or File" and choose C:\path\to\sources\dev-cpp\TheForgottenServer.dev.
At this point Dev-Cpp should be running with the project, now you can press
"Execute -> Rebuild All", if there is any error, then report it here:
http://otland.net/showthread.php?t=379
After it get compiled, copy TheForgottenServer.exe from C:\path\to\sources\dev-cpp to directory above (C:\path\to\sources)
I couldn't find one =X
I got several erros while trying to compile it..
I've checked out the last SVN version
and can't compile it =/
EDIT: Sorry....
I have found right now in the Docs.. -.-'
And for those who had the same questions:
COMPILING
Linux
Download required packages
Debian \ Ubuntu
Launch a terminal, and paste in the following commands:
sudo apt-get install libboost-date-time-dev libboost-date-time1.34.1 libboost-dev libboost-regex-dev libboost-regex1.34.1 libboost-signals-dev libboost-signals1.34.1 libboost-thread-dev libboost-thread1.34.1 liblua5.1-0 liblua5.1-0-dev liblua50 liblua50-dev liblualib50 liblualib50-dev lua50 libsqlite0 libsqlite0-dev libsqlite3-0 libsqlite3-dev sqlite3 lua5.1 libmysql++-dev libgmp3-dev subversion make g++ libxml2 libxml2-dev libxml++2.6-dev libmysqlclient15-dev mysql-client-5.0 mysql-common mysql-server-5.0 gcc cpp
wget http://heanet.dl.sourceforge.net/sourceforge/asio/boost_asio_1_0_0.tar.gz
tar -xf boost_asio_1_0_0.tar.gz
sudo cp -ar boost_asio_1_0_0/boost/* /usr/include/boost/
sudo g++ boost_asio_1_0_0/libs/system/src/error_code.cpp -c -o /usr/lib/libboost_system.a
sudo: command not found
If you're running Debian it's possible that you don't have sudo,
if that's the case then you can run 'su' and you will have root
access. Then execute the commands without 'sudo' in the beginning.
Download sources
Launch a terminal, and paste in this command:
svn co https://forgottenserver.svn.sourceforge.net/svnroot/forgottenserver/forgottenserver/trunk/
Compiling
Launch a terminal, and type this:
cd trunk/ && make
Linker error
If you receive a linker error saying something with 'libboost', paste this command to terminal and try to compile again:
ln /usr/lib/libboost_regex-mt.so /usr/lib/libboost_regex.so && ln /usr/lib/libboost_regex-mt.a /usr/lib/libboost_regex.a && ln /usr/lib/libboost_thread-mt.so /usr/lib/libboost_thread.so && ln /usr/lib/libboost_thread-mt.a /usr/lib/libboost_thread.a
Windows
Dev-Cpp
Download TheForgottenDev-Cpp and the sources from:
http://otland.net/showthread.php?t=1024
Extract them anywhere and then run devcpp.exe, press on the menuitem
"File -> Open Project or File" and choose C:\path\to\sources\dev-cpp\TheForgottenServer.dev.
At this point Dev-Cpp should be running with the project, now you can press
"Execute -> Rebuild All", if there is any error, then report it here:
http://otland.net/showthread.php?t=379
After it get compiled, copy TheForgottenServer.exe from C:\path\to\sources\dev-cpp to directory above (C:\path\to\sources)
Last edited: