• 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 Compiling Issue MSVCR120D.dll

darknelson

Member
Joined
Jun 19, 2011
Messages
190
Solutions
1
Reaction score
15
1> weapons.cpp
1>MSVCRTD.lib(MSVCR120D.dll) : error LNK2005: _sprintf already defined in lua51.lib(lj_strfmt.obj)
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>lua51.lib(lib_debug.obj) : error LNK2019: unresolved external symbol __imp____acrt_iob_func referenced in function _lj_cf_debug_sethook
1>lua51.lib(lj_vmevent.obj) : error LNK2001: unresolved external symbol __imp____acrt_iob_func
1>lua51.lib(lj_load.obj) : error LNK2001: unresolved external symbol __imp____acrt_iob_func
1>lua51.lib(lib_aux.obj) : error LNK2001: unresolved external symbol __imp____acrt_iob_func
1>lua51.lib(lib_base.obj) : error LNK2001: unresolved external symbol __imp____acrt_iob_func
1>lua51.lib(lib_io.obj) : error LNK2001: unresolved external symbol __imp____acrt_iob_func
1>lua51.lib(lj_strfmt.obj) : error LNK2019: unresolved external symbol __imp____stdio_common_vsprintf referenced in function __vsnprintf_l
1>lua51.lib(lib_io.obj) : error LNK2019: unresolved external symbol __imp____stdio_common_vfscanf referenced in function __vfscanf_l
1>D:\Descargas\globaltibiaface772 v2\sources\msvc\Debug\TheOTXServer.exe : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


please help me how to solve it bros
 
if you've already got it you need to update your includes

but you should try to compile using vcpkg, then you don't need to deal with all this shit

you can follow the vcpgk installation guide on the tfs github
 
Back
Top