What's new

Otclient blad podczas budowania

Suvie

New User
Joined
Jul 23, 2020
Messages
1
Reaction score
0
Witam mam pewien problem, mianowicie zrobiłem wszystko jak należy inclused, lib itp itd
a wyskakuje mi błąd z physfs
Pracuję na visual studio 2017 mam windows 7 klient jakiego chce kompilowac to mehah ot client
na Otlandzie rozkladają rece czy jest tu jakaś osoba która mogła by mi pomoc ?
błąd jest nastepujący:

Code:
1>   Creating library C:\Users\kompiuter\Desktop\otclient-cache-for-all\vc14\../otclient.lib and object C:\Users\kompiuter\Desktop\otclient-cache-for-all\vc14\../otclient.exp
1>filestream.obj : error LNK2001: unresolved external symbol PHYSFS_readBytes
1>filestream.obj : error LNK2001: unresolved external symbol PHYSFS_writeBytes
1>filestream.obj : error LNK2001: unresolved external symbol PHYSFS_getErrorByCode
1>filestream.obj : error LNK2001: unresolved external symbol PHYSFS_getLastErrorCode
1>resourcemanager.obj : error LNK2001: unresolved external symbol PHYSFS_stat
1>resourcemanager.obj : error LNK2001: unresolved external symbol PHYSFS_unmount
1>C:\Users\kompiuter\Desktop\otclient-cache-for-all\vc14\../otclient.exe : fatal error LNK1120: 6 unresolved externals
1>Done building project "otclient.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
dodam iż ścieżke do physfs dodałem i do lib 64bit tez
 

Kuzyn

Dziad.
Staff member
Joined
May 3, 2008
Messages
1,936
Reaction score
165
Inny visual ale podobny problem, próbowałeś?

  1. do a clean CMake configure with the options shared only.
  2. in Build->Configuration Manager add Win32 as a platform and disable test_physfs
  3. in phyfs's Project->Properties->Linker->Advanced, set Target Machine to MachineX86.
  4. in Linker->Command Line, remove /MACHINE:X64 from Additional Options (This one drove me crazy until I found it by chance)
 
Top