Bullet integration
Posted: Sat May 06, 2017 1:58 pm
Hi,
I'm trying to integrate Bullet Physics SDK into Irrlicht.
I used cMake Gui to generate Visual Studio 2013 Build. Then I opened ALLBUILD proj and rebuild the HelloWorld example to obtain the libs.
After that, I configureted my Irrlicht proj properties (Debug mode) as follows:
c/c++->General->Additional Include Dir: path to the VS2013 source folder
VC++ Dir-> Include Dir: path to the source VS2013 folder and Library Dir: path to the lib folder
Linker->Input (BulletDynamics_Debug.lib; BulletCollision_Debug.lib; LinearMath_Debug.lib)
But when I build, Vs tossed out this kind of error: "LNK2038 mismatch detected for runtimelibrary: the value 'MTd_StaticDebug' does not match the 'MDd_DynamicDebug' value in Main.obj "
What's wrong? How can I solve this issue?
More in general, which is the correct way to integrate Bullet into Irrlicht apps?
Thanks and kind regards!
(cosmo)
I'm trying to integrate Bullet Physics SDK into Irrlicht.
I used cMake Gui to generate Visual Studio 2013 Build. Then I opened ALLBUILD proj and rebuild the HelloWorld example to obtain the libs.
After that, I configureted my Irrlicht proj properties (Debug mode) as follows:
c/c++->General->Additional Include Dir: path to the VS2013 source folder
VC++ Dir-> Include Dir: path to the source VS2013 folder and Library Dir: path to the lib folder
Linker->Input (BulletDynamics_Debug.lib; BulletCollision_Debug.lib; LinearMath_Debug.lib)
But when I build, Vs tossed out this kind of error: "LNK2038 mismatch detected for runtimelibrary: the value 'MTd_StaticDebug' does not match the 'MDd_DynamicDebug' value in Main.obj "
What's wrong? How can I solve this issue?
More in general, which is the correct way to integrate Bullet into Irrlicht apps?
Thanks and kind regards!
(cosmo)