Linking btScalar.h into shared library
Posted: Fri Jul 14, 2017 4:52 pm
Hello,
I'm trying to build a Shared Library and I am using Bullet's source files. I've included Bullet3Common and LinearMath source files in my project. The problem is when I try to build my shared library, I get a bunch of errors saying:
LNK2001 unresolved external symbol __imp_sqrtf
and various other math-like functions. I believe these are found in the btScalar.h file.
It seems like those functions aren't exported correctly and I'm having trouble figuring out the correct way to do this.
Is it possible that there may be clashing libraries that have the same method signatures?
Thank you.
I'm trying to build a Shared Library and I am using Bullet's source files. I've included Bullet3Common and LinearMath source files in my project. The problem is when I try to build my shared library, I get a bunch of errors saying:
LNK2001 unresolved external symbol __imp_sqrtf
and various other math-like functions. I believe these are found in the btScalar.h file.
It seems like those functions aren't exported correctly and I'm having trouble figuring out the correct way to do this.
Is it possible that there may be clashing libraries that have the same method signatures?
Thank you.