• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • 2026 staff recruitment is open! Check it out and consider applying!

Compiling Necessary libraries

Felipe Monteiro

Webmaster
Joined
Feb 27, 2009
Messages
460
Reaction score
59
Location
Brasil
Hello guys.
I need to know where i can download all necessary libraries to compile new tfs sources.
Sorry by english :/
 
Why do people never read the README file -.-

For 0.2.15 (and .14)

Code:
[ COMPILING
        Linux: Debian/Ubuntu
                Downloading required packages
                        Launch a terminal, and paste in this command:
                                apt-get install build-essential subversion libboost-dev libxml2-dev liblua5.1-0-dev libgmp3-dev libmysqlclient-dev libsqlite3-dev libboost-thread-dev libboost-regex-dev libboost-system-dev

                Downloading the source code
                        Launch a terminal, and paste in this command:
                                svn co svn://svn.otland.net/public/forgottenserver/tags/0.2.15

                Compiling
                        Launch a terminal, and type this command:
                                cd 0.2.15/ && make

        Windows
                Code::Blocks
                        Follow this tutorial:
                                http://otland.net/content/compiling-forgotten-server-0-2-code-blocks-windows-41/
]


0.3.X:

Code:
[ COMPILING
        GNU\Linux
                Automatically(Apt-get and Yum Based OS)
                        Launch terminal and type:
                                cd 0.3.7 && sudo ./compile.sh
                        It will ask you some simple questions along the compilation/intallation process, wait till it is done, then you may continue to CONFIGURING and EXECUTING.

                Debian
                        http://otland.net/f137/linux-ultimate-compile-guide-debian-ubuntu-included-2868/

                Ubuntu
                        http://otland.net/f479/ubuntu-nothing-complete-server-forgotten-server-modernaac-mysql-lighttpd-89001/

                In short...
                        Root
                                You need to get on root user or use sudo for almost all below operations.

                        Download required packages
                                Launch a terminal, and paste in the following commands:
                                        apt-get install libboost1.38-dev 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 automake autoconf pkg-config zlib1g-dev ccache libssl-dev

                        Download sources
                                Launch a terminal, and paste in this command:
                                        svn co http://svn.otland.net/public/forgottenserver/tags/0.3.7

                        Compiling
                                Launch a terminal, and type this:
                                        cd 0.3.7 && ./autogen.sh && ./configure --enable-sqlite --enable-server-diag && ./build.sh

        Windows
                Microsoft Visual C++ (MSVC)
                        http://otland.net/f479/compiling-msvc-compiling-forgotten-server-under-windows-easy-way-125178/

                Dev-Cpp
                        [ NOTE
                                This tutorial part is marked as obsolete,
                                use at own risk
                        ]

                        Download The Forgotten Dev-Cpp and the sources from:
                                http://otland.net/f19/stians-dev-cpp-repack-0-2-crypto-64bit-62455/

                        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 Crying Damson.exe from C:\path\to\sources\dev-cpp to directory above (C:\path\to\sources)
]

Stop being stupi* please
 
Back
Top