moveit / moveit

:robot: The MoveIt motion planning framework
http://moveit.ros.org
BSD 3-Clause "New" or "Revised" License
1.72k stars 950 forks source link

CMake Error: trajoptConfig.cmake #3445

Open Noah-Lau opened 1 year ago

Noah-Lau commented 1 year ago

Description

After removed the file CATKIN_IGNORE in moveit/planners/trajopt , I can compile the moveit_planners_trajopt. However, I got a cmake error during compile, detail shown as below:

CMake Error at CMakeLists.txt:14 (find_package): By not providing "Findtrajopt.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "trajopt", but CMake did not find one.

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

trajoptConfig.cmake
trajopt-config.cmake

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

Your environment

Steps to reproduce

I use the command catkin build moveit_planners_trajopt to comple the trajopt package.

welcome[bot] commented 1 year ago

Thanks for reporting an issue. Because we're a volunteer community, providing a pull request with suggested changes is always welcomed.

simonschmeisser commented 1 year ago

You need the trajopt package (and some other tesseract dependencies) to build this. Simply clone it to your workspace and rebuild: https://github.com/tesseract-robotics/trajopt

Am Freitag, 9. Juni 2023 schrieb Noah-Lau:

Description

After removed the file CATKIN_IGNORE in moveit/planners/trajopt , I can compile the moveit_planners_trajopt. However, I got a cmake error during compile, detail shown as below:

CMake Error at CMakeLists.txt:14 (find_package): By not providing "Findtrajopt.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "trajopt", but CMake did not find one.

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

trajoptConfig.cmake
trajopt-config.cmake

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

Your environment

  • ROS Distro: Noetic
  • OS Version: 20.04
  • Source build, noetic branch

Steps to reproduce

I use the command catkin build moveit_planners_trajopt to comple the trajopt package.

-- Reply to this email directly or view it on GitHub: https://github.com/ros-planning/moveit/issues/3445 You are receiving this because you are subscribed to this thread.

Message ID: @.***

-- Gesendet von meinem Sailfish