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

Trajopt not finding Gurobi #15

Open
ab3nd opened this issue May 27, 2016 · 2 comments
Open

Trajopt not finding Gurobi #15

ab3nd opened this issue May 27, 2016 · 2 comments

Comments

@ab3nd
Copy link

ab3nd commented May 27, 2016

When I attempt to build trajopt, I get the error message:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GUROBI_LIBRARY (ADVANCED)
linked by target "sco" in directory /home/ams/trajopt/src/sco

-- Configuring incomplete, errors occurred!

I have Gurobi installed in /home/ams/gurobi651, and GUROBI_HOME set to: /home/ams/gurobi651/linux64

I tried adding "gurobi65" to the NAMES section of FindGUROBI.cmake, in the trajopt cmake/modules directory, but that didn't fix it.

@ab3nd
Copy link
Author

ab3nd commented May 27, 2016

Invoking cmake with
cmake .. -DGUROBI_LIBRARY=/home/ams/gurobi651/linux64/lib/libgurobi65.so
gets most of trajopt to link.

I also get the error message
/home/ams/trajopt/src/cloudproc/cloudprocpy.cpp:11:45: fatal error: pcl_conversions/pcl_conversions.h: No such file or directory
#include <pcl_conversions/pcl_conversions.h>
^
compilation terminated.

but this is probably unrelated.

@DeepBlue14
Copy link

Thanks, that fixed it for me.

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