Code:
Total install time: 6.338 min
The package boost is compatible with built-in CMake targets:
find_package(Boost REQUIRED [COMPONENTS <libs>...])
target_link_libraries(main PRIVATE Boost::boost Boost::<lib1> Boost::<lib2> ...)
cryptopp provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(cryptopp CONFIG REQUIRED)
target_link_libraries(main PRIVATE cryptopp::cryptopp)
The package fmt provides CMake targets:
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt)
# Or use the header-only version
find_package(fmt CONFIG REQUIRED)
target_link_libraries(main PRIVATE fmt::fmt-header-only)
libmariadb provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(unofficial-libmariadb CONFIG REQUIRED)
target_link_libraries(main PRIVATE unofficial::libmariadb)
pugixml provides CMake targets:
# this is heuristically generated, and may not be correct
find_package(pugixml CONFIG REQUIRED)
target_link_libraries(main PRIVATE pugixml pugixml::shared pugixml::pugixml)
C:\vcpkg>
C++:
Build started...
1>------ Build started: Project: theforgottenserver, Configuration: Debug x64 ------
1>otpch.cpp
1>actions.cpp
1>ban.cpp
1>baseevents.cpp
1>bed.cpp
1>chat.cpp
1>combat.cpp
1>condition.cpp
1>configmanager.cpp
1>connection.cpp
1>container.cpp
1>creature.cpp
1>creatureevent.cpp
1>cylinder.cpp
1>database.cpp
1>databasemanager.cpp
1>databasetasks.cpp
1>depotchest.cpp
1>depotlocker.cpp
1>events.cpp
1>fileloader.cpp
1>game.cpp
1>globalevent.cpp
1>groups.cpp
1>guild.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\chat.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\container.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\condition.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\bed.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\actions.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\combat.cpp)
1>house.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\configmanager.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\creature.cpp)
1>housetile.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\events.cpp)
1>inbox.cpp
1>iologindata.cpp
1>iomap.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\game.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\guild.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\housetile.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\house.cpp)
1>iomapserialize.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\iologindata.cpp)
1>iomarket.cpp
1>item.cpp
1>items.cpp
1>luascript.cpp
1>mailbox.cpp
1>map.cpp
1>monster.cpp
1>monsters.cpp
1>mounts.cpp
1>movement.cpp
1>networkmessage.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\iomapserialize.cpp)
1>npc.cpp
1>C:\vcpkg\forgottenserver\src\movement.h(125,1): warning C4242: 'argument': conversion from 'int32_t' to 'unsigned short', possible loss of data (compiling source file ..\src\items.cpp)
1>otserv.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\item.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\luascript.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\mailbox.cpp)
1>outfit.cpp
1>C:\vcpkg\forgottenserver\src\movement.h(125,1): warning C4242: 'argument': conversion from 'int32_t' to 'unsigned short', possible loss of data (compiling source file ..\src\movement.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\map.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\monsters.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\monster.cpp)
1>outputmessage.cpp
1>party.cpp
1>player.cpp
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1735,42): warning C4996: 'fmt::v9::detail::arg_mapper<Context>::map': was declared deprecated
1> with
1> [
1> Context=fmt::v9::format_context
1> ] (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1777,1): message : see reference to function template instantiation 'fmt::v9::detail::value<Context> fmt::v9::detail::make_value<Context,AccessList_t&>(T)' being compiled
1> with
1> [
1> Context=fmt::v9::format_context,
1> T=AccessList_t &
1> ] (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1895,1): message : see reference to function template instantiation 'fmt::v9::detail::value<Context> fmt::v9::detail::make_arg<true,Context,fmt::v9::detail::type::int_type,AccessList_t&,0>(T)' being compiled
1> with
1> [
1> Context=fmt::v9::format_context,
1> T=AccessList_t &
1> ] (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1917,59): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::format_arg_store<uint32_t&,AccessList_t&,std::string&>(uint32_t &,AccessList_t &,std::string &)' being compiled (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1918,3): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>::format_arg_store<uint32_t&,AccessList_t&,std::string&>(uint32_t &,AccessList_t &,std::string &)' being compiled (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(3205,20): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>> fmt::v9::make_format_args<fmt::v9::format_context,uint32_t&,AccessList_t&,std::string&>(uint32_t &,AccessList_t &,std::string &)' being compiled (compiling source file ..\src\iomapserialize.cpp)
1>C:\vcpkg\forgottenserver\src\iomapserialize.cpp(326,7): message : see reference to function template instantiation 'std::string fmt::v9::format<uint32_t,AccessList_t,std::string>(fmt::v9::basic_format_string<char,unsigned int,AccessList_t,std::basic_string<char,std::char_traits<char>,std::allocator<char>>>,uint32_t &&,AccessList_t &&,std::string &&)' being compiled
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1735,42): warning C4996: 'fmt::v9::detail::arg_mapper<Context>::map': was declared deprecated
1> with
1> [
1> Context=fmt::v9::format_context
1> ] (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1777,1): message : see reference to function template instantiation 'fmt::v9::detail::value<Context> fmt::v9::detail::make_value<Context,MarketAction_t&>(T)' being compiled
1> with
1> [
1> Context=fmt::v9::format_context,
1> T=MarketAction_t &
1> ] (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1895,1): message : see reference to function template instantiation 'fmt::v9::detail::value<Context> fmt::v9::detail::make_arg<true,Context,fmt::v9::detail::type::int_type,MarketAction_t&,0>(T)' being compiled
1> with
1> [
1> Context=fmt::v9::format_context,
1> T=MarketAction_t &
1> ] (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1917,59): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,MarketAction_t,unsigned short>::format_arg_store<MarketAction_t&,uint16_t&>(MarketAction_t &,uint16_t &)' being compiled (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(1918,3): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,MarketAction_t,unsigned short>::format_arg_store<MarketAction_t&,uint16_t&>(MarketAction_t &,uint16_t &)' being compiled (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\installed\x64-windows\include\fmt\core.h(3205,20): message : see reference to function template instantiation 'fmt::v9::format_arg_store<fmt::v9::format_context,MarketAction_t,unsigned short> fmt::v9::make_format_args<fmt::v9::format_context,MarketAction_t&,uint16_t&>(MarketAction_t &,uint16_t &)' being compiled (compiling source file ..\src\iomarket.cpp)
1>C:\vcpkg\forgottenserver\src\iomarket.cpp(24,20): message : see reference to function template instantiation 'std::string fmt::v9::format<MarketAction_t&,uint16_t&>(fmt::v9::basic_format_string<char,MarketAction_t &,uint16_t &>,MarketAction_t &,uint16_t &)' being compiled
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\npc.cpp)
1>podium.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\otserv.cpp)
1>position.cpp
1>protocol.cpp
1>protocolgame.cpp
1>protocollogin.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\party.cpp)
1>protocolold.cpp
1>quests.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\player.cpp)
1>raids.cpp
1>rsa.cpp
1>scheduler.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\podium.cpp)
1>script.cpp
1>scriptmanager.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\protocollogin.cpp)
1>server.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\protocolgame.cpp)
1>signals.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\protocolold.cpp)
1>spawn.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\quests.cpp)
1>spells.cpp
1>storeinbox.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\raids.cpp)
1>protocolstatus.cpp
1>C:\vcpkg\forgottenserver\src\movement.h(125,1): warning C4242: 'argument': conversion from 'int32_t' to 'unsigned short', possible loss of data (compiling source file ..\src\scriptmanager.cpp)
1>talkaction.cpp
1>tasks.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\signals.cpp)
1>C:\vcpkg\forgottenserver\src\spells.h(141,1): warning C4242: 'argument': conversion from 'int32_t' to 'unsigned short', possible loss of data (compiling source file ..\src\spells.cpp)
1>teleport.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\spawn.cpp)
1>thing.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\protocolstatus.cpp)
1>tile.cpp
1>tools.cpp
1>trashholder.cpp
1>vocation.cpp
1>C:\vcpkg\forgottenserver\src\tools.cpp(165,32): warning C4242: '=': conversion from 'uint32_t' to 'uint8_t', possible loss of data
1>weapons.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\talkaction.cpp)
1>wildcardtree.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\tasks.cpp)
1>xtea.cpp
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\teleport.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\vocation.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\tile.cpp)
1>C:\vcpkg\forgottenserver\src\weapons.h(113,1): warning C4242: 'argument': conversion from 'int32_t' to 'unsigned short', possible loss of data (compiling source file ..\src\weapons.cpp)
1>C:\vcpkg\forgottenserver\src\player.h(453,48): warning C4242: 'argument': conversion from 'const int32_t' to 'const _Ty', possible loss of data
1> with
1> [
1> _Ty=uint16_t
1> ] (compiling source file ..\src\trashholder.cpp)
1>theforgottenserver.vcxproj -> C:\vcpkg\forgottenserver\vc17\x64\Debug\theforgottenserver-x64.exe
1>Done building project "theforgottenserver.vcxproj".
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Elapsed 00:20.492 ==========