trajopt icon indicating copy to clipboard operation
trajopt copied to clipboard

Trajopt not finding Gurobi

Open ab3nd opened this issue 8 years ago • 2 comments

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 avatar May 27 '16 16:05 ab3nd

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.

ab3nd avatar May 27 '16 16:05 ab3nd

Thanks, that fixed it for me.

DeepBlue14 avatar Mar 20 '18 00:03 DeepBlue14