Edroniasty
New Member
- Joined
- Oct 2, 2015
- Messages
- 84
- Reaction score
- 1
Witam już od kilku tygodni staram się skąpilować tego tfsa (1.1), ale występują liczne błędy, kompiluje na mvs 2015.
log:
>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1> otpch.cpp
1> Unknown compiler version - please run the configure tests and report the results
1>C:\boost_1_58_0\boost/asio/detail/config.hpp(227): warning C4005: 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT': macro redefinition
1> C:\boost_1_58_0\boost/asio/detail/config.hpp(213): note: see previous definition of 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT'
1> actions.cpp
1> ban.cpp
1> baseevents.cpp
1> bed.cpp
1> chat.cpp
1> combat.cpp
1> commands.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> house.cpp
1> housetile.cpp
1> inbox.cpp
1> ioguild.cpp
1> iologindata.cpp
1> iomap.cpp
1> iomapserialize.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> npc.cpp
1> otserv.cpp
1> outfit.cpp
1> outputmessage.cpp
1>C:\boost_1_58_0\boost/lockfree/detail/freelist.hpp(468): warning C4189: 'n': local variable is initialized but not referenced (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(476): note: see reference to function template instantiation 'void boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::destruct<false>(boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::tagged_node_handle)' being compiled
1> with
1> [
1> T=boost::lockfree::stack<_Refoa *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::node
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(476): note: see reference to function template instantiation 'void boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::destruct<false>(boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::tagged_node_handle)' being compiled
1> with
1> [
1> T=boost::lockfree::stack<_Refoa *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::node
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(449): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop<std::_Ref_count_obj_alloc<_Ty,_Alloc>>(U &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator,
1> U=_Refoa *
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(449): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop<std::_Ref_count_obj_alloc<_Ty,_Alloc>>(U &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator,
1> U=_Refoa *
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(448): note: while compiling class template member function 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop(std::_Ref_count_obj_alloc<_Ty,_Alloc> &)'
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(210): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop(std::_Ref_count_obj_alloc<_Ty,_Alloc> &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator
1> ] (compiling source file ..\src\outputmessage.cpp)
1> c:\forgottenserver-master\src\lockfree.h(43): note: see reference to class template instantiation 'boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>' being compiled
1> with
1> [
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> c:\forgottenserver-master\src\lockfree.h(42): note: while compiling class template member function 'void LockfreePoolingAllocator<U,0x0800>::deallocate(T *,size_t) const'
1> with
1> [
1> U=_Refoa,
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(911): note: see reference to function template instantiation 'void LockfreePoolingAllocator<U,0x0800>::deallocate(T *,size_t) const' being compiled
1> with
1> [
1> U=_Refoa,
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(801): note: see reference to class template instantiation 'LockfreePoolingAllocator<U,0x0800>' being compiled
1> with
1> [
1> U=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\memory(993): note: see reference to class template instantiation 'std::_Wrap_alloc<LockfreePoolingAllocator<U,0x0800>>' being compiled
1> with
1> [
1> U=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> ..\src\outputmessage.cpp(81): note: see reference to function template instantiation 'std::shared_ptr<OutputMessage> std::allocate_shared<OutputMessage,OutputMessageAllocator,>(const _Alloc &)' being compiled
1> with
1> [
1> _Alloc=OutputMessageAllocator
1> ]
1> party.cpp
1> player.cpp
1> position.cpp
1> protocol.cpp
1> protocolgame.cpp
1> protocollogin.cpp
1> protocolold.cpp
1> quests.cpp
1> raids.cpp
1> rsa.cpp
1> scheduler.cpp
1> scriptmanager.cpp
1> server.cpp
1> spawn.cpp
1> spells.cpp
1> protocolstatus.cpp
1> talkaction.cpp
1> tasks.cpp
1> teleport.cpp
1> thing.cpp
1> tile.cpp
1> tools.cpp
1> trashholder.cpp
1> vocation.cpp
1> waitlist.cpp
1> weapons.cpp
1> wildcardtree.cpp
1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc140-mt-1_58.lib'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Jak to naprawić? :/
log:
>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1> otpch.cpp
1> Unknown compiler version - please run the configure tests and report the results
1>C:\boost_1_58_0\boost/asio/detail/config.hpp(227): warning C4005: 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT': macro redefinition
1> C:\boost_1_58_0\boost/asio/detail/config.hpp(213): note: see previous definition of 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT'
1> actions.cpp
1> ban.cpp
1> baseevents.cpp
1> bed.cpp
1> chat.cpp
1> combat.cpp
1> commands.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> house.cpp
1> housetile.cpp
1> inbox.cpp
1> ioguild.cpp
1> iologindata.cpp
1> iomap.cpp
1> iomapserialize.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> npc.cpp
1> otserv.cpp
1> outfit.cpp
1> outputmessage.cpp
1>C:\boost_1_58_0\boost/lockfree/detail/freelist.hpp(468): warning C4189: 'n': local variable is initialized but not referenced (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(476): note: see reference to function template instantiation 'void boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::destruct<false>(boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::tagged_node_handle)' being compiled
1> with
1> [
1> T=boost::lockfree::stack<_Refoa *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::node
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(476): note: see reference to function template instantiation 'void boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::destruct<false>(boost::lockfree::detail::fixed_size_freelist<T,boost::lockfree::detail::compiletime_sized_freelist_storage<T,0x0800>>::tagged_node_handle)' being compiled
1> with
1> [
1> T=boost::lockfree::stack<_Refoa *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::node
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(449): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop<std::_Ref_count_obj_alloc<_Ty,_Alloc>>(U &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator,
1> U=_Refoa *
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(449): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop<std::_Ref_count_obj_alloc<_Ty,_Alloc>>(U &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator,
1> U=_Refoa *
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(448): note: while compiling class template member function 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop(std::_Ref_count_obj_alloc<_Ty,_Alloc> &)'
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\boost_1_58_0\boost/lockfree/stack.hpp(210): note: see reference to function template instantiation 'bool boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>::unsynchronized_pop(std::_Ref_count_obj_alloc<_Ty,_Alloc> &)' being compiled
1> with
1> [
1> T=_Refoa,
1> _Ty=OutputMessage,
1> _Alloc=OutputMessageAllocator
1> ] (compiling source file ..\src\outputmessage.cpp)
1> c:\forgottenserver-master\src\lockfree.h(43): note: see reference to class template instantiation 'boost::lockfree::stack<T *,boost::lockfree::capacity<0x0800>,boost:arameter::void_,boost:arameter::void_>' being compiled
1> with
1> [
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> c:\forgottenserver-master\src\lockfree.h(42): note: while compiling class template member function 'void LockfreePoolingAllocator<U,0x0800>::deallocate(T *,size_t) const'
1> with
1> [
1> U=_Refoa,
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(911): note: see reference to function template instantiation 'void LockfreePoolingAllocator<U,0x0800>::deallocate(T *,size_t) const' being compiled
1> with
1> [
1> U=_Refoa,
1> T=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xmemory0(801): note: see reference to class template instantiation 'LockfreePoolingAllocator<U,0x0800>' being compiled
1> with
1> [
1> U=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\memory(993): note: see reference to class template instantiation 'std::_Wrap_alloc<LockfreePoolingAllocator<U,0x0800>>' being compiled
1> with
1> [
1> U=_Refoa
1> ] (compiling source file ..\src\outputmessage.cpp)
1> ..\src\outputmessage.cpp(81): note: see reference to function template instantiation 'std::shared_ptr<OutputMessage> std::allocate_shared<OutputMessage,OutputMessageAllocator,>(const _Alloc &)' being compiled
1> with
1> [
1> _Alloc=OutputMessageAllocator
1> ]
1> party.cpp
1> player.cpp
1> position.cpp
1> protocol.cpp
1> protocolgame.cpp
1> protocollogin.cpp
1> protocolold.cpp
1> quests.cpp
1> raids.cpp
1> rsa.cpp
1> scheduler.cpp
1> scriptmanager.cpp
1> server.cpp
1> spawn.cpp
1> spells.cpp
1> protocolstatus.cpp
1> talkaction.cpp
1> tasks.cpp
1> teleport.cpp
1> thing.cpp
1> tile.cpp
1> tools.cpp
1> trashholder.cpp
1> vocation.cpp
1> waitlist.cpp
1> weapons.cpp
1> wildcardtree.cpp
1>LINK : fatal error LNK1104: cannot open file 'libboost_system-vc140-mt-1_58.lib'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Jak to naprawić? :/