Page 1 of 1

No DLL Symbol Export?

Posted: Sun May 03, 2015 12:39 am
by DiB
I am trying to build Bullet3 from the git repository:

https://github.com/bulletphysics/bullet3/

I ran CMake and configured the build for DLL's using these CMake options:

USE_MSVC_RUNTIME_LIBRARY_DLL
BUILD_SHARED_LIBS

However, the builds only produce DLL's and no corresponding libs. A quick look at the code reveals that symbols are not being exported, so DLL's cannot be used as they have nothing to link into. I looked through the code for the standard Visual Studio broiler plate that should accompany functions and classes to be exported:

_declspec(dllexport)

This only shows up in LUA and GTest. So, am I to assume folks do not compile and use this as a dynamic library on Windows? I could go through and make the appropriate code changes, but wanted to make sure I wasn't missing something before I went through the effort.

Thanks!

- John

Re: No DLL Symbol Export?

Posted: Wed May 06, 2015 3:41 pm
by Erwin Coumans
No idea, I never use the DLL feature myself, and always statically link against Bullet. Someone contributed a way to build Bullet as a shared libs, no idea why one would want that.