• 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!

Compiling Downgraded OTX client 8.1

Addams

OTMadness.com OTSes Services
Staff member
Board Moderator
Joined
Sep 29, 2009
Messages
2,934
Solutions
343
Reaction score
1,704
Location
Egypt
I couldn't find any downgraded TFS for client version 8.1 so I am trying to use downgraded OTX 8.1
and I keep getting this error while compiling any idea what does it mean? or how to solve it?
Everything works properly without errors until it comes to generating code then this happens

Code:
1>  Finished generating code
1>libboost_regex-vc140-mt-1_64.lib(instances.obj) : error LNK2005: "private: class boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > > & __cdecl boost::basic_regex<char,struct boost::regex_traits<char,class boost::w32_regex_traits<char> > >::do_assign(char const *,char const *,unsigned int)" (?do_assign@?$basic_regex@DU?$regex_traits@DV?$w32_regex_traits@D@boost@@@boost@@@boost@@AEAAAEAV12@PEBD0I@Z) already defined in boost_regex-vc140-mt.lib(boost_regex-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "public: __cdecl boost::thread::thread(void)" (??0thread@boost@@QEAA@XZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "public: virtual __cdecl boost::detail::thread_data_base::~thread_data_base(void)" (??1thread_data_base@detail@boost@@UEAA@XZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "public: void __cdecl boost::thread::detach(void)" (?detach@thread@boost@@QEAAXXZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "class boost::thread::id __cdecl boost::this_thread::get_id(void)" (?get_id@this_thread@boost@@YA?AVid@thread@2@XZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "public: class boost::thread::id __cdecl boost::thread::get_id(void)const " (?get_id@thread@boost@@QEBA?AVid@12@XZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "private: bool __cdecl boost::thread::join_noexcept(void)" (?join_noexcept@thread@boost@@AEAA_NXZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>libboost_thread-vc140-mt-1_64.lib(thread.obj) : error LNK2005: "private: bool __cdecl boost::thread::start_thread_noexcept(void)" (?start_thread_noexcept@thread@boost@@AEAA_NXZ) already defined in boost_thread-vc140-mt.lib(boost_thread-vc141-mt-x64-1_70.dll)
1>E:\My 8.10\otxserver-final_2_x_3\path_8_1x\sources\msvc\x64\Release\TheOTXServer.exe : fatal error LNK1169: one or more multiply defined symbols found
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Here is the one I used
 
Last edited:
Solution
I got helped with it, it was loading included boosts from environment variables and vcpkg at same time so I had to uninstall vcpkg.
I got helped with it, it was loading included boosts from environment variables and vcpkg at same time so I had to uninstall vcpkg.
 
Solution
I ran into this same issue recently, a more explicit solution:

On vcpkg folder ['vcpkg.exe path'] (if you want to compile a TFS with included boost, you must remove user-wide integration first)
Code:
./vcpkg integrate remove

If you want to compile a TFS / Canary which uses vcpkg then you must enable/install it again
Code:
./vcpkg integrate install
 
Last edited:
Back
Top