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)
Bullet integration
Re: Bullet integration
Your application and it's libraries all have to use the MS runtime libraries the same way. The setting inside VS is in Configuration Properties - C/C++ - Code Generation - Runtime Library.
Not sure how to set it via CMake right now.
Not sure how to set it via CMake right now.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Bullet integration
Ok, thanks!
But, in your opinion, which is the best way to integrate Bullet into Irrlicht for physic simulation?
I found some code examples but no tutorials about the configuration process in Visual studio...
Regards!
But, in your opinion, which is the best way to integrate Bullet into Irrlicht for physic simulation?
I found some code examples but no tutorials about the configuration process in Visual studio...
Regards!
Re: Bullet integration
I don't use Bullet, but if you are just wanting a physics integrations, I have a pretty decent NVidia PhysX wrapper that I can share.
Re: Bullet integration
Yes, I'm interested in physics integrations. Not only Bullet, also another library is fine for me.
I will give a sneak peek on PhysX, but in the meantime, please could you supply a brief introduction about it, particullary aimed to Irrlicht integration?
Is it easy to grasp?
I will give a sneak peek on PhysX, but in the meantime, please could you supply a brief introduction about it, particullary aimed to Irrlicht integration?
Is it easy to grasp?
Re: Bullet integration
The MS runtime libraries having to be identical is something you have to care about independent of which 2 libraries you put together. Maybe some more link about that helps: http://stackoverflow.com/questions/1471 ... imelibrary
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Re: Bullet integration
here is an example of how to integrate PhysX with Irrlicht
https://github.com/SevenGameMaker/Cobbl ... anager.cpp
https://github.com/SevenGameMaker/Cobbl ... anager.cpp