Hi there,
I am using CLion for Ros-MoveIt development. Now I want to compile a simple testprogram, but that does not work. My OS is Xubuntu 16.04. When I am adding
find_package(catkin REQUIRED COMPONENTS roscpp moveit_ros_planning_interface)
to my CMakeLists.txt this error occures:
CMake Error at CMakeLists.txt:5 (find_package):
By not providing "Findcatkin.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "catkin", but
CMake did not find one.
Could not find a package configuration file provided by "catkin" with any
of the following names:
catkinConfig.cmake
catkin-config.cmake
Add the installation prefix of "catkin" to CMAKE_PREFIX_PATH or set
"catkin_DIR" to a directory containing one of the above files. If "catkin"
provides a separate development package or SDK, be sure it has been
installed.
Here is my simple source code:
#include
#include
#include
#include
using namespace std;
using namespace moveit;
int main()
{
//planning_interface::MoveGroup group("right_arm");
moveit::planning_interface::PlanningSceneInterface planning_scene_interface;
cout << "Test" << endl;
return 0;
}
catkin is installed on my system, I can compile another testprogram from the terminal.
Thx for helping :-)
YS,
buzzzz
↧