joschu / trajopt

Trajectory Optimization
http://rll.berkeley.edu/trajopt
Other
367 stars 159 forks source link

Trajopt not finding Gurobi #15

Open ab3nd opened 8 years ago

ab3nd commented 8 years ago

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 commented 8 years ago

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 commented 6 years ago

Thanks, that fixed it for me.