RobotLocomotion / drake-external-examples

Examples of how to use Drake in your own project.
https://drake.mit.edu/
MIT No Attribution
103 stars 51 forks source link

make is not working: clp #206

Closed KishoreMayank closed 3 years ago

KishoreMayank commented 3 years ago

Am experiencing this error, any idea how to fix it?

ERROR: /home/proxy-sim/drake/solvers/BUILD.bazel:819:17: //solvers:clp_solver depends on @clp//:clp in repository @clp which failed to fetch. no such package '@clp//': Unable to complete pkg-config setup for @clp repository: error 1 from [/usr/bin/pkg-config, "clp"]: 
ERROR: Analysis of target '//:install' failed; build aborted: Analysis failed
INFO: Elapsed time: 6.248s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (148 packages loaded, 2928 targets configured)
    Fetching @meshcat_python; Restarting.
    Fetching @glx; fetching
make[2]: *** [CMakeFiles/drake_cxx_python.dir/build.make:112: drake_cxx_python-prefix/src/drake_cxx_python-stamp/drake_cxx_python-build] Error 1
make[1]: *** [CMakeFiles/Makefile2:860: CMakeFiles/drake_cxx_python.dir/all] Error 2
make: *** [Makefile:163: all] Error 2
proxy-sim@root:~$ which clp
/usr/bin/clp
proxy-sim@root:~$
jwnimmer-tri commented 3 years ago

Hmm, looks like nobody saw this until now?

Per https://drake.mit.edu/getting_help.html, we're usually watching StackOverflow for questions, not here.

Anyway, it's saying that pkg-config clp is failing. You can try running that on the command line. That's the part you'll need to debug. Be sure to run install_prereqs prior to building drake.

If you are still having trouble, please post to StackOverflow including which OS you're running on, which version of Drake, etc.