Kompilacja TFS 1.2 Kompilacja - b??dy

poldek1996

User
Zarejestrowany
Dołączył
Styczeń 15, 2011
Posty
45
Liczba reakcji
1
Witam. Robie wszystko wed?ug poradnika znalezionego w internecie na innym forum, a Microsoft Visual wci?? wyrzuca mi b??dy:



Kod:
1>------ Rebuild All started: Project: theforgottenserver, Configuration: Release x64 ------
1>  otpch.cpp
1>  protocolgamebase.cpp
1>  protocolspectator.cpp
1>  actions.cpp
1>  ban.cpp
1>  baseevents.cpp
1>..\src\protocolspectator.cpp(376): warning C4100: 'broadcast': unreferenced formal parameter
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>..\src\depotchest.cpp(33): warning C4100: 'actor': unreferenced formal parameter
1>..\src\depotchest.cpp(32): warning C4100: 'index': unreferenced formal parameter
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>..\src\game.cpp(4391): warning C4456: declaration of 'targetPos' hides previous local declaration
1>  ..\src\game.cpp(4310): note: see declaration of 'targetPos'
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>..\src\movement.cpp(837): warning C4100: 'fromPos': unreferenced formal parameter
1>  otserv.cpp
1>  outfit.cpp
1>  outputmessage.cpp
1>  party.cpp
1>C:\Program Files (x86)\Microsoft Visual Studio 14.0\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:\Program Files (x86)\Microsoft Visual Studio 14.0\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:\local\boost_1_60_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:\local\boost_1_60_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>  player.cpp
1>  position.cpp
1>  protocol.cpp
1>  protocolgame.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>..\src\protocolgame.cpp(1435): warning C4100: 'depotId': unreferenced formal parameter
1>  quests.cpp
1>..\src\protocollogin.cpp(47): warning C4100: 'version': unreferenced formal parameter
1>  raids.cpp
1>  reward.cpp
1>  rewardchest.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
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
Odp: TFS 1.2 Kompilacja - b??dy

Nie da si? tego jako? obej??? Pobra? "skompilowanego" silnika? ;x
Ps. Robi?em wszystko dok?adnie wed?ug Twojego poradnika ;p
 
Odp: TFS 1.2 Kompilacja - b??dy

Pobra?em x64-Release.exe i wyskakuje mi b??d: Aplikacja nie zosta?a w?a?ciwie uruchomiona (0xc000007b). Kliknij przycisk OK, aby zako?czy? aplikacj?. ;/
 
Odp: TFS 1.2 Kompilacja - b??dy

?eby skompilowa? pod x64 trzeba mie? lib do visual pod x64 a tak poza tym najlepiej do skompilowania polecam VS2013 dodajesz lib i kompilujesz :)
 
Back
Do góry