Vagnerking / tfs0.4-3996

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

  1. Compiled on Windows

  2. Source:

  3. Dev-cpp: https://github.com/YaanLiima/binaries/raw/master/Stians%20Repack%20Dev-Cpp%200.2%2C%2064bit.rar

  4. MSVC10 libs and includes: https://github.com/YaanLiima/binaries/raw/master/vc10_pack.rar MSVC15 libs and includes: https://github.com/YaanLiima/binaries/raw/master/vc15_pack.rar

  5. Compile on linux:

    • apt-get install subversion autoconf build-essential pkg-config automake libboost-all-dev libgmp3-dev libxml2-dev liblua5.1-0-dev libssl-dev libmysql++-dev libtool libcrypto++-dev libmysqlclient-dev libsqlite3-dev libluajit-5.1-dev
    • cd /3996-master
    • chmod -R 777 source
    • cd source
    • ./autogen.sh && ./configure --enable-sqlite --enable-mysql --enable-root-permission --enable-server-diag && ./build.sh
  6. ERROR Ubuntu 18.04?

configure: error: "boost::unordered_set header not found. Please update your boost to at least 1.40."

  1. #Solution: Search on configure.ac and house.h:
    • boost/tr1/unordered_set.hpp Replaces with:
    • boost/unordered_set.hpp And at house.h look for:
    • typedef std::tr1::unordered_set<uint32_t> PlayerList; Replaces with:
    • typedef boost::unordered_set<uint32_t> PlayerList;

About


Languages

Language:C++ 90.2%Language:Lua 8.1%Language:C 1.3%Language:M4 0.3%Language:Makefile 0.1%Language:Shell 0.0%