I was wondering whether Bullet could be set to build as DLL compatible by default for MSVC?
To do this, the C++ option code generation would need to be set to "Multithreaded DLL", and under the Linker options, Mainfest file, "Generate Manifest" set to yes.
I'm not sure how everyone else uses Bullet, but I would think most people use it as a DLL build.
Bullet as a DLL
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Bullet as a DLL
For games in general I think it is better to statically link in an open source physics library: it would make it too easy for users to cheat, by replacing the dll by a customized version (although it is still security by obscurity, due to lack of encryption of executables under Windows).
It should be no problem to adapt your build system to create a DLL, did you try this?
Thanks,
Erwin
It should be no problem to adapt your build system to create a DLL, did you try this?
Thanks,
Erwin
-
- Posts: 2
- Joined: Fri Aug 05, 2011 3:33 pm
Re: Bullet as a DLL
I tried and failed. I keep getting unresolved external signal errors. The only library I can compile is LinearMath