-
Notifications
You must be signed in to change notification settings - Fork 160
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
Make bool conversion explicit #42
Comments
Thank you so much! I got the same problem And your solution works. |
@mfinean
why the boost library will get the error? |
cedriclmenard
added a commit
to cedriclmenard/trajopt
that referenced
this issue
Mar 29, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error:
cpp:543:65: error: cannot convert ‘OpenRAVE::UserDataPtr {aka boost::shared_ptrOpenRAVE::UserData}’ to ‘bool’ in initialization
Line:
trajopt/src/trajopt/bullet_collision_checker.cpp
Line 543 in 9c634c0
Fix:
bool useTrimesh = bool(trajopt::GetUserData(*body, "bt_use_trimesh"));
The text was updated successfully, but these errors were encountered: