• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Compile error with boost libraries

Status
Not open for further replies.

katos

Noble Member
Hi all,

have just pulled a copy of Trinity core, applied the Boost library and have done all that, when I come to compile using Visual studio, I end up with the following error:

Error 1 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 shared
Error 2 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 3 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 4 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 5 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 6 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 7 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 collision
Error 8 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 game
Error 9 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 scripts
Error 10 error C1083: Cannot open include file: 'boost/property_tree/ptree.hpp': No such file or directory D:\core2\src\server\shared\Configuration\Config.h 25 1 authserver
Error 11 error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory D:\core2\src\server\shared\Logging\Log.h 26 1 worldserver

Any ideas what the issue possibly issue? I tried to apply the file /boost/asio/io_service.hpp manually to ALL_BUILD but this didn't help.

Regards,
Katos.
 

Crysicle

Enthusiast
Would you mind sharing how you fixed the "No BOOST_ROOT environment variable could be found!" error which seems to be related to this issue? I'm still struggling with it, even though i applied the "set (ENV {BOOST_ROOT} "C :/ Boost")" fix and installed boost.
 

katos

Noble Member
Would you mind sharing how you fixed the "No BOOST_ROOT environment variable could be found!" error which seems to be related to this issue? I'm still struggling with it, even though i applied the "set (ENV {BOOST_ROOT} "C :/ Boost")" fix and installed boost.

[MENTION=1265]Crysicle[/MENTION]
On line 57 of Cmakelists set this:
set (ENV {BOOST_ROOT} "C:/Boost")

Your file must now look like this:
da57a9cfc4.png


Then it should work :)
Be sure to clear your Cmake cache
 
Last edited:

frost

Banned
dont even try to use their repo. im going to be making a guide and posting my core that i got yesterday. their guide was wrong and imma post my findings here for emudevs because i love you guys! time i bring my findings to the table :D
 
Status
Not open for further replies.
Top