Witam, wyczytałem w internecie, że aby statycznie połączyć biblioteki .dll z projektem exe trzeba wybrać w visualu opcje C/C++-->Code generation-->Multi-threaded Debug (/MTd) lecz po wybraniu tej opcji pod koniec kompilowania wyskakują następujące błedy:
Severity Code Description Project File Line Suppression State
Error LNK2001 unresolved external symbol __imp___popen otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_io.obj) 1
Error LNK1120 12 unresolved externals otclient C:\Users\Tomek\Desktop\visual17\otclient-master\otclient.exe 1
Error LNK2001 unresolved external symbol __except_handler4_common otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\MSVCRT.lib(_chandler4gs_.obj) 1
Error LNK2001 unresolved external symbol __imp__bsearch otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\physfs.lib(lzma.obj) 1
Error LNK2001 unresolved external symbol __imp__clearerr otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_io.obj) 1
Error LNK2001 unresolved external symbol __imp__remove otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp__rename otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp__system otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp__tmpfile otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_io.obj) 1
Error LNK2001 unresolved external symbol __imp__tmpnam otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp___difftime64 otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp___mktime64 otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\physfs.lib(zip.obj) 1
Error LNK2001 unresolved external symbol __imp___mktime64 otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\physfs.lib(windows.obj) 1
Error LNK2001 unresolved external symbol __imp___mktime64 otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_os.obj) 1
Error LNK2001 unresolved external symbol __imp___pclose otclient C:\Users\Tomek\Desktop\visual17\otclient-master\vc14\lua51.lib(lib_io.obj) 1
Tutaj są moje biblioteki sądząc po błedach coś nie tak jest w physfs.lib, lua51.lib