Ogre Version: 14.5.2
Operating System: Windows x64
Render System: Default found in Ogre make file config
Unable to build Ogre in debug mode using Windows x64 and Visual Studio Community 2026 Release - amd64 kit
The libraries that are failing to build are as follows with example linker errors:
assimp-vc145-mt.lib
Code: Select all
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in AssimpLoader.obj error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in AssimpLoader.obj error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in AssimpLoader.obj error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in AssimpLoader.objpugixml.lib
Code: Select all
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in DotSceneLoader.obj error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in DotSceneLoader.objBulletDynamics.lib
Code: Select all
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in OgreBullet.obj error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in OgreBullet.obj error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in OgreBullet.objBulletCollision.lib
Code: Select all
error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in OgreBullet.obj error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug' in OgreBullet.obj error LNK2038: mismatch detected for '_ITERATOR_DEBUG_LEVEL': value '0' doesn't match value '2' in OgreBullet.obj
I tried changing the CMAKE_BUILD_TYPE to Debug with no luck. The tools uses are CMake.exe and Visual Studio Community Addition.
Any help would be appreciated.