linking errors when compiling 1.53
Posted: Thu Dec 06, 2018 7:46 am
Hello, I've been trying to compile snes9x 1.53. It's been a headache trying to find all of these old compilers!
At the very end I run into several linking errors.
Do you have any idea what this could mean? I suspect that it has to do with libpng, but I checked my include/library directories, and my additional library directories for the linker, and it still gives me these errors. I used the prebuilt libpng and zlib files at http://www.s9x-w32.de/dl/
I'd appreciate any help I could get on this, I'm stuck.
At the very end I run into several linking errors.
Code: Select all
1>Linking...
1>libpngdmt.lib(pngerror.obj) : warning LNK4075: ignoring '/EDITANDCONTINUE' due to '/OPT:REF' specification
1>LIBCMTD.lib(sprintf.obj) : error LNK2005: _sprintf already defined in zlibdmtu.lib(gzlib.obj)
1>LIBCMTD.lib(vsprintf.obj) : error LNK2005: __vsprintf_l already defined in zlibdmtu.lib(gzlib.obj)
1>LIBCMTD.lib(vsnprint.obj) : error LNK2005: __vsnprintf_l already defined in zlibdmtu.lib(gzlib.obj)
1>LINK : warning LNK4199: /DELAYLOAD:fmod.dll ignored; no imports found from fmod.dll
1>LINK : warning LNK4199: /DELAYLOAD:fmodex.dll ignored; no imports found from fmodex.dll
1>wsnes9x.obj : error LNK2001: unresolved external symbol _CLSID_EnumerableObjectCollection
1>wsnes9x.obj : error LNK2001: unresolved external symbol _CLSID_DestinationList
1>libpngdmt.lib(pngerror.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function _png_fixed_error
1>zlibdmtu.lib(inftrees.obj) : error LNK2001: unresolved external symbol ___report_rangecheckfailure
1>libpngdmt.lib(pngerror.obj) : error LNK2019: unresolved external symbol ___acrt_iob_func referenced in function _png_default_error
1>libpngdmt.lib(pngerror.obj) : error LNK2019: unresolved external symbol ___stdio_common_vfprintf referenced in function __vfprintf_l
1>zlibdmtu.lib(gzlib.obj) : error LNK2019: unresolved external symbol ___stdio_common_vsprintf referenced in function __vsnprintf_l
1>zlibdmtu.lib(gzwrite.obj) : error LNK2001: unresolved external symbol ___stdio_common_vsprintf
1>zlibdmtu.lib(gzlib.obj) : error LNK2019: unresolved external symbol __twopen referenced in function _open
1>.\snes9x-debug.exe : fatal error LNK1120: 7 unresolved externals
1>Creating browse information file...
I'd appreciate any help I could get on this, I'm stuck.