favreau / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Build error on Linux #484

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
bullet: r2292
gcc version: 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 

error logs:

../../bullet/src/BulletDynamics/libBulletDynamics.a(btHingeConstraint.o): In 
function 
`btHingeConstraint::getInfo2Internal(btTypedConstraint::btConstraintInfo2*, 
btTransform const&, btTransform const&, btVector3 const&, btVector3 const&)':
btHingeConstraint.cpp:(.text+0x1454): undefined reference to 
`btAngularLimit::getLow() const'
btHingeConstraint.cpp:(.text+0x1465): undefined reference to 
`btAngularLimit::getHigh() const'

Original issue reported on code.google.com by harkon...@gmail.com on 21 Feb 2011 at 11:12

GoogleCodeExporter commented 9 years ago

btAngularLimit::getLow and getHigh is implemented in btTypedConstraint.cpp

Can you do a svn update, 'touch' the btTypedConstraint.cpp file and do a full 
'clean' and rebuild?

Original comment by erwin.coumans on 21 Feb 2011 at 7:27

GoogleCodeExporter commented 9 years ago
svn up/clean&rebuild/touch the btTypedConstraint.cpp has same error. 

Gamekit build is fine on Windows.

Original comment by harkon...@gmail.com on 21 Feb 2011 at 10:38

GoogleCodeExporter commented 9 years ago
If you look at the end of btTypedConstraint.cpp, do you see 
btAngularLimit::getLow?

Original comment by erwin.coumans on 21 Feb 2011 at 11:14

GoogleCodeExporter commented 9 years ago
Yes, getLow/getHigh are there. 

changed

inline btScalar getLow()/getHigh() const;
to
btScalar getLow()/getHigh() const;
in
btTypedConstraint.h

then build is ok. 

You should fix it.

Original comment by harkon...@gmail.com on 21 Feb 2011 at 11:29

GoogleCodeExporter commented 9 years ago
fixed in trunk, see http://code.google.com/p/bullet/source/detail?r=2295

Thanks a lot for the report/fix!

Original comment by erwin.coumans on 22 Feb 2011 at 1:39