Ask Your Question

i have problem with face_recognition.

asked 2015-07-18 10:26:48 -0500

rozbeh_ak2007 gravatar image

when i run :rosrun face_recognition fserver error:[rosrun] Couldn't find executable named fserver below /home/rouzbeh/rostest/fc/face_recognition

env| grep ROS_PACKAGE_PATHROS_PACKAGE_PATH=/home/rouzbeh/rostest/fc/face_recognition:/opt/ros/indigo/share:/opt/ros/indigo/stacks


edit retag flag offensive close merge delete



"/home/rouzbeh/rostest/fc/face_recognition" This shouldn't be in your ROS_PACKAGE_PATH. You have problems with your workspace settings probably. Change ROS_PACKAGE_PATH to point to the src folder in your workspace and after compilation, give it another try.

yigit gravatar image yigit  ( 2015-07-18 18:13:35 -0500 )edit

1 Answer

Sort by » oldest newest most voted

answered 2015-07-18 19:41:10 -0500

rozbeh_ak2007 gravatar image

cognition.cpp:27: /usr/include/boost/container/container_fwd.hpp:53:7: note: ‘boost::container::vector’ class vector; ^ In file included from /usr/include/opencv2/contrib/contrib.hpp:981:0, from /usr/include/opencv/cvaux.h:61, from /home/rouzbeh/catkin_ws/src/procrob_functional/src/face_recognition.cpp:36: /usr/include/opencv2/contrib/openfabmap.hpp:330:24: error: template argument 2 is invalid map<int, vector<int=""> > testInvertedMap; ^ /usr/include/opencv2/contrib/openfabmap.hpp:330:24: error: template argument 4 is invalid /usr/include/opencv2/contrib/openfabmap.hpp:330:26: error: expected unqualified-id before ‘>’ token map<int, vector<int=""> > testInvertedMap; ^ /usr/include/opencv2/contrib/openfabmap.hpp:345:20: error: ‘vector’ does not name a type void add(const vector<mat>& imgDescriptors); ^ /usr/include/opencv2/contrib/openfabmap.hpp:345:26: error: expected ‘,’ or ‘...’ before ‘<’ token void add(const vector<mat>& imgDescriptors); ^ /usr/include/opencv2/contrib/openfabmap.hpp:347:11: error: ‘vector’ does not name a type const vector<mat>& getImgDescriptors() const; ^ /usr/include/opencv2/contrib/openfabmap.hpp:352:5: error: ‘vector’ does not name a type vector<mat> imgDescriptors; ^ /usr/include/opencv2/contrib/openfabmap.hpp:378:5: error: ‘vector’ does not name a type vector<int> extractChildren(list<info> &remaining_edges, int q); ^ make[2]: * [procrob_functional/CMakeFiles/Fserver.dir/src/face_recognition.cpp.o] Error 1 make[1]: [procrob_functional/CMakeFiles/Fserver.dir/all] Error 2 Linking CXX executable /home/rouzbeh/catkin_ws/devel/lib/face_recognition/Fclient [100%] Built target Fclient make: ** [all] Error 2 Invoking "make -j8 -l8" failed

edit flag offensive delete link more


i have this error when rouzbeh@cyrus:~/catkin_ws$ catkin_make

rozbeh_ak2007 gravatar image rozbeh_ak2007  ( 2015-07-18 19:43:19 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2015-07-18 10:26:48 -0500

Seen: 719 times

Last updated: Jul 18 '15