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

Problem z kompilacją

lord321

New Member
Joined
May 13, 2013
Messages
58
Reaction score
0
Witam jak w temacie mam problem z kompilacją tego tfs
http://otland.net/f249/8-6-forgotten-server-0-3-0-3-7-r5916-v8-60-a-178246/
używam tego tutka
http://otland.net/f249/tutorial-compiling-forgotten-server-branch-trunk-163866/index6.html

ale przy kompilacji mam takie błędy
Code:
1>------ Rebuild All started: Project: tfs, Configuration: Release Win32 ------
1>  otpch.cpp
1>  actions.cpp
1>  admin.cpp
1>  allocator.cpp
1>  baseevents.cpp
1>  beds.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>  databasemysql.cpp
1>  databasemysqlpp.cpp
1>  databasepgsql.cpp
1>  databasesqlite.cpp
1>  depot.cpp
1>  dispatcher.cpp
1>  exception.cpp
1>  fileloader.cpp
1>  game.cpp
1>  gameservers.cpp
1>  globalevent.cpp
1>  group.cpp
1>  house.cpp
1>  housetile.cpp
1>  ioban.cpp
1>  ioguild.cpp
1>  iologindata.cpp
1>  iomap.cpp
1>  iomapserialize.cpp
1>  item.cpp
1>  itemattributes.cpp
1>  items.cpp
1>  luascript.cpp
1>  mailbox.cpp
1>..\luascript.cpp(767): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1>          with
1>          [
1>              _Elem=char,
1>              _Traits=std::char_traits<char>,
1>              _Ax=std::allocator<char>
1>          ]
1>  manager.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>  protocolgame.cpp
1>  protocolhttp.cpp
1>  protocollogin.cpp
1>  protocolold.cpp
1>  quests.cpp
1>  raids.cpp
1>  scheduler.cpp
1>  scriptmanager.cpp
1>  server.cpp
1>..\scriptmanager.cpp(146): error C2039: 'string' : is not a member of 'std::basic_string<_Elem,_Traits,_Ax>'
1>          with
1>          [
1>              _Elem=char,
1>              _Traits=std::char_traits<char>,
1>              _Ax=std::allocator<char>
1>          ]
1>  spawn.cpp
1>  spells.cpp
1>  status.cpp
1>  talkaction.cpp
1>  teleport.cpp
1>  textlogger.cpp
1>  thing.cpp
1>  tile.cpp
1>  tools.cpp
1>  trashholder.cpp
1>  vocation.cpp
1>  waitlist.cpp
1>  weapons.cpp
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
właśnie nie chce przejść ; d
Code:
1>LINK : fatal error LNK1181: cannot open input file 'lua51.lib'
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
 
Ale jak boost mial rozwiazac problem z lua?
settings.prop -> wywal lua51.lib, z tego co pamietam jest tam i lua51.lib, i lua5.1.lib.
 
Właśnie w tym settings mam tylko lua51 a nie lua5.1

Code:
1>..\luascript.cpp(767): error C2440: 'initializing' : cannot convert from 'boost::filesystem::path' to 'std::basic_string<_Elem,_Traits,_Ax>'
1>          with
1>          [
1>              _Elem=char,
1>              _Traits=std::char_traits<char>,
1>              _Ax=std::allocator<char>
1>          ]
1>          No constructor could take the source type, or constructor overload resolution was ambiguous

po podmianie na tego nowego boosta :<

może ktoś upnąć swoje liby... i inne rzeczy?
 
Last edited:
Czy to są kurva jakieś jaja?
Code:
1>libboost_thread-vc100-mt-1_53.lib(thread.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
może mi ktoś upnąć i dać mi linka pod wersje 32 bit.. bo już naprawde nie mam siły..

albo taki błąd
Code:
1>LINK : fatal error LNK1181: cannot open input file 'iconv.lib'
 
Last edited:
Dlatego zamiast bawienia się z tym na "Łindołsie" mam zainstalowanego Linuxa na VirtualBoxie.
Tam wystarczy wpisać parę komend i już wszystko gotowe.
 
Back
Top