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

Compiling Problem Compiling Latest TFS (Windows)

SlayingWorld

Active Member
Joined
Jan 23, 2014
Messages
156
Reaction score
37
Location
USA
So i have this problem whenever i try to compile the latest TFS server.

I follow exactly the steps on
https://github.com/otland/forgottenserver/wiki/Compiling-on-Windows
from Mark.

But this happens.


My Basic Computer Specs:
intel core i7 6 core
8 gb ram
4 gb gaming card


f0p5kx.png


Here is the output log.
Code:
  otpch.cpp
  actions.cpp
  ban.cpp
  baseevents.cpp
  bed.cpp
  chat.cpp
  combat.cpp
  commands.cpp
  condition.cpp
  configmanager.cpp
  connection.cpp
  container.cpp
  creature.cpp
  creatureevent.cpp
  cylinder.cpp
  database.cpp
  databasemanager.cpp
  databasetasks.cpp
  depotchest.cpp
  depotlocker.cpp
  events.cpp
  fileloader.cpp
  game.cpp
  globalevent.cpp
  groups.cpp
  guild.cpp
  house.cpp
  housetile.cpp
  inbox.cpp
  ioguild.cpp
  iologindata.cpp
  iomap.cpp
  iomapserialize.cpp
  iomarket.cpp
  item.cpp
  items.cpp
  luascript.cpp
  mailbox.cpp
  map.cpp
  monster.cpp
  monsters.cpp
  mounts.cpp
  movement.cpp
  networkmessage.cpp
  npc.cpp
  otserv.cpp
  outfit.cpp
  outputmessage.cpp
  party.cpp
  player.cpp
  position.cpp
  protocol.cpp
  protocolgame.cpp
  protocollogin.cpp
  protocolold.cpp
  quests.cpp
  raids.cpp
  rsa.cpp
  scheduler.cpp
  scriptmanager.cpp
  server.cpp
  spawn.cpp
  spells.cpp
  protocolstatus.cpp
  talkaction.cpp
  tasks.cpp
  teleport.cpp
  thing.cpp
  tile.cpp
  tools.cpp
  trashholder.cpp
  vocation.cpp
  waitlist.cpp
  weapons.cpp
  wildcardtree.cpp
mpir.lib(memory.obj) : error LNK2001: unresolved external symbol __imp___iob_func
mpir.lib(assert.obj) : error LNK2001: unresolved external symbol __imp___iob_func
C:\Users\Edgar\Documents\OT COMPILING STUFF\forgottenserver-master\vc14\x64\Release\theforgottenserver.exe : fatal error LNK1120: 1 unresolved externals
 
You can either update your mpir libraries, as implied by @Call Me Taffy, or use this workaround.

Add this line after the last #include in any .cpp file (e.g actions.cpp):

Code:
extern "C" {FILE __iob_func[3] = {*stdin, *stdout, *stderr}; }
 
You can either update your mpir libraries, as implied by @Call Me Taffy, or use this workaround.

Add this line after the last #include in any .cpp file (e.g actions.cpp):

Code:
extern "C" {FILE __iob_func[3] = {*stdin, *stdout, *stderr}; }
How do i update the mpir librarie?

And if i did the workaround would it have a bad effect on my .exe program?
 

Similar threads

Back
Top