ros-industrial / industrial_training

ROS-Industrial Training Material
https://industrial-training-master.readthedocs.io
Apache License 2.0
417 stars 234 forks source link

8.0 Motion Planning with Tesseract - Build Fails #391

Closed Chojins closed 11 months ago

Chojins commented 1 year ago

I'm trying to work through section 8.0 Motion Planning with Tesseract. I'm using the Foxy training VM. I get to step 6 and run the following to build the workspace: colcon build --cmake-args -DTESSERACT_BUILD_FCL=OFF

The build starts but after a while I get the following error:

Starting >>> noether_filtering
--- stderr: noether_filtering                                                                          
CMake Error at CMakeLists.txt:26 (find_package):
  By not providing "Findxmlrpcpp.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "xmlrpcpp",
  but CMake did not find one.

  Could not find a package configuration file provided by "xmlrpcpp" with any
  of the following names:

    xmlrpcppConfig.cmake
    xmlrpcpp-config.cmake

  Add the installation prefix of "xmlrpcpp" to CMAKE_PREFIX_PATH or set
  "xmlrpcpp_DIR" to a directory containing one of the above files.  If
  "xmlrpcpp" provides a separate development package or SDK, be sure it has
  been installed.

---
Failed   <<< noether_filtering [2.65s, exited with code 1]
Aborted  <<< trajopt_ifopt [5min 21s]   

How do I resolve this?

reidchristopher commented 1 year ago

I know this is a bit stale, but in case anyone else comes across this issue: You don't have the xmlrpcpp library installed on your machine. You can apt install it.

sudo apt install libxmlrpcpp-dev