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

OTClient Error compiling OTClientV8

xomuz

New Member
Joined
Jan 19, 2024
Messages
8
Reaction score
3
I’m trying to compile OTClientV8 (GitHub - OTCv8/otcv8-dev: OTCv8 Development repository (source code) (https://github.com/OTCv8/otcv8-dev)) in Visual Studio 2022, but I’m getting errors. As far as I know, the issue is that newer versions of Boost no longer support io_service

C++:
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
'boost::asio::io_context &boost::asio::basic_io_object<IoObjectService,Movable>::get_io_context(void)': member function already defined or declared
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory
 
I recommend that you use OTCv8 from OTAcademy, since it’s more up to date and has better support for newer Boost and libs. The one you downloaded is old, so you’d need to install older Boost and libs to make it compatible and compile the source. That’s why I suggest migrating to the latest version, which right now is OTCv8 from OTAcademy it already supports the latest versions, and it even downloads the required libs and Boost automatically for you, so you don’t have to worry about it.
 

I recommend that you use OTCv8 from OTAcademy, since it’s more up to date and has better support for newer Boost and libs. The one you downloaded is old, so you’d need to install older Boost and libs to make it compatible and compile the source. That’s why I suggest migrating to the latest version, which right now is OTCv8 from OTAcademy it already supports the latest versions, and it even downloads the required libs and Boost automatically for you, so you don’t have to worry about it.
Yeah, but I don't like the look of this version, and I would prefer to compile the original source of OTClientV8
 
Yeah, but I don't like the look of this version, and I would prefer to compile the original source of OTClientV8
you’re talking about not liking the new look, like the option/hotkey, right? if that’s the case it’s simple: just grab the old modules, replace them and make the adjustments it works. I did that, check my commit:
commit on GitHub

I also didn’t like the option/hotkey style from global, felt weird. I had to go back to the commit where Oen updated it, used git checkout to restore the old modules, then switched back to the latest and replaced them. made some tweaks and it worked fine.

you don’t need to download from here, just use OTCv8 from OTAcademy (it’s more up-to-date), apply the changes, and done you’ll get the old hotkey/options style back.
 

Similar threads

Back
Top