Windows
1.Download and install msvc 2010 http://www.microsoft.com/express/Downloads/#2010-Visual-CPP
2.Download latest trunk https://github.com/opentibia/server/archive/legacy.zip
3.Open visual studio project it is located in project-files/vc10/vc10.sln (project)
4.Download and unpack https://www.sendspace.com/file/fz1o43 those are additional libs to compile otserv(boost etc).
5.In msvc select Release option instead of Debug it is located in top center in the program.
6.Select otserv project in left side of visual studio then go to project > properties > C/C++ > general > additional include directories and there add "include" directory from where you unpacked additional libs.
7.In msvc Go to project > properties > linker > general > additional library directories and there add "libs" directory from where you unpacked additional libs.
8.Right click on otserv project in left side and choose rebuild project.
9.After some minutes otserv should be in project-files/vc10/Release/otserv.exe
10.Copy it to some other dir along with config.lua.dist rename it to config.lua and otserv.pdb and dlls from
https://www.sendspace.com/file/tj6dtt
Isn't that simple ?
Big thanks to Simone for compiling newest libs and releasing them i just made it more simpler
Patch level 1 : Upgraded boost to 1.47 upgraded sqlite to 3.7.7.1 and added missing .pdb file , also added missing .dlls for some systems ,added openssl for TFS 0.4 Compilation.
LINUX Debian;
aptitude install autoconf libxml2-dev liblua5.1-0-dev g++ libgmp3-dev libboost-filesystem1.49-dev libboost-system1.49-dev libboost-regex1.49-dev libboost-thread1.49-dev make libsqlite3-dev libmysqlclient15-dev mysql-server liblua5.1-sql-mysql-dev
cd src
./autogen.sh
./configure --enable-mysql
make
you can use make -j 8 for example if you have 8 cores it will speed up compilation x8.
1.Download and install msvc 2010 http://www.microsoft.com/express/Downloads/#2010-Visual-CPP
2.Download latest trunk https://github.com/opentibia/server/archive/legacy.zip
3.Open visual studio project it is located in project-files/vc10/vc10.sln (project)
4.Download and unpack https://www.sendspace.com/file/fz1o43 those are additional libs to compile otserv(boost etc).
5.In msvc select Release option instead of Debug it is located in top center in the program.
6.Select otserv project in left side of visual studio then go to project > properties > C/C++ > general > additional include directories and there add "include" directory from where you unpacked additional libs.
7.In msvc Go to project > properties > linker > general > additional library directories and there add "libs" directory from where you unpacked additional libs.
8.Right click on otserv project in left side and choose rebuild project.
9.After some minutes otserv should be in project-files/vc10/Release/otserv.exe
10.Copy it to some other dir along with config.lua.dist rename it to config.lua and otserv.pdb and dlls from
https://www.sendspace.com/file/tj6dtt
Isn't that simple ?
Big thanks to Simone for compiling newest libs and releasing them i just made it more simpler
Patch level 1 : Upgraded boost to 1.47 upgraded sqlite to 3.7.7.1 and added missing .pdb file , also added missing .dlls for some systems ,added openssl for TFS 0.4 Compilation.
LINUX Debian;
aptitude install autoconf libxml2-dev liblua5.1-0-dev g++ libgmp3-dev libboost-filesystem1.49-dev libboost-system1.49-dev libboost-regex1.49-dev libboost-thread1.49-dev make libsqlite3-dev libmysqlclient15-dev mysql-server liblua5.1-sql-mysql-dev
cd src
./autogen.sh
./configure --enable-mysql
make
you can use make -j 8 for example if you have 8 cores it will speed up compilation x8.
Last edited: