No DLL Symbol Export?

Post Reply
DiB
Posts: 1
Joined: Sun May 03, 2015 12:33 am

No DLL Symbol Export?

Post 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
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: No DLL Symbol Export?

Post 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.
Post Reply