Undefined symbol using gUseEpa

luke.titley
Posts: 15
Joined: Fri Sep 08, 2006 3:39 pm

Undefined symbol using gUseEpa

Post by luke.titley »

I'm using swig to generate a tiny python wrapper for parts of bullet.

I have some basic rigid bodies working with a simple c++ wrapper I have around bullet, which I'm hoping to get rid of.

When exposing the btRigidBody class to python however I get the following error in python

ImportError: /bacva3/ltitley/.local/pylib/pyBullet/_pyBullet.so: undefined symbol: gUseEpa

I am linking against bulletdynamics bulletcollision and bulletmaths in that order in g++ .

Do i need anything else ?
Is this part of gimpact ? I don't know where this function/method is from.

Any help wuold be useful.

Thanks
Luke
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA

Post by Erwin Coumans »

There is an unused/obsolete

Code: Select all

extern bool gUseEpa;
in Bullet/src/BulletDynamics/Dynamics/btRigidBody.h

Can you try to remove that line, and see if it helps?

Thanks,
Erwin
luke.titley
Posts: 15
Joined: Fri Sep 08, 2006 3:39 pm

Post by luke.titley »

That works but now I get a new error message.

undefined symbol: _ZN25btSimulationIslandManager22buildAndProcessIslandsEP12btDispatcherRSt6vectorIP17btCollisionObjectSaIS4_EEPNS_14IslandCallbackE
luke.titley
Posts: 15
Joined: Fri Sep 08, 2006 3:39 pm

Post by luke.titley »

Sorry the second error was me linking in the wrong order.

Thanks