# install ompl source library

Actually I am trying to compile and install one old version ompl source library which has my own introduced planner and state space inside it. The problem I met is my cmakefile.txt has dependency on moveit package but I can't find that moveit_ros_planning_interfaceconfig.cmake file. I tried some ways like seting a directory contains that config.cmake file to moveit_ros_planning_interface_DIR and include_directories(\${moveit_ros_planning_interface_DIR}) but still doesn't work. Can anybody help me? Besides, I met a lot of situations of unable to find config.cmake file. Is there any general solution for such kind of situation?

Here is my cmake result:

-- Building Release


-- Boost version: 1.54.0 -- Found the following Boost libraries: -- date_time -- thread -- serialization -- filesystem -- system -- program_options -- unit_test_framework -- Eigen found (include: /usr/include/eigen3) -- Using CATKIN_DEVEL_PREFIX: /home/ruinianxu/omplNEW/devel -- Using CMAKE_PREFIX_PATH: /home/ruinianxu/omplNEW -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/ruinianxu/omplNEW/test_results -- Found gtest sources under '/usr/src/gtest': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.6.19 -- Using these message generators: CMake Warning at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "moveit_ros_planning_interface" with any of the following names:

moveit_ros_planning_interfaceConfig.cmake
moveit_ros_planning_interface-config.cmake


Add the installation prefix of "moveit_ros_planning_interface" to CMAKE_PREFIX_PATH or set "moveit_ros_planning_interface_DIR" to a directory containing one of the above files. If "moveit_ros_planning_interface" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:61 (find_package)

-- Could not find the required component 'moveit_ros_planning_interface'. The following CMake error indicates that you either need to install the package with the same name or change your environment so that it can be found. CMake Error at /opt/ros/indigo/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "moveit_ros_planning_interface" with any of the following names:

moveit_ros_planning_interfaceConfig.cmake
moveit_ros_planning_interface-config.cmake


Add the installation prefix of "moveit_ros_planning_interface" to CMAKE_PREFIX_PATH or set "moveit_ros_planning_interface_DIR" to a directory containing one of the above files. If "moveit_ros_planning_interface" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:61 (find_package)