Open tsmjohnpascual opened 5 years ago
I face the same issue as well <error: ‘DetectionMode’ in namespace ‘op’ does not name a type>. All the subsequent errors are class op:: related....any suggestions?
[ 71%] Building CXX object openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o
[ 73%] Building CXX object openpose_ros_pkg/CMakeFiles/test_openpose_ros_service_call.dir/src/test_openpose_ros_service_call.cpp.o
[ 76%] Building CXX object openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:250:5: error: ‘DetectionMode’ in namespace ‘op’ does not name a type
op::DetectionMode gflagToDetectionMode(const int handDetectionModeFlag, const std::shared_ptr
I've mentioned it a few times, but this wrapper uses an old version of the openpose to guarantee source compilation: See https://github.com/stevenjj/openpose_ros/issues/22 and https://github.com/stevenjj/openpose_ros/issues/18
I am trying to install openpose_ros but I get this error when running catkin_make.
Ubuntu 16.04 CUDA 8.0 CUDNN 5.1 Opencv 3.2.0 PCL 1.8
Base path: /home/lorenzo/catkin_ws Source space: /home/lorenzo/catkin_ws/src Build space: /home/lorenzo/catkin_ws/build Devel space: /home/lorenzo/catkin_ws/devel Install space: /home/lorenzo/catkin_ws/install
Running command: "cmake /home/lorenzo/catkin_ws/src -DCATKIN_DEVEL_PREFIX=/home/lorenzo/catkin_ws/devel -DCMAKE_INSTALL_PREFIX=/home/lorenzo/catkin_ws/install -G Unix Makefiles" in "/home/lorenzo/catkin_ws/build"
-- Using CATKIN_DEVEL_PREFIX: /home/lorenzo/catkin_ws/devel -- Using CMAKE_PREFIX_PATH: /home/lorenzo/catkin_ws/devel;/opt/ros/kinetic -- This workspace overlays: /home/lorenzo/catkin_ws/devel;/opt/ros/kinetic -- Using PYTHON_EXECUTABLE: /usr/bin/python -- Using Debian Python package layout -- Using empy: /usr/bin/empy -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/lorenzo/catkin_ws/build/test_results -- Found gmock sources under '/usr/src/gmock': gmock will be built -- Found gtest sources under '/usr/src/gmock': gtests will be built -- Using Python nosetests: /usr/bin/nosetests-2.7 -- catkin 0.7.14 -- BUILD_SHARED_LIBS is on --
~~~~~~~~~~~~~ -- ~~ traversing 8 packages in topological order: -- ~~ - iai_kinect2 (metapackage) -- ~~ - kinect2_registration -- ~~ - openpose_ros_msgs -- ~~ - openpose_ros_pkg -- ~~ - kinect2_bridge -- ~~ - kinect2_calibration -- ~~ - kinect2_viewer -- ~~ - skeleton_extract_3d --~~~~~~~~~~~~~ -- +++ processing catkin metapackage: 'iai_kinect2' -- ==> add_subdirectory(iai_kinect2/iai_kinect2) -- +++ processing catkin package: 'kinect2_registration' -- ==> add_subdirectory(iai_kinect2/kinect2_registration) -- CPU based depth registration enabled -- OpenCL based depth registration enabled CMake Warning at iai_kinect2/kinect2_registration/CMakeLists.txt:60 (message): Your libOpenCL.so is incompatible with CL/cl.h. Install ocl-icd-opencl-dev to update libOpenCL.so?-- +++ processing catkin package: 'openpose_ros_msgs' -- ==> add_subdirectory(openpose_ros/openpose_ros_msgs) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- openpose_ros_msgs: 4 messages, 1 services -- +++ processing catkin package: 'openpose_ros_pkg' -- ==> add_subdirectory(openpose_ros/openpose_ros_pkg) -- +++ processing catkin package: 'kinect2_bridge' -- ==> add_subdirectory(iai_kinect2/kinect2_bridge) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- +++ processing catkin package: 'kinect2_calibration' -- ==> add_subdirectory(iai_kinect2/kinect2_calibration) -- +++ processing catkin package: 'kinect2_viewer' -- ==> add_subdirectory(iai_kinect2/kinect2_viewer) -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex -- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) WARNING io features related to openni2 will be disabled WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:
-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:
-- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) WARNING visualization features related to openni2 will be disabled -- looking for PCL_COMMON -- looking for PCL_KDTREE -- looking for PCL_OCTREE -- looking for PCL_SEARCH -- looking for PCL_IO -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_GEOMETRY -- looking for PCL_FEATURES -- looking for PCL_SEGMENTATION -- looking for PCL_SURFACE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_KEYPOINTS -- looking for PCL_VISUALIZATION -- looking for PCL_PEOPLE -- looking for PCL_OUTOFCORE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) -- looking for PCL_MODELER -- looking for PCL_IN_HAND_SCANNER -- looking for PCL_POINT_CLOUD_EDITOR -- +++ processing catkin package: 'skeleton_extract_3d' -- ==> add_subdirectory(openpose_ros/skeleton_extract_3d) -- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy -- Boost version: 1.58.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- date_time -- iostreams -- serialization -- chrono -- atomic -- regex -- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) WARNING io features related to openni2 will be disabled WARNING io features related to pcap will be disabled WARNING io features related to png will be disabled -- The imported target "vtkRenderingPythonTkWidgets" references the file "/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so" but this file does not exist. Possible reasons include:
-- The imported target "vtk" references the file "/usr/bin/vtk" but this file does not exist. Possible reasons include:
-- Checking for module 'libopenni2' -- No package 'libopenni2' found -- Could NOT find OpenNI2 (missing: OPENNI2_LIBRARY OPENNI2_INCLUDE_DIRS) WARNING visualization features related to openni2 will be disabled -- looking for PCL_COMMON -- looking for PCL_KDTREE -- looking for PCL_OCTREE -- looking for PCL_SEARCH -- looking for PCL_IO -- looking for PCL_SAMPLE_CONSENSUS -- looking for PCL_FILTERS -- looking for PCL_GEOMETRY -- looking for PCL_FEATURES -- looking for PCL_SEGMENTATION -- looking for PCL_SURFACE -- looking for PCL_REGISTRATION -- looking for PCL_RECOGNITION -- looking for PCL_KEYPOINTS -- looking for PCL_VISUALIZATION -- looking for PCL_PEOPLE -- looking for PCL_OUTOFCORE -- looking for PCL_TRACKING -- looking for PCL_APPS -- Could NOT find PCL_APPS (missing: PCL_APPS_LIBRARY) -- looking for PCL_MODELER -- looking for PCL_IN_HAND_SCANNER -- looking for PCL_POINT_CLOUD_EDITOR -- Found PCL: /usr/lib/x86_64-linux-gnu/libboost_system.so;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so;/usr/lib/x86_64-linux-gnu/libboost_thread.so;.........) -- Configuring done -- Generating done -- Build files have been written to: /home/lorenzo/catkin_ws/build
Running command: "make -j12 -l12" in "/home/lorenzo/catkin_ws/build"
Scanning dependencies of target std_msgs_generate_messages_eus Scanning dependencies of target _openpose_ros_msgs_generate_messages_check_deps_GetPersons Scanning dependencies of target sensor_msgs_generate_messages_eus Scanning dependencies of target _openpose_ros_msgs_generate_messages_check_deps_PersonDetection_3d Scanning dependencies of target _openpose_ros_msgs_generate_messages_check_deps_BodypartDetection_3d Scanning dependencies of target std_msgs_generate_messages_py Scanning dependencies of target sensor_msgs_generate_messages_cpp Scanning dependencies of target _openpose_ros_msgs_generate_messages_check_deps_PersonDetection Scanning dependencies of target std_msgs_generate_messages_cpp Scanning dependencies of target sensor_msgs_generate_messages_py Scanning dependencies of target _openpose_ros_msgs_generate_messages_check_deps_BodypartDetection [ 0%] Built target std_msgs_generate_messages_py [ 0%] Built target sensor_msgs_generate_messages_eus [ 0%] Built target std_msgs_generate_messages_eus [ 0%] Built target sensor_msgs_generate_messages_cpp [ 0%] Built target std_msgs_generate_messages_cpp [ 0%] Built target sensor_msgs_generate_messages_py Scanning dependencies of target sensor_msgs_generate_messages_lisp Scanning dependencies of target std_msgs_generate_messages_nodejs Scanning dependencies of target roscpp_generate_messages_py Scanning dependencies of target sensor_msgs_generate_messages_nodejs Scanning dependencies of target std_msgs_generate_messages_lisp [ 0%] Built target std_msgs_generate_messages_nodejs Scanning dependencies of target rosgraph_msgs_generate_messages_eus [ 0%] Built target sensor_msgs_generate_messages_lisp [ 0%] Built target roscpp_generate_messages_py [ 0%] Built target sensor_msgs_generate_messages_nodejs [ 0%] Built target std_msgs_generate_messages_lisp [ 0%] Built target _openpose_ros_msgs_generate_messages_check_deps_PersonDetection_3d [ 7%] Built target kinect2_registration [ 7%] Built target rosgraph_msgs_generate_messages_eus [ 7%] Built target _openpose_ros_msgs_generate_messages_check_deps_GetPersons Scanning dependencies of target rosgraph_msgs_generate_messages_nodejs [ 7%] Built target _openpose_ros_msgs_generate_messages_check_deps_BodypartDetection_3d Scanning dependencies of target rosgraph_msgs_generate_messages_cpp Scanning dependencies of target roscpp_generate_messages_cpp Scanning dependencies of target roscpp_generate_messages_eus [ 7%] Built target _openpose_ros_msgs_generate_messages_check_deps_PersonDetection Scanning dependencies of target rosgraph_msgs_generate_messages_py Scanning dependencies of target rosgraph_msgs_generate_messages_lisp [ 7%] Built target _openpose_ros_msgs_generate_messages_check_deps_BodypartDetection Scanning dependencies of target roscpp_generate_messages_lisp Scanning dependencies of target geometry_msgs_generate_messages_nodejs Scanning dependencies of target geometry_msgs_generate_messages_eus Scanning dependencies of target roscpp_generate_messages_nodejs [ 7%] Built target roscpp_generate_messages_eus [ 7%] Built target rosgraph_msgs_generate_messages_nodejs Scanning dependencies of target geometry_msgs_generate_messages_py [ 7%] Built target roscpp_generate_messages_cpp Scanning dependencies of target geometry_msgs_generate_messages_lisp [ 7%] Built target rosgraph_msgs_generate_messages_py [ 7%] Built target rosgraph_msgs_generate_messages_cpp [ 7%] Built target rosgraph_msgs_generate_messages_lisp [ 7%] Built target roscpp_generate_messages_lisp [ 7%] Built target roscpp_generate_messages_nodejs [ 7%] Built target geometry_msgs_generate_messages_py [ 7%] Built target geometry_msgs_generate_messages_nodejs [ 7%] Built target geometry_msgs_generate_messages_eus Scanning dependencies of target geometry_msgs_generate_messages_cpp Scanning dependencies of target openpose_ros [ 7%] Built target geometry_msgs_generate_messages_lisp Scanning dependencies of target visualization_msgs_generate_messages_cpp Scanning dependencies of target nodelet_generate_messages_nodejs [ 7%] Built target geometry_msgs_generate_messages_cpp Scanning dependencies of target tf2_msgs_generate_messages_eus Scanning dependencies of target nodelet_generate_messages_cpp Scanning dependencies of target tf_generate_messages_lisp Scanning dependencies of target tf2_msgs_generate_messages_lisp [ 9%] Building CXX object openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/src/openpose.cpp.o [ 9%] Built target visualization_msgs_generate_messages_cpp [ 9%] Built target nodelet_generate_messages_nodejs [ 9%] Built target tf2_msgs_generate_messages_eus Scanning dependencies of target actionlib_msgs_generate_messages_py [ 9%] Built target nodelet_generate_messages_cpp [ 9%] Built target tf2_msgs_generate_messages_lisp [ 9%] Built target tf_generate_messages_lisp Scanning dependencies of target actionlib_generate_messages_cpp Scanning dependencies of target actionlib_msgs_generate_messages_nodejs Scanning dependencies of target tf2_msgs_generate_messages_py [ 9%] Built target actionlib_msgs_generate_messages_py Scanning dependencies of target nodelet_generate_messages_py [ 12%] Built target kinect2_bridge_nodelet Scanning dependencies of target tf_generate_messages_nodejs [ 16%] Built target kinect2_calibration [ 20%] Built target kinect2_bridge Scanning dependencies of target tf_generate_messages_cpp [ 20%] Built target tf2_msgs_generate_messages_py Scanning dependencies of target dynamic_reconfigure_generate_messages_py [ 20%] Built target actionlib_generate_messages_cpp [ 20%] Built target actionlib_msgs_generate_messages_nodejs Scanning dependencies of target actionlib_generate_messages_eus [ 20%] Built target nodelet_generate_messages_py [ 20%] Built target tf_generate_messages_nodejs [ 20%] Built target tf_generate_messages_cpp Scanning dependencies of target tf2_msgs_generate_messages_cpp Scanning dependencies of target actionlib_msgs_generate_messages_eus [ 24%] Built target kinect2_viewer Scanning dependencies of target actionlib_generate_messages_lisp Scanning dependencies of target tf_generate_messages_py Scanning dependencies of target actionlib_msgs_generate_messages_lisp [ 24%] Built target dynamic_reconfigure_generate_messages_py [ 24%] Built target actionlib_generate_messages_eus Scanning dependencies of target dynamic_reconfigure_gencfg Scanning dependencies of target actionlib_msgs_generate_messages_cpp [ 24%] Built target tf2_msgs_generate_messages_cpp Scanning dependencies of target actionlib_generate_messages_nodejs [ 24%] Built target actionlib_msgs_generate_messages_eus [ 24%] Built target tf_generate_messages_py [ 24%] Built target actionlib_msgs_generate_messages_lisp [ 24%] Built target actionlib_generate_messages_lisp Scanning dependencies of target tf_generate_messages_eus Scanning dependencies of target nodelet_generate_messages_lisp Scanning dependencies of target bond_generate_messages_cpp [ 24%] Built target actionlib_msgs_generate_messages_cpp Scanning dependencies of target actionlib_generate_messages_py [ 24%] Built target dynamic_reconfigure_gencfg [ 24%] Built target actionlib_generate_messages_nodejs Scanning dependencies of target tf2_msgs_generate_messages_nodejs Scanning dependencies of target bond_generate_messages_lisp Scanning dependencies of target bond_generate_messages_eus [ 24%] Built target tf_generate_messages_eus Scanning dependencies of target nodelet_generate_messages_eus [ 24%] Built target nodelet_generate_messages_lisp [ 24%] Built target actionlib_generate_messages_py Scanning dependencies of target bond_generate_messages_nodejs Scanning dependencies of target bond_generate_messages_py Scanning dependencies of target dynamic_reconfigure_generate_messages_cpp [ 24%] Built target bond_generate_messages_cpp [ 24%] Built target tf2_msgs_generate_messages_nodejs [ 24%] Built target bond_generate_messages_eus [ 24%] Built target nodelet_generate_messages_eus Scanning dependencies of target dynamic_reconfigure_generate_messages_eus Scanning dependencies of target dynamic_reconfigure_generate_messages_lisp Scanning dependencies of target dynamic_reconfigure_generate_messages_nodejs [ 24%] Built target bond_generate_messages_nodejs [ 24%] Built target bond_generate_messages_lisp [ 24%] Built target bond_generate_messages_py Scanning dependencies of target std_srvs_generate_messages_cpp [ 24%] Built target dynamic_reconfigure_generate_messages_cpp Scanning dependencies of target pcl_msgs_generate_messages_py [ 24%] Built target dynamic_reconfigure_generate_messages_lisp [ 24%] Built target dynamic_reconfigure_generate_messages_eus Scanning dependencies of target pcl_msgs_generate_messages_lisp Scanning dependencies of target nodelet_topic_tools_gencfg Scanning dependencies of target visualization_msgs_generate_messages_py Scanning dependencies of target pcl_msgs_generate_messages_cpp [ 24%] Built target std_srvs_generate_messages_cpp Scanning dependencies of target visualization_msgs_generate_messages_eus Scanning dependencies of target std_srvs_generate_messages_lisp [ 24%] Built target dynamic_reconfigure_generate_messages_nodejs Scanning dependencies of target pcl_ros_gencfg [ 24%] Built target pcl_msgs_generate_messages_py [ 24%] Built target nodelet_topic_tools_gencfg Scanning dependencies of target visualization_msgs_generate_messages_nodejs [ 24%] Built target visualization_msgs_generate_messages_py [ 24%] Built target pcl_msgs_generate_messages_lisp Scanning dependencies of target pcl_msgs_generate_messages_eus [ 24%] Built target pcl_msgs_generate_messages_cpp [ 24%] Built target visualization_msgs_generate_messages_eus Scanning dependencies of target pcl_msgs_generate_messages_nodejs [ 24%] Built target std_srvs_generate_messages_lisp [ 24%] Built target pcl_ros_gencfg Scanning dependencies of target std_srvs_generate_messages_nodejs Scanning dependencies of target topic_tools_generate_messages_cpp Scanning dependencies of target visualization_msgs_generate_messages_lisp [ 24%] Built target visualization_msgs_generate_messages_nodejs Scanning dependencies of target std_srvs_generate_messages_py Scanning dependencies of target topic_tools_generate_messages_eus Scanning dependencies of target std_srvs_generate_messages_eus [ 24%] Built target pcl_msgs_generate_messages_nodejs [ 24%] Built target pcl_msgs_generate_messages_eus Scanning dependencies of target topic_tools_generate_messages_nodejs Scanning dependencies of target topic_tools_generate_messages_lisp [ 24%] Built target std_srvs_generate_messages_nodejs [ 24%] Built target topic_tools_generate_messages_cpp Scanning dependencies of target topic_tools_generate_messages_py [ 24%] Built target visualization_msgs_generate_messages_lisp [ 24%] Built target std_srvs_generate_messages_py [ 24%] Built target std_srvs_generate_messages_eus [ 24%] Built target topic_tools_generate_messages_nodejs [ 24%] Built target topic_tools_generate_messages_eus Scanning dependencies of target openpose_ros_msgs_generate_messages_eus [ 24%] Built target topic_tools_generate_messages_lisp Scanning dependencies of target openpose_ros_msgs_generate_messages_py Scanning dependencies of target openpose_ros_msgs_generate_messages_cpp [ 24%] Built target topic_tools_generate_messages_py Scanning dependencies of target openpose_ros_msgs_generate_messages_nodejs Scanning dependencies of target openpose_ros_msgs_generate_messages_lisp [ 25%] Generating Python from MSG openpose_ros_msgs/PersonDetection [ 27%] Generating EusLisp code from openpose_ros_msgs/PersonDetection.msg [ 29%] Generating EusLisp code from openpose_ros_msgs/PersonDetection_3d.msg [ 33%] Generating EusLisp code from openpose_ros_msgs/BodypartDetection_3d.msg [ 33%] Generating EusLisp code from openpose_ros_msgs/BodypartDetection.msg [ 35%] Generating EusLisp manifest code for openpose_ros_msgs [ 37%] Generating EusLisp code from openpose_ros_msgs/GetPersons.srv [ 38%] Generating C++ code from openpose_ros_msgs/PersonDetection.msg [ 40%] Generating Python from MSG openpose_ros_msgs/BodypartDetection_3d [ 42%] Generating Javascript code from openpose_ros_msgs/PersonDetection.msg [ 44%] Generating Lisp code from openpose_ros_msgs/PersonDetection.msg [ 46%] Generating Lisp code from openpose_ros_msgs/BodypartDetection_3d.msg [ 48%] Generating Python from MSG openpose_ros_msgs/PersonDetection_3d [ 50%] Generating Lisp code from openpose_ros_msgs/PersonDetection_3d.msg [ 51%] Generating Lisp code from openpose_ros_msgs/BodypartDetection.msg [ 53%] Generating C++ code from openpose_ros_msgs/BodypartDetection_3d.msg [ 55%] Generating Lisp code from openpose_ros_msgs/GetPersons.srv [ 57%] Generating Javascript code from openpose_ros_msgs/BodypartDetection_3d.msg [ 59%] Generating Python from MSG openpose_ros_msgs/BodypartDetection [ 61%] Generating Python code from SRV openpose_ros_msgs/GetPersons [ 62%] Generating C++ code from openpose_ros_msgs/PersonDetection_3d.msg [ 64%] Generating C++ code from openpose_ros_msgs/BodypartDetection.msg [ 66%] Generating Javascript code from openpose_ros_msgs/PersonDetection_3d.msg [ 66%] Built target openpose_ros_msgs_generate_messages_lisp [ 68%] Generating Javascript code from openpose_ros_msgs/BodypartDetection.msg [ 70%] Generating C++ code from openpose_ros_msgs/GetPersons.srv [ 72%] Generating Javascript code from openpose_ros_msgs/GetPersons.srv [ 72%] Built target openpose_ros_msgs_generate_messages_nodejs [ 74%] Generating Python msg init.py for openpose_ros_msgs [ 75%] Generating Python srv init.py for openpose_ros_msgs [ 75%] Built target openpose_ros_msgs_generate_messages_py [ 75%] Built target openpose_ros_msgs_generate_messages_cpp [ 75%] Built target openpose_ros_msgs_generate_messages_eus Scanning dependencies of target openpose_ros_node_firephinx Scanning dependencies of target openpose_ros_msgs_generate_messages Scanning dependencies of target skeleton_extract_3d_visualization_node Scanning dependencies of target test_openpose_ros_service_call Scanning dependencies of target openpose_ros_node_3d Scanning dependencies of target openpose_ros_node Scanning dependencies of target skeleton_extract_3d_node [ 75%] Built target openpose_ros_msgs_generate_messages [ 77%] Building CXX object openpose_ros/skeleton_extract_3d/CMakeFiles/skeleton_extract_3d_visualization_node.dir/src/skeleton_extract_3d_visualization_node.cpp.o [ 79%] Building CXX object openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o [ 81%] Building CXX object openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o [ 83%] Building CXX object openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o [ 85%] Building CXX object openpose_ros/openpose_ros_pkg/CMakeFiles/test_openpose_ros_service_call.dir/src/test_openpose_ros_service_call.cpp.o [ 87%] Building CXX object openpose_ros/skeleton_extract_3d/CMakeFiles/skeleton_extract_3d_node.dir/src/skeleton_extract_3d_node.cpp.o /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp: In function ‘op::PoseModel gflagToPoseModel(const string&)’: /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:168:16: error: ‘BODY_22’ is not a member of ‘op::PoseModel’ return op::PoseModel::BODY_22; ^ /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp: At global scope: /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:250:5: error: ‘DetectionMode’ in namespace ‘op’ does not name a type op::DetectionMode gflagToDetectionMode(const int handDetectionModeFlag, const std::shared_ptr& producer = nullptr)
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp: In function ‘int opRealTimePoseDemo()’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:360:9: error: ‘op::Wrapper {aka op::WrapperT}’ is not a template
op::Wrapper<std::vector> opWrapper;
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:365:132: error: no matching function for call to ‘op::WrapperStructPose::WrapperStructPose()’
FLAGS_part_to_show, FLAGS_model_folder, heatMapTypes, op::ScaleMode::UnsignedChar};
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:13:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:211:9: note: candidate: op::WrapperStructPose::WrapperStructPose(op::PoseMode, const op::Point&, const op::Point&, op::ScaleMode, int, int, int, float, op::RenderMode, op::PoseModel, bool, float, float, int, const string&, const std::vector&, op::ScaleMode, bool, float, int, bool, double, const string&, const string&, float, bool)
WrapperStructPose(
^
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:211:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseMode’
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate: op::WrapperStructPose::WrapperStructPose(const op::WrapperStructPose&)
struct OP_API WrapperStructPose
^
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate expects 1 argument, 16 provided
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate: op::WrapperStructPose::WrapperStructPose(op::WrapperStructPose&&)
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate expects 1 argument, 16 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:368:107: error: no matching function for call to ‘op::WrapperStructFace::WrapperStructFace()’
(float)FLAGS_alpha_face, (float)FLAGS_alpha_heatmap_face};
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:8:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:68:9: note: candidate: op::WrapperStructFace::WrapperStructFace(bool, op::Detector, const op::Point&, op::RenderMode, float, float, float)
WrapperStructFace(
^
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:68:9: note: no known conversion for argument 2 from ‘op::Point’ to ‘op::Detector’
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate: op::WrapperStructFace::WrapperStructFace(const op::WrapperStructFace&)
struct OP_API WrapperStructFace
^
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate: op::WrapperStructFace::WrapperStructFace(op::WrapperStructFace&&)
/usr/local/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate expects 1 argument, 5 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:370:146: error: ‘gflagToDetectionMode’ was not declared in this scope
const op::WrapperStructHand wrapperStructHand{FLAGS_hand, handNetInputSize, gflagToDetectionMode(FLAGS_hand_detection_mode, producerSharedPtr),
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:372:82: error: no matching function for call to ‘op::WrapperStructHand::WrapperStructHand()’
(float)FLAGS_alpha_heatmap_hand};
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:10:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:87:9: note: candidate: op::WrapperStructHand::WrapperStructHand(bool, op::Detector, const op::Point&, int, float, op::RenderMode, float, float, float)
WrapperStructHand(
^
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:87:9: note: no known conversion for argument 2 from ‘op::Point’ to ‘op::Detector’
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate: op::WrapperStructHand::WrapperStructHand(const op::WrapperStructHand&)
struct OP_API WrapperStructHand
^
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate expects 1 argument, 6 provided
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate: op::WrapperStructHand::WrapperStructHand(op::WrapperStructHand&&)
/usr/local/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate expects 1 argument, 6 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:375:110: error: no matching function for call to ‘op::WrapperStructInput::WrapperStructInput()’
FLAGS_frame_flip, FLAGS_frame_rotate, FLAGS_frames_repeat};
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:11:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:99:9: note: candidate: op::WrapperStructInput::WrapperStructInput(op::ProducerType, const string&, long long unsigned int, long long unsigned int, long long unsigned int, bool, bool, int, bool, const op::Point&, const string&, bool, int)
WrapperStructInput(
^
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:99:9: note: no known conversion for argument 1 from ‘std::shared_ptr’ to ‘op::ProducerType’
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate: op::WrapperStructInput::WrapperStructInput(const op::WrapperStructInput&)
struct OP_API WrapperStructInput
^
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate expects 1 argument, 7 provided
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate: op::WrapperStructInput::WrapperStructInput(op::WrapperStructInput&&)
/usr/local/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate expects 1 argument, 7 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:380:104: error: no matching function for call to ‘op::WrapperStructOutput::WrapperStructOutput()’
FLAGS_write_heatmaps, FLAGS_write_heatmaps_format};
^
In file included from /usr/local/include/openpose/wrapper/wrapper.hpp:12:0,
from /usr/local/include/openpose/wrapper/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:150:9: note: candidate: op::WrapperStructOutput::WrapperStructOutput(double, const string&, op::DataFormat, const string&, const string&, int, int, const string&, const string&, const string&, double, bool, const string&, const string&, const string&, const string&, const string&, const string&, const string&)
WrapperStructOutput(
^
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:150:9: note: no known conversion for argument 2 from ‘bool’ to ‘const string& {aka const std::cxx11::basic_string&}’
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(const op::WrapperStructOutput&)
struct OP_API WrapperStructOutput
^
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 12 provided
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(op::WrapperStructOutput&&)
/usr/local/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 12 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:382:121: error: no matching function for call to ‘op::WrapperT::configure(const op::WrapperStructPose&, const op::WrapperStructFace&, const op::WrapperStructHand&, const op::WrapperStructInput&, const op::WrapperStructOutput&)’
opWrapper.configure(wrapperStructPose, wrapperStructFace, wrapperStructHand, wrapperStructInput, wrapperStructOutput);
^
In file included from /usr/local/include/openpose/wrapper/headers.hpp:6:0,
from /usr/local/include/openpose/headers.hpp:47,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose.cpp:31:
/usr/local/include/openpose/wrapper/wrapper.hpp:320:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructPose&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructPose& wrapperStructPose)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:320:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:333:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructFace&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructFace& wrapperStructFace)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:333:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:346:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructHand&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructHand& wrapperStructHand)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:346:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:359:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructExtra&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructExtra& wrapperStructExtra)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:359:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:372:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructInput&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructInput& wrapperStructInput)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:372:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:385:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructOutput&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructOutput& wrapperStructOutput)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:385:10: note: candidate expects 1 argument, 5 provided
/usr/local/include/openpose/wrapper/wrapper.hpp:398:10: note: candidate: void op::WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const op::WrapperStructGui&) [with TDatum = op::Datum; TDatums = std::vector<std::shared_ptr >; TDatumsSP = std::shared_ptr<std::vector<std::shared_ptr > >; TWorker = std::shared_ptr<op::Worker<std::shared_ptr<std::vector<std::shared_ptr > > > >]
void WrapperT<TDatum, TDatums, TDatumsSP, TWorker>::configure(const WrapperStructGui& wrapperStructGui)
^
/usr/local/include/openpose/wrapper/wrapper.hpp:398:10: note: candidate expects 1 argument, 5 provided
openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/build.make:62: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/src/openpose.cpp.o' failed
make[2]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/src/openpose.cpp.o] Error 1
CMakeFiles/Makefile2:2099: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/all' failed
make[1]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp: In function ‘int openPoseROSTutorial()’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:188:93: error: no matching function for call to ‘op::CvMatToOpInput::CvMatToOpInput()’
op::CvMatToOpInput cvMatToOpInput{netInputSize, FLAGS_num_scales, (float)FLAGS_scale_gap};
^
In file included from /usr/local/include/openpose/core/headers.hpp:8:0,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:28:
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::PoseModel)
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate expects 1 argument, 3 provided
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: constexpr op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&)
class OP_API CvMatToOpInput
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:189:51: error: too many initializers for ‘op::CvMatToOpOutput’
op::CvMatToOpOutput cvMatToOpOutput{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:191:89: error: no matching function for call to ‘op::PoseExtractorCaffe::PoseExtractorCaffe()’
model_folder_location, FLAGS_num_gpu_start};
^
In file included from /usr/local/include/openpose/pose/headers.hpp:8:0,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: candidate: op::PoseExtractorCaffe::PoseExtractorCaffe(op::PoseModel, const string&, int, const std::vector&, op::ScaleMode, bool, bool, const string&, const string&, float, bool, bool)
PoseExtractorCaffe(
^
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseModel’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:192:130: error: no matching function for call to ‘op::PoseRenderer::PoseRenderer()’
op::PoseRenderer poseRenderer{netOutputSize, outputSize, poseModel, nullptr, !FLAGS_disable_blending, (float)FLAGS_alpha_pose};
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/usr/local/include/openpose/pose/poseRenderer.hpp:13:9: note: candidate: op::PoseRenderer::PoseRenderer(op::PoseModel)
PoseRenderer(const PoseModel poseModel);
^
/usr/local/include/openpose/pose/poseRenderer.hpp:13:9: note: candidate expects 1 argument, 6 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:192:22: error: cannot declare variable ‘poseRenderer’ to be of abstract type ‘op::PoseRenderer’
op::PoseRenderer poseRenderer{netOutputSize, outputSize, poseModel, nullptr, !FLAGS_disable_blending, (float)FLAGS_alpha_pose};
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/usr/local/include/openpose/pose/poseRenderer.hpp:10:18: note: because the following virtual functions are pure within ‘op::PoseRenderer’:
class OP_API PoseRenderer
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: virtual std::pair<int, std:: cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:195:51: error: too many initializers for ‘op::OpOutputToCvMat’
op::OpOutputToCvMat opOutputToCvMat{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:225:67: error: ‘class op::CvMatToOpInput’ has no member named ‘format’
std::tie(netInputArray, scaleRatios) = cvMatToOpInput.format(inputImage);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:228:73: error: ‘class op::CvMatToOpOutput’ has no member named ‘format’
std::tie(scaleInputToOutput, outputArray) = cvMatToOpOutput.format(inputImage);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:250:106: error: no matching function for call to ‘op::PoseExtractorCaffe::forwardPass(op::Array&, , std::vector&)’
poseExtractorCaffe.forwardPass(netInputArray, {inputImage.cols, inputImage.rows}, scaleRatios);
^
In file included from /usr/local/include/openpose/pose/headers.hpp:8:0,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:39:22: note: candidate: virtual void op::PoseExtractorCaffe::forwardPass(const std::vector<op::Array >&, const op::Point&, const std::vector&, const op::Array&)
virtual void forwardPass(
^
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:39:22: note: no known conversion for argument 1 from ‘op::Array’ to ‘const std::vector<op::Array >&’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:256:63: error: no matching function for call to ‘op::PoseRenderer::renderPose(op::Array&, const op::Array&)’
poseRenderer.renderPose(outputArray, poseKeypoints);
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate: virtual std::pair<int, std::cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate expects 4 arguments, 2 provided
[ 88%] Linking CXX executable /home/lorenzo/catkin_ws/devel/lib/skeleton_extract_3d/skeleton_extract_3d_visualization_node
openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/build.make:62: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o' failed
make[2]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o] Error 1
CMakeFiles/Makefile2:2062: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/all' failed
make[1]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/all] Error 2
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘std::map<unsigned int, std::cxx11::basic_string > getBodyPartMapFromPoseModel(const op::PoseModel&)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:98:12: error: ‘POSE_COCO_BODY_PARTS’ is not a member of ‘op’
return op::POSE_COCO_BODY_PARTS;
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:102:12: error: ‘POSE_MPI_BODY_PARTS’ is not a member of ‘op’
return op::POSE_MPI_BODY_PARTS;
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘bool detectPosesCallback(openpose_ros_msgs::GetPersons::Request&, openpose_ros_msgs::GetPersons::Response&)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:158:84: error: no matching function for call to ‘op::CvMatToOpInput::CvMatToOpInput(op::Point&, int&, double&)’
op::CvMatToOpInput cv_mat_to_op_input(g_net_input_size, g_num_scales, g_scale_gap);
^
In file included from /usr/local/include/openpose/core/headers.hpp:8:0,
from /usr/local/include/openpose/headers.hpp:11,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::PoseModel)
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate expects 1 argument, 3 provided
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: constexpr op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&)
class OP_API CvMatToOpInput
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:166:61: error: ‘class op::CvMatToOpInput’ has no member named ‘format’
std::tie(netInputArray, scaleRatios) = cv_mat_to_op_input.format(image);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:170:86: error: no matching function for call to ‘op::PoseExtractor::forwardPass(op::Array&, , std::vector&)’
g_pose_extractor->forwardPass(netInputArray, {image.cols, image.rows}, scaleRatios);
^
In file included from /usr/local/include/openpose/pose/headers.hpp:7:0,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/pose/poseExtractor.hpp:27:14: note: candidate: void op::PoseExtractor::forwardPass(const std::vector<op::Array >&, const op::Point&, const std::vector&, const op::Array&, long long int)
void forwardPass(const std::vector<Array>& inputNetData,
^
/usr/local/include/openpose/pose/poseExtractor.hpp:27:14: note: no known conversion for argument 1 from ‘op::Array’ to ‘const std::vector<op::Array >&’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:184:49: error: too many initializers for ‘op::CvMatToOpOutput’
op::CvMatToOpOutput cvMatToOpOutput{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:185:49: error: too many initializers for ‘op::OpOutputToCvMat’
op::OpOutputToCvMat opOutputToCvMat{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:188:69: error: no matching function for call to ‘op::FrameDisplayer::FrameDisplayer()’
op::FrameDisplayer frameDisplayer{windowedSize, "OpenPose Example"};
^
In file included from /usr/local/include/openpose/gui/headers.hpp:6:0,
from /usr/local/include/openpose/headers.hpp:20,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/gui/frameDisplayer.hpp:24:9: note: candidate: op::FrameDisplayer::FrameDisplayer(const string&, const op::Point&, bool)
FrameDisplayer(const std::string& windowedName = OPEN_POSE_NAME_AND_VERSION,
^
/usr/local/include/openpose/gui/frameDisplayer.hpp:24:9: note: no known conversion for argument 1 from ‘const op::Point’ to ‘const string& {aka const std:: cxx11::basic_string&}’
/usr/local/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate: op::FrameDisplayer::FrameDisplayer(const op::FrameDisplayer&)
class OP_API FrameDisplayer
^
/usr/local/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate expects 1 argument, 2 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:192:63: error: ‘class op::CvMatToOpOutput’ has no member named ‘format’
std::tie(scaleInputToOutput, outputArray) = cvMatToOpOutput.format(image);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:195:46: error: no matching function for call to ‘op::PoseRenderer::renderPose(op::Array&, const op::Array&)’
poseRenderer->renderPose(outputArray, poses);
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate: virtual std::pair<int, std:: cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate expects 4 arguments, 2 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp: In function ‘std::map<unsigned int, std::cxx11::basic_string > getBodyPartMapFromPoseModel(const op::PoseModel&)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:100:12: error: ‘POSE_COCO_BODY_PARTS’ is not a member of ‘op’
return op::POSE_COCO_BODY_PARTS;
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:104:12: error: ‘POSE_MPI_BODY_PARTS’ is not a member of ‘op’
return op::POSE_MPI_BODY_PARTS;
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp: In function ‘bool detectPosesCallback(openpose_ros_msgs::GetPersons::Request&, openpose_ros_msgs::GetPersons::Response&)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:160:84: error: no matching function for call to ‘op::CvMatToOpInput::CvMatToOpInput(op::Point&, int&, double&)’
op::CvMatToOpInput cv_mat_to_op_input(g_net_input_size, g_num_scales, g_scale_gap);
^
In file included from /usr/local/include/openpose/core/headers.hpp:8:0,
from /usr/local/include/openpose/headers.hpp:11,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::PoseModel)
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate expects 1 argument, 3 provided
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: constexpr op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&)
class OP_API CvMatToOpInput
^
/usr/local/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘int main(int, char**)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:348:72: error: no matching function for call to ‘op::PoseExtractorCaffe::PoseExtractorCaffe(op::Point&, op::Point&, op::Point&, int&, op::PoseModel&, std:: cxx11::string&, unsigned int&)’
model_folder, num_gpu_start));
^
In file included from /usr/local/include/openpose/pose/headers.hpp:8:0,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: candidate: op::PoseExtractorCaffe::PoseExtractorCaffe(op::PoseModel, const string&, int, const std::vector&, op::ScaleMode, bool, bool, const string&, const string&, float, bool, bool)
PoseExtractorCaffe(
^
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseModel’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:168:61: error: ‘class op::CvMatToOpInput’ has no member named ‘format’
std::tie(netInputArray, scaleRatios) = cv_mat_to_op_input.format(image);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:172:86: error: no matching function for call to ‘op::PoseExtractor::forwardPass(op::Array&, , std::vector&)’
g_pose_extractor->forwardPass(netInputArray, {image.cols, image.rows}, scaleRatios);
^
In file included from /usr/local/include/openpose/pose/headers.hpp:7:0,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/pose/poseExtractor.hpp:27:14: note: candidate: void op::PoseExtractor::forwardPass(const std::vector<op::Array >&, const op::Point&, const std::vector&, const op::Array&, long long int)
void forwardPass(const std::vector<Array>& inputNetData,
^
/usr/local/include/openpose/pose/poseExtractor.hpp:27:14: note: no known conversion for argument 1 from ‘op::Array’ to ‘const std::vector<op::Array >&’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:351:88: error: invalid new-expression of abstract class type ‘op::PoseRenderer’
new op::PoseRenderer(net_output_size, output_size, pose_model, nullptr, true, 0.6));
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/usr/local/include/openpose/pose/poseRenderer.hpp:10:18: note: because the following virtual functions are pure within ‘op::PoseRenderer’:
class OP_API PoseRenderer
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: virtual std::pair<int, std::cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:186:49: error: too many initializers for ‘op::CvMatToOpOutput’
op::CvMatToOpOutput cvMatToOpOutput{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:187:49: error: too many initializers for ‘op::OpOutputToCvMat’
op::OpOutputToCvMat opOutputToCvMat{outputSize};
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:190:69: error: no matching function for call to ‘op::FrameDisplayer::FrameDisplayer()’
op::FrameDisplayer frameDisplayer{windowedSize, "OpenPose Example"};
^
In file included from /usr/local/include/openpose/gui/headers.hpp:6:0,
from /usr/local/include/openpose/headers.hpp:20,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/gui/frameDisplayer.hpp:24:9: note: candidate: op::FrameDisplayer::FrameDisplayer(const string&, const op::Point&, bool)
FrameDisplayer(const std::string& windowedName = OPEN_POSE_NAME_AND_VERSION,
^
/usr/local/include/openpose/gui/frameDisplayer.hpp:24:9: note: no known conversion for argument 1 from ‘const op::Point’ to ‘const string& {aka const std::cxx11::basic_string&}’
/usr/local/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate: op::FrameDisplayer::FrameDisplayer(const op::FrameDisplayer&)
class OP_API FrameDisplayer
^
/usr/local/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate expects 1 argument, 2 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:194:63: error: ‘class op::CvMatToOpOutput’ has no member named ‘format’
std::tie(scaleInputToOutput, outputArray) = cvMatToOpOutput.format(image);
^
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:197:46: error: no matching function for call to ‘op::PoseRenderer::renderPose(op::Array&, const op::Array&)’
poseRenderer->renderPose(outputArray, poses);
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate: virtual std::pair<int, std:: cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate expects 4 arguments, 2 provided
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp: In function ‘int main(int, char**)’:
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:351:72: error: no matching function for call to ‘op::PoseExtractorCaffe::PoseExtractorCaffe(op::Point&, op::Point&, op::Point&, int&, op::PoseModel&, std:: cxx11::string&, unsigned int&)’
model_folder, num_gpu_start));
^
In file included from /usr/local/include/openpose/pose/headers.hpp:8:0,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: candidate: op::PoseExtractorCaffe::PoseExtractorCaffe(op::PoseModel, const string&, int, const std::vector&, op::ScaleMode, bool, bool, const string&, const string&, float, bool, bool)
PoseExtractorCaffe(
^
/usr/local/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseModel’
/home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:354:88: error: invalid new-expression of abstract class type ‘op::PoseRenderer’
new op::PoseRenderer(net_output_size, output_size, pose_model, nullptr, true, 0.6));
^
In file included from /usr/local/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /usr/local/include/openpose/pose/headers.hpp:6,
from /usr/local/include/openpose/headers.hpp:29,
from /home/lorenzo/catkin_ws/src/openpose_ros/openpose_ros_pkg/src/openpose_ros_node.cpp:12:
/usr/local/include/openpose/pose/poseRenderer.hpp:10:18: note: because the following virtual functions are pure within ‘op::PoseRenderer’:
class OP_API PoseRenderer
^
/usr/local/include/openpose/pose/poseRenderer.hpp:19:45: note: virtual std::pair<int, std::__cxx11::basic_string > op::PoseRenderer::renderPose(op::Array&, const op::Array&, float, float)
virtual std::pair<int, std::string> renderPose(Array& outputData, const Array& poseKeypoints,
^
[ 88%] Built target skeleton_extract_3d_visualization_node
openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/build.make:62: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o' failed
make[2]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o] Error 1
CMakeFiles/Makefile2:1996: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/all' failed
make[1]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/all] Error 2
openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/build.make:62: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o' failed
make[2]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o] Error 1
CMakeFiles/Makefile2:2231: recipe for target 'openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/all' failed
make[1]: [openpose_ros/openpose_ros_pkg/CMakeFiles/openpose_ros_node.dir/all] Error 2
[ 90%] Linking CXX executable /home/lorenzo/catkin_ws/devel/lib/openpose_ros_pkg/test_openpose_ros_service_call
[ 90%] Built target test_openpose_ros_service_call
[ 92%] Linking CXX executable /home/lorenzo/catkin_ws/devel/lib/skeleton_extract_3d/skeleton_extract_3d_node
[ 92%] Built target skeleton_extract_3d_node
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j12 -l12" failed
Can you help me with this issue? Thanks.