distutils library order causes errors when statically linking to bullet
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pybullet |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When building against Bullet static libraries, the existing setup.py compiles and installs, but at runtime, gets undefined references to core structures (such as btSimulationIsl
I believe this is caused by the current linking order specified in setup.py:
As per the suggestion in http://
reversing the linking order in setup.py to:
resolves this problem when linking statically, and should not have any effect on shared linking.
Thanks. I applied your suggested fix in r45.