uwgraphics / relaxed_ik_ros1

Public Repository for the Wrappers for ROS1 for RelaxedIK
MIT License
18 stars 21 forks source link

error: failed to run custom build command for `nlopt v0.5.4` #1

Closed SimonQi1 closed 3 years ago

djrakita commented 3 years ago

Thanks for reporting this issue. In my experience, this kind of error is associated with the version of cmake. Can you check which version of cmake you have on your machine? cmake --version

My guess is that this issue will go away if cmake is updated to the most recent version.

JCampbell9 commented 3 years ago

So I am having what I believe to be the same issue. (same error being given) This occurs when I'm building the rust code step, cargo build . cmake version 3.10.2 cargo version 1.46

djrakita commented 3 years ago

Gotcha, thanks. I can verify that this works with cmake version 3.20.5. If you update to a more recent version of cmake and the same issue still comes up, please let me know.

JCampbell9 commented 3 years ago

I just updated my cmake to 3.21.3 and it was able to build successfully. Thank you!