Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build error with libbullet #418

Closed
olzhas opened this issue Jun 24, 2015 · 3 comments
Closed

Build error with libbullet #418

olzhas opened this issue Jun 24, 2015 · 3 comments
Milestone

Comments

@olzhas
Copy link
Contributor

olzhas commented Jun 24, 2015

Hello everyone,
today I updated dart to 5.0.0, then built it and tried to rebuild my project. I failed to do obtaining this error:

/usr/local/include/dart/collision/bullet/BulletTypes.h:50: error: 'btInfinityMask' was not declared in this scopec
return btInfinityMask;
^

The problem can be fixed removing the line BulletTypes.h:50.

I use libbullet 2.81 on ubuntu 14.04.2 x86_64.

@jslee02
Copy link
Member

jslee02 commented Jun 26, 2015

The dummy function was added to suppress unused-variable-warnings due to btInfinityMask but it doesn't seem to be exposed on all the platforms. Actually bitInfinityMask is surrounded by some preprocessors, and Bullet 2.83 added similar code only when the variable is exposed.

I don't know how to expose the dummy function only when bitInfinityMask is exposed. Maybe we should remove the dummy function and let the compiler to complains warnings.

@jslee02
Copy link
Member

jslee02 commented Aug 1, 2015

This should be fixed by #480. Please confirm.

@jslee02
Copy link
Member

jslee02 commented Aug 2, 2015

Closing for now. Please reopen if it sill doesn't work.

@jslee02 jslee02 closed this as completed Aug 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants