-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Could not find a package configuration file provided by "OMPL" with any of the following names: #7
Comments
i use apt-get install ros-indigo-ompl* it ok |
have you slolved the problem , I have the same |
I have another fix for this in my fork. We can add a FindOMPL.cmake file in a CMakeModules folder inside the package and make a small change to the CMakeLists.txt. This makes it easy for the build system to find OMPL. Especially if you have built and installed OMPL from source rather than installing the pre-built binaries from the ROS build system. |
How yo add ? @sauravag |
Install OMPL dependency Do below change in CMakeList Instead of |
@darshankt This doesn't search for the correct OMPL cmake file. use |
Hey @machinekoder, I tried
Please let know if anyone found a solution to this, Thanks! |
@Mohit505Git , I have the same problem, and I'm sure I have the .h file. Did you solve it? |
@Mohit505Git I got it! It's because that the package ompl in opt/ros/noetic/include is named ompl1.5!!! |
@c0y0h how did you finally solve the problem then? I installed ros-noetic-ompl as well as from source. I can see the cmake files in But setting a custom PATH doesn't seem to be doing the trick.
Any suggestions? |
@rohanblueboybaijal |
replace find_package(OMPL REQUIRED) = find_package(ompl REQUIRED) |
CMake Error at move-base-ompl/CMakeLists.txt:19 (find_package):
By not providing "FindOMPL.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "OMPL", but
CMake did not find one.
Could not find a package configuration file provided by "OMPL" with any of
the following names:
Add the installation prefix of "OMPL" to CMAKE_PREFIX_PATH or set
"OMPL_DIR" to a directory containing one of the above files. If "OMPL"
provides a separate development package or SDK, be sure it has been
installed.
-- Configuring incomplete, errors occurred!
See also "/home/davidhan/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/davidhan/catkin_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
The text was updated successfully, but these errors were encountered: