Ask Your Question
0

Invoking "make -j8 -l8" failed for face_recognition

asked 2018-02-19 15:20:51 -0500

mjc1021 gravatar image

updated 2018-02-19 16:15:11 -0500

jayess gravatar image

I am following the installation instructions for face_recognition found at http://wiki.ros.org/face_recognition . When I attempt to run catkin_make I get the error: Invoking "make -j8 -l8" failed. Looking at previous questions asked about this the problem was people were running the wrong version of Ubuntu or Ros Distro. I am running Ubuntu 16.04 with ROS Kinetic as I believe I should be. I also checked, and all required dependencies are installed. Below is the full error message I get when I run catkin_make. Any suggestions would be much appreciated!

horc@horc-Z97X-SLI:~/catkin_ws$ catkin_make
Base path: /home/horc/catkin_ws
Source space: /home/horc/catkin_ws/src
Build space: /home/horc/catkin_ws/build
Devel space: /home/horc/catkin_ws/devel
Install space: /home/horc/catkin_ws/install
####
#### Running command: "make cmake_check_build_system" in "/home/horc/catkin_ws/build"
####
####
#### Running command: "make -j8 -l8" in "/home/horc/catkin_ws/build"
####
[  0%] Built target std_msgs_generate_messages_py
[  0%] Built target std_msgs_generate_messages_eus
[  0%] Built target std_msgs_generate_messages_cpp
[  0%] Built target std_msgs_generate_messages_lisp
[  0%] Built target _ca_msgs_generate_messages_check_deps_Mode
[  0%] Built target std_msgs_generate_messages_nodejs
[  0%] Built target _ca_msgs_generate_messages_check_deps_ChargingState
[  0%] Built target _ca_msgs_generate_messages_check_deps_DefineSong
[  0%] Built target _ca_msgs_generate_messages_check_deps_PlaySong
[  0%] Built target _ca_msgs_generate_messages_check_deps_Bumper
[  0%] Built target nav_msgs_generate_messages_nodejs
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetNormal
[  0%] Built target nav_msgs_generate_messages_lisp
[  0%] Built target nav_msgs_generate_messages_eus
[  0%] Built target nav_msgs_generate_messages_py
[  0%] Built target nav_msgs_generate_messages_cpp
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetDistanceToObstacle
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetSearchPosition
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRobotTrajectory
[  0%] Built target _catkin_empty_exported_target
[  0%] Built target roscpp_generate_messages_lisp
[  0%] Built target _hector_nav_msgs_generate_messages_check_deps_GetRecoveryInfo
[  0%] Built target actionlib_msgs_generate_messages_py
[  0%] Built target actionlib_msgs_generate_messages_lisp
[  0%] Built target _beginner_tutorials_generate_messages_check_deps_Num
[  0%] Built target geometry_msgs_generate_messages_cpp
[  0%] Built target actionlib_msgs_generate_messages_cpp
[  0%] Built target actionlib_msgs_generate_messages_eus
[  0%] Built target _beginner_tutorials_generate_messages_check_deps_AddTwoInts
[  0%] Built target geometry_msgs_generate_messages_eus
[  0%] Built target geometry_msgs_generate_messages_nodejs
[  0%] Built target actionlib_msgs_generate_messages_nodejs
[  0%] Built target rosgraph_msgs_generate_messages_cpp
[  0%] Built target geometry_msgs_generate_messages_py
[  0%] Built target roscpp_generate_messages_py
[  0%] Built target geometry_msgs_generate_messages_lisp
[  0%] Built target rosgraph_msgs_generate_messages_eus
[  0%] Built target rosgraph_msgs_generate_messages_nodejs
[  0%] Built target roscpp_generate_messages_cpp
[  0%] Built target rosgraph_msgs_generate_messages_lisp
[  0%] Built target roscpp_generate_messages_eus
[  0%] Built target roscpp_generate_messages_nodejs
[  0%] Built target rosgraph_msgs_generate_messages_py
[  0%] Built target actionlib_generate_messages_nodejs
[  0%] Built target sensor_msgs_generate_messages_py
[  0%] Built target sensor_msgs_generate_messages_eus
[  3%] Built target rplidarNode
[  3%] Built target sensor_msgs_generate_messages_lisp
[  4%] Built target rplidarNodeClient
[  4%] Built target sensor_msgs_generate_messages_nodejs
[  5%] Built target map_to_image_node
[  5%] Built target sensor_msgs_generate_messages_cpp
[  5%] Built target actionlib_generate_messages_cpp
[  5%] Built target actionlib_generate_messages_lisp
[  5%] Built target actionlib_generate_messages_eus
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionResult
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionGoal
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionFeedback
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionActionFeedback
[  5%] Built target _face_recognition_generate_messages_check_deps_FRClientGoal
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionActionResult
[  5%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionAction
[  5%] Built target actionlib_generate_messages_py
[  6%] Performing update step for 'libcreate'
[  6%] Building CXX object procrob_functional/CMakeFiles/face_recognition_lib.dir/src/face_recognition_lib.cpp.o
[  6%] Built target _face_recognition_generate_messages_check_deps_FaceRecognitionActionGoal
[  6%] Built target visualization_msgs_generate_messages_eus
[  6%] Built target tf2_msgs_generate_messages_nodejs
[  6%] Built target visualization_msgs_generate_messages_nodejs
[  7%] Built target imu_attitude_to_tf_node
[  9%] Built target pose_and_orientation_to_imu_node
[ 10%] Built target tf_generate_messages_py
[ 10%] Performing configure step for 'libcreate'
[ 10%] Built target visualization_msgs_generate_messages_py
[ 10%] Built target visualization_msgs_generate_messages_cpp
[ 10%] Built target visualization_msgs_generate_messages_lisp
[ 10%] Built target tf_generate_messages_nodejs
[ 10%] Built target tf_generate_messages_cpp
[ 10%] Built target tf_generate_messages_eus
[ 10%] Built target tf2_msgs_generate_messages_cpp
[ 10%] Built target tf2_msgs_generate_messages_eus
[ 10%] Built target tf2_msgs_generate_messages_lisp
[ 10%] Built target tf_generate_messages_lisp
[ 10%] Built target tf2_msgs_generate_messages_py
-- Boost version: 1.58.0
-- Found the ...
(more)
edit retag flag offensive close merge delete

Comments

It looks like this is failing on OpenCV2 function calls. Do you have OpenCV3?

ahendrix gravatar image ahendrix  ( 2018-02-19 17:11:28 -0500 )edit

I have vision_opencv

mjc1021 gravatar image mjc1021  ( 2018-02-19 17:51:02 -0500 )edit

vision_opencv is a wrapper library, not a version of OpenCV. According to http://www.ros.org/reps/rep-0003.html... , on Kinetic and Ubuntu 16.04, the default version of OpenCV is OpenCV3, so that's probably what you have.

ahendrix gravatar image ahendrix  ( 2018-02-19 21:35:23 -0500 )edit

@mjc1021:

I am running Ubuntu 16.04 with ROS Kinetic as I believe I should be

It's not made explicit (in the readme fi), but at least the wiki page you link shows only an Indigo version. So Kinetic is not necessarily supported.

As @ahendrix writes, the pkg uses OpenCV2, and you have v3.

gvdhoorn gravatar image gvdhoorn  ( 2018-02-20 01:52:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-19 21:42:42 -0500

ahendrix gravatar image

It looks like this package uses an obsolete API from OpenCV2, which is no longer supported in OpenCV3.

It looks like you or someone else will need to update this package to support OpenCV3. You can either try to do this yourself and submit a pull request on GitHub, or open an issue on the project's issue tracker and hope that the maintainers have time to update it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2018-02-19 15:20:51 -0500

Seen: 480 times

Last updated: Feb 19 '18