Robotics StackExchange | Archived questions

i have problem with face_recognition.

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

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

tnx

Asked by rozbeh_ak2007 on 2015-07-18 10:26:48 UTC

Comments

"/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.

Asked by yigit on 2015-07-18 18:13:35 UTC

Answers

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 > 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 > testInvertedMap; ^ /usr/include/opencv2/contrib/openfabmap.hpp:345:20: error: ‘vector’ does not name a type void add(const vector& imgDescriptors); ^ /usr/include/opencv2/contrib/openfabmap.hpp:345:26: error: expected ‘,’ or ‘...’ before ‘<’ token void add(const vector& imgDescriptors); ^ /usr/include/opencv2/contrib/openfabmap.hpp:347:11: error: ‘vector’ does not name a type const vector& getImgDescriptors() const; ^ /usr/include/opencv2/contrib/openfabmap.hpp:352:5: error: ‘vector’ does not name a type vector imgDescriptors; ^ /usr/include/opencv2/contrib/openfabmap.hpp:378:5: error: ‘vector’ does not name a type vector extractChildren(list &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

Asked by rozbeh_ak2007 on 2015-07-18 19:41:10 UTC

Comments

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

Asked by rozbeh_ak2007 on 2015-07-18 19:43:19 UTC