Open sacittezcanlar opened 3 years ago
Openpose had update their code few month ago. And add a new param FLAGS_net_resolution_dynamic in the constructor of op::WrapperStructPose. So I update this package as well. There are two solutions. Reinstall Openpose with lastest source or just use old openpose.cpp in previous branch.
Hello Mark, I have an issue with catkin_make; I changed the params and done the steps that you say. But unf. i've had an error like this:
...... [ 95%] Built target openpose_ros_msgs_generate_messages_eus Scanning dependencies of target openpose_ros_node [ 95%] Built target openpose_ros_msgs_generate_messages [ 95%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_3d_io.cpp.o [ 96%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o [ 97%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose_flags.cpp.o [ 98%] Building CXX object openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o /home/sacit/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp: In constructor ‘openpose_ros::OpenPose::OpenPose()’: /home/sacit/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp:40:70: error: no matching function for call to ‘op::WrapperStructPose::WrapperStructPose(const op::PoseMode&, const op::Point&, double&, const op::Point&, const op::ScaleMode&, google::int32&, google::int32&, google::int32&, float, op::RenderMode, const op::PoseModel&, bool, float, float, google::int32&, op::String, const std::vector&, const op::ScaleMode&, bool&, float, google::int32&, bool&, double&, op::String, op::String, float, const bool&)’
op::String(FLAGS_udp_port))
^
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/sacit/catkin_ws/src/openpose_ros/openpose_ros/include/openpose.h:7,
from /home/sacit/catkin_ws/src/openpose_ros/openpose_ros/src/openpose.cpp:1:
/usr/local/include/openpose/wrapper/wrapperStructPose.hpp:212: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 op::String&, const std::vector&, op::ScaleMode, bool, float, int, bool, double, const op::String&, const op::String&, float, bool)
WrapperStructPose(
^
~~~~ /usr/local/include/openpose/wrapper/wrapperStructPose.hpp:212:9: note: candidate expects 26 arguments, 27 provided /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, 27 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, 27 provided openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/build.make:94: recipe for target 'openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o' failed make[2]: [openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/src/openpose.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... CMakeFiles/Makefile2:2376: recipe for target 'openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/all' failed make[1]: [openpose_ros/openpose_ros/CMakeFiles/openpose_ros_node.dir/all] Error 2 Makefile:159: recipe for target 'all' failed make: [all] Error 2 Invoking "make -j8 -l8" failedThank you already.