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

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

Closed
SimonQi1 opened this issue Oct 22, 2021 · 4 comments
Closed

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

SimonQi1 opened this issue Oct 22, 2021 · 4 comments

Comments

@SimonQi1
Copy link

No description provided.

@djrakita
Copy link
Collaborator

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
Copy link

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
Copy link
Collaborator

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
Copy link

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

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

3 participants