C++ Question Compile Error with OrbiterSound5.0?

Mr Martian

Orbinaut/Addon dev/Donator
Addon Developer
Donator
Joined
Jun 6, 2012
Messages
279
Reaction score
62
Points
28
Location
Sydney, Australia, Earth, Sol
Website
www.orbithangar.com
Hi All,

Wondering if anyone else encountered this issue.

I am using Visual C++ 2010, and cannot compile my project since adding the libraries for OrbiterSound5.0. I eng up with a string of errors I don't fully understand, I think relating to how Dansteph's libraries were compiled, or another such compatibility issue.

Has anyone else encountered this? I have posted my errors below:

Code:
1>OrbiterSoundSDK50d.lib(OrbiterSoundSDK50.obj) : error LNK2038: mismatch detected for '_MSC_VER': value '1900' doesn't match value '1600' in MyVessel.obj
1>MSVCRTD.lib(MSVCR100D.dll) : error LNK2005: _sprintf already defined in OrbiterSoundSDK50d.lib(OrbiterSoundSDK50.obj)
1>     Creating library ..\..\..\..\..\Simulators\Orbiter\orbiter2016\Modules\MyVessel.lib and object ..\..\..\..\..\Simulators\Orbiter\orbiter2016\Modules\MyVessel.exp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use /NODEFAULTLIB:library
1>OrbiterSoundSDK50d.lib(OrbiterSoundSDK50.obj) : error LNK2019: unresolved external symbol ___report_rangecheckfailure referenced in function "int __cdecl ConnectToOrbiterSoundDLL(void *)" ([email protected]@[email protected])
1>OrbiterSoundSDK50d.lib(OrbiterSoundSDK50.obj) : error LNK2019: unresolved external symbol ___stdio_common_vfprintf referenced in function __vfprintf_l
1>OrbiterSoundSDK50d.lib(OrbiterSoundSDK50.obj) : error LNK2019: unresolved external symbol ___stdio_common_vsprintf referenced in function __vsnprintf_l
1>..\..\..\..\..\Simulators\Orbiter\orbiter2016\Modules\MyVessel.dll : fatal error LNK1120: 3 unresolved externals
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I would say this may have something to do with my compiler settings, but I am not sure.

Thanks in advacnce!
 
Top