Skip to content

make error for openpose-ros/CMakeFiles/openpose_ros_node.dir/src/openpose_ros_node.cpp.o #1

Description

@vicFigure

Issure Summary

When I in my catkin_workspace, and run catkin_make, some error occurs like this:

/home/vic/catkin_ws_test/src/openpose-ros/src/openpose_ros_node.cpp:91:76: error: no matching function for call to ‘op::CvMatToOpInput::CvMatToOpInput(cv::Size&, int&, float)’ new op::CvMatToOpInput(netInputSize, numScales, (float)scaleGap) ^ In file included from /home/vic/openpose/include/openpose/core/headers.hpp:7:0, from /home/vic/catkin_ws_test/src/openpose-ros/src/openpose_ros_node.cpp:5: /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(const op::Point<int>&, int, float) CvMatToOpInput(const Point<int>& netInputResolution, const int scaleNum ^ /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: no known conversion for argument 1 from ‘cv::Size {aka cv::Size_<int>}’ to ‘const op::Point<int>&’ /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&) class OP_API CvMatToOpInput ^ /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::CvMatToOpInput&&) /home/vic/openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
There are also some other erros, saying that
1)."no matching function" in the cpp files of openpose,
2)."no known conversion for argument 1 from ‘cv::Size {aka cv::Size_}’ to ‘const op::Point&’"
3). ‘class op::PoseExtractorCaffe’ has no member named ‘getPoseKeyPoints’

I don't know what's wrong about my openpose or openpose-ros? Can somebody help me? Thank you very much.

System Configuration

Ubuntu 16.04
cuda 8.0
cudnn 6.0
Opencv3.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions