Trying to install the ORK package. Getting Cmake error when running catkin_make.

asked 2018-08-30 14:32:14 -0600

Hello, I'm trying to install the ORK (Object Recognition Kitchen) package for ROS Kinetic. I'm following the steps from the book ROS Robotics Projects by Joseph Lentin. For installing from source I follow the steps from the book (which are the same from the ORK website here). However whenever I attempt to run catkin_make the first time, I get a series of errors:

CMake Error: CMake can not determine linker language for target: ecto_geometry_msgs_ectomodule
CMake Error: Cannot determine link language for target "ecto_geometry_msgs_ectomodule".
CMake Error: CMake can not determine linker language for target: ecto_std_msgs_ectomodule
CMake Error: Cannot determine link language for target "ecto_std_msgs_ectomodule".
CMake Error: CMake can not determine linker language for target: ecto_nav_msgs_ectomodule
CMake Error: Cannot determine link language for target "ecto_nav_msgs_ectomodule".
CMake Error: CMake can not determine linker language for target: ecto_sensor_msgs_ectomodule
CMake Error: Cannot determine link language for target "ecto_sensor_msgs_ectomodule".
CMake Error: CMake can not determine linker language for target: ecto_object_recognition_msgs_ectomodule
CMake Error: Cannot determine link language for target "ecto_object_recognition_msgs_ectomodule".

I've tried several times to fix this issue even going so far as to uninstall and reinstall ROS. I'm very new to ROS and I'm at my wits end, any help would be appreciated. I am running Ubuntu 16.04 on a Dell Optiplex 7050 if that helps any. After running catkin make the first time, then running it again, it seems to build, but only up to a point. it fails at around 9% with:

[  9%] Built target ecto
[  9%] Built target ecto_image_pipeline
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed

After that if I run catkin_make one more time it goes to about 20% and will never go any farther, no matter how many times I try.

ecto_opencv/cells/cv_bp/opencv/CMakeFiles/opencv_boost_python.dir/flags.make:10: *** multiple target patterns.  Stop.
CMakeFiles/Makefile2:6181: recipe for target 'ecto_opencv/cells/cv_bp/opencv/CMakeFiles/opencv_boost_python.dir/all' 
failed
make[1]: *** [ecto_opencv/cells/cv_bp/opencv/CMakeFiles/opencv_boost_python.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[  7%] Built target object_recognition_renderer_3d
[  7%] Built target opencv_candidate
[  9%] Built target ecto_ros_main_ectomodule
[ 10%] Built target conversion_ectomodule
[ 12%] Built target ecto_image_pipeline
[ 14%] Built target highgui_ectomodule
[ 19%] Built target imgproc_ectomodule
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j8 -l8" failed
edit retag flag offensive close merge delete

Comments

I've tried several times to fix this issue even going so far as to uninstall and reinstall ROS.

the cmake output you show suggests there are issues with the ORK packages themselves. Reinstalling ROS doesn't help in such as a case. This is not Windows.

no matter how many times I try

Same here.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-30 14:58:35 -0600 )edit

The ORK packages are rather old, and afaik, mostly unmaintained. Some repositories haven't been touched in 3 years. I wouldn't be surprised if they don't build out of the box.

If you're following a specific book, I would suggest contacting the author.

gvdhoorn gravatar imagegvdhoorn ( 2018-08-30 15:01:26 -0600 )edit