Physics Simulation Forum


All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Jul 14, 2017 4:52 pm 

Joined: Wed Jun 08, 2016 1:39 am
Posts: 12

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.

PostPosted: Tue Jul 18, 2017 5:35 am 
User avatar

Joined: Tue Sep 30, 2014 6:03 pm
Posts: 363
Location: San Francisco
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.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 19 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group