No DLL Symbol Export?
Posted: Sun May 03, 2015 12:39 am
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
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