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

(Kompilacja) tfs 1.2+ pod 8.60 by ninja

Edroniasty

New Member
Joined
Oct 2, 2015
Messages
84
Reaction score
1
Witam! staram się skąpilować tego tfsa jednak wywala sporo błędów (wydaje mi się że postępuję zgodnie z poradnikiem..

- vc 2015 pro
- tfs sdk 3.2
- silnik 8.6 tfs 1.2+ by ninja
- boost 1.59.0

error:
Code:
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>  otpch.cpp
1>C:\Users\Damianek\Desktop\roxor\kompilowanie\boost_1_59_0\boost/asio/detail/config.hpp(227): warning C4005: 'BOOST_ASIO_ERROR_CATEGORY_NOEXCEPT': macro redefinition
1>  C:\Users\Damianek\Desktop\roxor\kompilowanie\boost_1_59_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>..\src\actions.cpp(524): fatal error C1090: PDB API call failed, error code '23': '(
1>..\src\commands.cpp(343): fatal error C1090: PDB API call failed, error code '23': '(
1>C:\Users\Damianek\Desktop\msvc\VC\include\xxatomic(860): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\container.cpp)
1>C:\Users\Damianek\Desktop\msvc\VC\include\xhash(266): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\configmanager.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xhash(266): note: while compiling class template member function 'std::_Hash<std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>::~_Hash(void) noexcept'
1>          with
1>          [
1>              _Kty=Creature *,
1>              _Hasher=std::hash<Creature *>,
1>              _Keyeq=std::equal_to<Creature *>,
1>              _Alloc=std::allocator<Creature *>
1>          ] (compiling source file ..\src\configmanager.cpp)
1>..\src\chat.cpp(606): fatal error C1090: PDB API call failed, error code '23': '(
1>  database.cpp
1>  ..\src\configmanager.cpp(207): note: see reference to function template instantiation 'std::_Hash<std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>::~_Hash(void) noexcept' being compiled
1>          with
1>          [
1>              _Kty=Creature *,
1>              _Hasher=std::hash<Creature *>,
1>              _Keyeq=std::equal_to<Creature *>,
1>              _Alloc=std::allocator<Creature *>
1>          ]
1>  C:\Users\Damianek\Desktop\msvc\VC\include\unordered_set(60): note: see reference to class template instantiation 'std::_Hash<std::_Uset_traits<_Kty,std::_Uhash_compare<_Kty,_Hasher,_Keyeq>,_Alloc,false>>' being compiled
1>          with
1>          [
1>              _Kty=Creature *,
1>              _Hasher=std::hash<Creature *>,
1>              _Keyeq=std::equal_to<Creature *>,
1>              _Alloc=std::allocator<Creature *>
1>          ] (compiling source file ..\src\configmanager.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(1445): note: see reference to class template instantiation 'std::unordered_set<Creature *,std::hash<_Kty>,std::equal_to<_Kty>,std::allocator<_Ty>>' being compiled
1>          with
1>          [
1>              _Kty=Creature *,
1>              _Ty=Creature *
1>          ] (compiling source file ..\src\configmanager.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(1444): note: while compiling class template member function 'std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>> std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::erase(std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>>,std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>>)'
1>          with
1>          [
1>              _Kty=Position,
1>              _Ty=SpectatorVec,
1>              _Pr=std::less<Position>,
1>              _Alloc=std::allocator<std::pair<const Position,SpectatorVec>>
1>          ] (compiling source file ..\src\configmanager.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(2168): note: see reference to function template instantiation 'std::_Tree_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>> std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>::erase(std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>>,std::_Tree_const_iterator<std::_Tree_val<std::_Tree_simple_types<std::pair<const _Kty,_Ty>>>>)' being compiled
1>          with
1>          [
1>              _Kty=Position,
1>              _Ty=SpectatorVec,
1>              _Pr=std::less<Position>,
1>              _Alloc=std::allocator<std::pair<const Position,SpectatorVec>>
1>          ] (compiling source file ..\src\configmanager.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\map(73): note: see reference to class template instantiation 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>' being compiled
1>          with
1>          [
1>              _Kty=Position,
1>              _Ty=SpectatorVec,
1>              _Pr=std::less<Position>,
1>              _Alloc=std::allocator<std::pair<const Position,SpectatorVec>>
1>          ] (compiling source file ..\src\configmanager.cpp)
1>  c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\map.h(274): note: see reference to class template instantiation 'std::map<Position,SpectatorVec,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' being compiled
1>          with
1>          [
1>              _Kty=Position,
1>              _Ty=SpectatorVec
1>          ] (compiling source file ..\src\configmanager.cpp)
1>c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\item.h(111): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\creature.cpp)
1>  databasemanager.cpp
1>  databasetasks.cpp
1>  depotchest.cpp
1>  depotlocker.cpp
1>C:\Users\Damianek\Desktop\roxor\kompilowanie\boost_1_59_0\boost/iterator/detail/facade_iterator_category.hpp(51): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\creatureevent.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>  ioguild.cpp
1>  iologindata.cpp
1>  iomap.cpp
1>  iomapserialize.cpp
1>  item.cpp
1>  items.cpp
1>  luascript.cpp
1>  mailbox.cpp
1>  map.cpp
1>  monster.cpp
1>  monsters.cpp
1>  movement.cpp
1>  networkmessage.cpp
1>  npc.cpp
1>  otserv.cpp
1>  outfit.cpp
1>  outputmessage.cpp
1>  party.cpp
1>  player.cpp
1>  position.cpp
1>  protocol.cpp
1>C:\Users\Damianek\Desktop\msvc\VC\include\atomic(659): error C2338: You've instantiated std::atomic<T> with sizeof(T) equal to 2/4/8 and alignof(T) < sizeof(T). Before VS 2015 Update 2, this would have misbehaved at runtime. VS 2015 Update 2 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility. Please define _ENABLE_ATOMIC_ALIGNMENT_FIX to acknowledge that you understand this, and that everything you're linking has been compiled with VS 2015 Update 2 (or later). (compiling source file ..\src\outputmessage.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\atomic(669): note: see reference to class template instantiation 'std::_Atomic_base<_Ty,4>' being compiled
1>          with
1>          [
1>              _Ty=boost::lockfree::detail::tagged_index
1>          ] (compiling source file ..\src\outputmessage.cpp)
1>  C:\Users\Damianek\Desktop\roxor\kompilowanie\boost_1_59_0\boost/lockfree/detail/freelist.hpp(603): note: see reference to class template instantiation 'std::atomic<boost::lockfree::detail::tagged_index>' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  C:\Users\Damianek\Desktop\roxor\kompilowanie\boost_1_59_0\boost/lockfree/detail/freelist.hpp(604): note: see reference to class template instantiation 'boost::lockfree::detail::fixed_size_freelist<T,NodeStorage>' being compiled (compiling source file ..\src\outputmessage.cpp)
1>  protocolgame.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>  protocolstatus.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>  talkaction.cpp
1>  tasks.cpp
1>  teleport.cpp
1>  thing.cpp
1>c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\chat.h(152): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\teleport.cpp)
1>..\src\raids.cpp(600): fatal error C1090: PDB API call failed, error code '23': '(
1>..\src\scriptmanager.cpp(123): fatal error C1090: PDB API call failed, error code '23': '(
1>C:\Users\Damianek\Desktop\msvc\VC\include\xtree(702): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\spells.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(701): note: while compiling class template member function 'std::_Tree_comp_alloc<_Traits>::_Tree_comp_alloc(const std::less<_Kty> &)'
1>          with
1>          [
1>              _Traits=std::_Tmap_traits<uint32_t,Player *,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,Player *>>,false>,
1>              _Kty=uint32_t
1>          ] (compiling source file ..\src\spells.cpp)
1>C:\Users\Damianek\Desktop\msvc\VC\include\memory(1263): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\tasks.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\memory(1262): note: while compiling class template member function 'AreaCombat *&std::_Unique_ptr_base<_Ty,_Dx>::_Myptr(void) noexcept'
1>          with
1>          [
1>              _Ty=AreaCombat,
1>              _Dx=std::default_delete<AreaCombat>
1>          ] (compiling source file ..\src\tasks.cpp)
1>C:\Users\Damianek\Desktop\msvc\VC\include\forward_list(885): fatal error C1090: PDB API call failed, error code '23': '( (compiling source file ..\src\spawn.cpp)
1>  c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\combat.h(317): note: see reference to function template instantiation 'void std::forward_list<std::unique_ptr<const Condition,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::emplace_front<const Condition*&>(const Condition *&)' being compiled
1>          with
1>          [
1>              _Ty=const Condition
1>          ] (compiling source file ..\src\spawn.cpp)
1>..\src\thing.cpp(43): fatal error C1090: PDB API call failed, error code '23': '(
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(1003): note: see reference to function template instantiation 'std::_Tree_comp_alloc<_Traits>::_Tree_comp_alloc(const std::less<_Kty> &)' being compiled
1>          with
1>          [
1>              _Traits=std::_Tmap_traits<uint32_t,Player *,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,Player *>>,false>,
1>              _Kty=uint32_t
1>          ] (compiling source file ..\src\spells.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\memory(1430): note: see reference to function template instantiation 'AreaCombat *&std::_Unique_ptr_base<_Ty,_Dx>::_Myptr(void) noexcept' being compiled
1>          with
1>          [
1>              _Ty=AreaCombat,
1>              _Dx=std::default_delete<AreaCombat>
1>          ] (compiling source file ..\src\tasks.cpp)
1>  c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\combat.h(317): note: see reference to function template instantiation 'void std::forward_list<std::unique_ptr<const Condition,std::default_delete<_Ty>>,std::allocator<std::unique_ptr<_Ty,std::default_delete<_Ty>>>>::emplace_front<const Condition*&>(const Condition *&)' being compiled
1>          with
1>          [
1>              _Ty=const Condition
1>          ] (compiling source file ..\src\spawn.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\xtree(957): note: see reference to class template instantiation 'std::_Tree_comp_alloc<_Traits>' being compiled
1>          with
1>          [
1>              _Traits=std::_Tmap_traits<uint32_t,Player *,std::less<uint32_t>,std::allocator<std::pair<const uint32_t,Player *>>,false>
1>          ] (compiling source file ..\src\spells.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\memory(1279): note: see reference to class template instantiation 'std::_Unique_ptr_base<_Ty,_Dx>' being compiled
1>          with
1>          [
1>              _Ty=AreaCombat,
1>              _Dx=std::default_delete<AreaCombat>
1>          ] (compiling source file ..\src\tasks.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\map(73): note: see reference to class template instantiation 'std::_Tree<std::_Tmap_traits<_Kty,_Ty,_Pr,_Alloc,false>>' being compiled
1>          with
1>          [
1>              _Kty=uint32_t,
1>              _Ty=Player *,
1>              _Pr=std::less<uint32_t>,
1>              _Alloc=std::allocator<std::pair<const uint32_t,Player *>>
1>          ] (compiling source file ..\src\spells.cpp)
1>  c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\combat.h(352): note: see reference to class template instantiation 'std::unique_ptr<AreaCombat,std::default_delete<_Ty>>' being compiled
1>          with
1>          [
1>              _Ty=AreaCombat
1>          ] (compiling source file ..\src\tasks.cpp)
1>  c:\users\damianek\desktop\roxor\roxor ots\forgottenserver-8.6\src\chat.h(78): note: see reference to class template instantiation 'std::map<uint32_t,Player *,std::less<_Kty>,std::allocator<std::pair<const _Kty,_Ty>>>' being compiled
1>          with
1>          [
1>              _Kty=uint32_t,
1>              _Ty=Player *
1>          ] (compiling source file ..\src\spells.cpp)
1>  C:\Users\Damianek\Desktop\msvc\VC\include\chrono(1075): note: see reference to class template instantiation 'std::chrono::duration<__int64,std::milli>' being compiled (compiling source file ..\src\tasks.cpp)
1>..\src\talkaction.cpp(162): fatal error C1090: PDB API call failed, error code '23': '(
1>  tile.cpp
1>  tools.cpp
1>  trashholder.cpp
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
1>  wildcardtree.cpp
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
a kompilowałeś inne source? bo problem ze source chyba masz. jak sprawdzisz na innym source to będziesz wiedział co nie tak jest :)
 
a kompilowałeś inne source? bo problem ze source chyba masz. jak sprawdzisz na innym source to będziesz wiedział co nie tak jest :)
moje source to [8.60] The Forgotten Server 1.2 source popularne więc nie powinno być problemu, nie chcę używać innego source bo tylko ninja wypuszcza tfsa 1.2+ pod 8.6 moje ustawienia w wmsvc:

1.png

2.png


myślę że wszystko jest ok..
 
Back
Top