error LNK2038: mismatch detected for 'RuntimeLibrary'
Posted: Thu Jan 29, 2015 5:07 pm
Hello! I´m new in this topic, I hope you can help me.
I'm using Bullet Physics, on Windows 8.1 and Visual Studio 2012. I have compiled the libraries without problems but when try to link Bullet with Simox to build this software I have the next errors:
15>BulletDynamics_Debug.lib(btDiscreteDynamicsWorld.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
15>BulletDynamics_Debug.lib(btRigidBody.obj) : error LNK2038: error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
15>BulletDynamics_Debug.lib(btHingeConstraint.obj) : error LNK2038: error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
...
43>BulletDynamics_Debug.lib(btRigidBody.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in BulletDebugViewerWin32.obj
43>BulletDynamics_Debug.lib(btPoint2PointConstraint.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in BulletDebugViewerWin32.obj
...
What should I do?
I'm using Bullet Physics, on Windows 8.1 and Visual Studio 2012. I have compiled the libraries without problems but when try to link Bullet with Simox to build this software I have the next errors:
15>BulletDynamics_Debug.lib(btDiscreteDynamicsWorld.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
15>BulletDynamics_Debug.lib(btRigidBody.obj) : error LNK2038: error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
15>BulletDynamics_Debug.lib(btHingeConstraint.obj) : error LNK2038: error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DynamicsWorld.obj
...
43>BulletDynamics_Debug.lib(btRigidBody.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in BulletDebugViewerWin32.obj
43>BulletDynamics_Debug.lib(btPoint2PointConstraint.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in BulletDebugViewerWin32.obj
...
What should I do?