Sajgon
Advanced OT User
I am trying to compile TFS sources on my Windows 10 PC with settings 'Release - x64' . It worked fine before I just dont know what happend.
I am getting this error
I have tried
.. to repair Visual Studio 2015
.. to restart PC
.. to google
.. to #include <boost/system/config.hpp> in the files with the errors.
.. to include boost/systems in properties
.. to build Win32 edition but same errors
These are my setting in ..
C/C++ > General > Additional Include Directories
I am using a modified TFS 1.2.
Any ideas? Thank you in advance.
Regards
Sajgon
I am getting this error
Code:
1> waitlist.cpp
1> weapons.cpp
1> wildcardtree.cpp
1>connection.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & cdecl boost::system::system_category(void)" (?system_category@system@boost@@YAAEBVerror_category@12@XZ)
1>fileloader.obj : error LNK2001: unresolved external symbol "public: unsigned int64 cdecl boost::iostreams::mapped_file_source::size(void)const " (?size@mapped_file_source@iostreams@boost@@QEBA_KXZ)
1>fileloader.obj : error LNK2001: unresolved external symbol "public: char const * cdecl boost::iostreams::mapped_file_source::end(void)const " (?end@mapped_file_source@iostreams@boost@@QEBAPEBDXZ)
1>fileloader.obj : error LNK2001: unresolved external symbol "public: char const * cdecl boost::iostreams::mapped_file_source::begin(void)const " (?begin@mapped_file_source@iostreams@boost@@QEBAPEBDXZ)
1>fileloader.obj : error LNK2001: unresolved external symbol "private: void cdecl boost::iostreams::mapped_file_source::init(void)" (?init@mapped_file_source@iostreams@boost@@AEAAXXZ)
1>fileloader.obj : error LNK2001: unresolved external symbol "private: void cdecl boost::iostreams::mapped_file_source::open_impl(struct boost::iostreams::basic_mapped_file_params<class boost::iostreams::detail::path> const &)" (?open_impl@mapped_file_source@iostreams@boost@@AEAAXAEBU?$basic_mapped_file_params@Vpath@detail@iostreams@boost@@@23@@Z)
1>otpch.obj : error LNK2001: unresolved external symbol "class boost::system::error_category const & cdecl boost::system::generic_category(void)" (?generic_category@system@boost@@YAAEBVerror_category@12@XZ)
1>C:\Users\Sajgon\Desktop\forgottenserver-master\vc14\x64\Release\theforgottenserver.exe : fatal error LNK1120: 7 unresolved externals
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
I have tried
.. to repair Visual Studio 2015
.. to restart PC
.. to google
.. to #include <boost/system/config.hpp> in the files with the errors.
.. to include boost/systems in properties
.. to build Win32 edition but same errors
These are my setting in ..
C/C++ > General > Additional Include Directories
Linker > General > Additional Library DirectoriesD:\projects\OT\tfs-sdk-3.2\pugixml\include;
D:\projects\OT\tfs-sdk-3.2\mysql-connector-c\include;
D:\projects\OT\tfs-sdk-3.2\mpir\include;
D:\projects\OT\tfs-sdk-3.2\LuaJIT\include;
D:\local\boost_1_62_0;
D:\local\boost_1_62_0\lib64-msvc-14.0;
D:\projects\OT\tfs-sdk-3.2\LuaJIT\lib64;
D:\projects\OT\tfs-sdk-3.2\mysql-connector-c\lib64;
D:\projects\OT\tfs-sdk-3.2\mpir\lib64;
I am using a modified TFS 1.2.
Any ideas? Thank you in advance.
Regards
Sajgon