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.
Linking btScalar.h into shared library
-
- Posts: 849
- Joined: Tue Sep 30, 2014 6:03 pm
- Location: San Francisco
Re: Linking btScalar.h into shared library
It is a linking error. I would guess you are missing the standard math lib in your link configuration, or have some other Visual Studio project configuration error. That is the limit of helpful info I can provide: I'm not a Windows dev.