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

C++ otcv8-auras-and-wings Unresolved external symbol deflateEnd

_M4G0_

Well-Known Member
Joined
Feb 6, 2016
Messages
504
Solutions
16
Reaction score
98
I'm trying to add the system >
Please, could someone help me solve this?

Code:
protocol.obj : error LNK2001: unresolved external symbol deflateEnd
protocol.obj : error LNK2001: unresolved external symbol deflateInit2_
protocol.obj : error LNK2001: unresolved external symbol deflate

I tried everything I saw in the research, without success
VS 2017 | TFS 1.2
 

Attachments

Last edited:
if you do vcpkg integrate install and remove from project include / lib then everything shouldbe read from VCPKG as priority
 
I'm trying to add the system >
Please, could someone help me solve this?

Code:
protocol.obj : error LNK2001: unresolved external symbol deflateEnd
protocol.obj : error LNK2001: unresolved external symbol deflateInit2_
protocol.obj : error LNK2001: unresolved external symbol deflate

I tried everything I saw in the research, without success
VS 2017 | TFS 1.2
It already happened to me when I compiled and it gave an error. I noticed that the columns were missing the auras.cpp, wings.cpp and corresponding .h files. I decided to close Visual Studio (MSVC) and get the auras and wings files that have the .cpp and .h extensions, as well as the shaders. I then placed them in the project's src folder. Then, I opened the vc14/theforgottenserver.vcxproj file with Notepad and added these files manually, then saved. I then opened MSVC again, and the columns were correct, allowing me to compile successfully.
 
It already happened to me when I compiled and it gave an error. I noticed that the columns were missing the auras.cpp, wings.cpp and corresponding .h files. I decided to close Visual Studio (MSVC) and get the auras and wings files that have the .cpp and .h extensions, as well as the shaders. I then placed them in the project's src folder. Then, I opened the vc14/theforgottenserver.vcxproj file with Notepad and added these files manually, then saved. I then opened MSVC again, and the columns were correct, allowing me to compile successfully.
Code:
  otpch.cpp
  account.cpp
  actions.cpp
  auras.cpp
  ban.cpp
  baseevents.cpp
  bed.cpp
  chat.cpp
  combat.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
  gamestore.cpp
  globalevent.cpp
  groups.cpp
  guild.cpp
  house.cpp
  inbox.cpp
  ioguild.cpp
  iologindata.cpp
  iomap.cpp
  iomapserialize.cpp
  iomarket.cpp
  item.cpp
  items.cpp
  luascript.cpp
  mailbox.cpp
  modules.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
  protocolgamebase.cpp
  protocollogin.cpp
  protocolold.cpp
  protocolspectator.cpp
  protocolstatus.cpp
  quests.cpp
  raids.cpp
  reward.cpp
  rewardchest.cpp
  rsa.cpp
  scheduler.cpp
  scriptmanager.cpp
  script.cpp
  server.cpp
  shaders.cpp
  signals.cpp
  spawn.cpp
  spells.cpp
  talkaction.cpp
  tasks.cpp
  teleport.cpp
  thing.cpp
  tile.cpp
  tools.cpp
  trashholder.cpp
  vocation.cpp
  waitlist.cpp
  weapons.cpp
  wildcardtree.cpp
  wings.cpp
  xtea.cpp
protocol.obj : error LNK2001: unresolved external symbol deflateEnd
protocol.obj : error LNK2001: unresolved external symbol deflateInit2_
protocol.obj : error LNK2001: unresolved external symbol deflate
E:\ot\sources-master\vc14\x64\Release\theforgottenserver.exe : fatal error LNK1120: 3 unresolved externals

are added
 
Back
Top