Closed senguptaa closed 5 years ago
Are you sure you're using the old version of openpose linked in the project page?
Sorry, forgot to mention...I had installed openpose separately and them copied over the built folder into this project.
So in order for this wrapper to work, it uses an old version of openpose. This is the exact commit hash linked in the project's main page:
Got it! When I run ./install_openpose_and_enable_package.sh, there seems to be a lot of unmet dependencies...however, I do have CUDA (10.1) and cuDNN installed.
W: The repository 'cdrom://Ubuntu 16.04.5 LTS Xenial Xerus - Release amd64 (20180731) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch cdrom://Ubuntu 16.04.5 LTS Xenial Xerus - Release amd64 (20180731)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Failed to fetch http://ppa.launchpad.net/v-launchpad-jochen-sprickerhof-de/pcl/ubuntu/dists/xenial/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.1ubuntu2).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Reading package lists... Done
Building dependency tree
Reading state information... Done
libleveldb-dev is already the newest version (1.18-5).
libprotobuf-dev is already the newest version (2.6.1-1.3).
libsnappy-dev is already the newest version (1.1.3-2).
protobuf-compiler is already the newest version (2.6.1-1.3).
libhdf5-serial-dev is already the newest version (1.8.16+docs-4ubuntu1.1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Reading package lists... Done
Building dependency tree
Reading state information... Done
libboost-all-dev is already the newest version (1.58.0.1ubuntu1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgflags-dev is already the newest version (2.1.2-3).
libgoogle-glog-dev is already the newest version (0.3.4-0.1).
liblmdb-dev is already the newest version (0.9.17-3).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 7.5.18-0ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Errors detected. Exiting script. The software might have not been successfully installed.
I installed the older version of openpose like you suggested. When I try to catkin_make the ros package, I encounter the following error:
[ 85%] Linking CXX executable /home/ece561/openpose_rospkg/devel/lib/openpose_ros_pkg/openpose_ros_node_3d
CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o: In function detectPosesCallback(openpose_ros_msgs::GetPersonsRequest_<std::allocator<void> >&, openpose_ros_msgs::GetPersonsResponse_<std::allocator<void> >&)': openpose_ros_node_3d.cpp:(.text+0x16c3): undefined reference to
op::CvMatToOpInput::CvMatToOpInput(op::Pointop::CvMatToOpInput::format(cv::Mat const&) const' openpose_ros_node_3d.cpp:(.text+0x1b44): undefined reference to
op::CvMatToOpOutput::CvMatToOpOutput(op::Pointop::OpOutputToCvMat::OpOutputToCvMat(op::Point<int> const&)' openpose_ros_node_3d.cpp:(.text+0x1bc2): undefined reference to
op::FrameDisplayer::FrameDisplayer(op::Pointop::CvMatToOpOutput::format(cv::Mat const&) const' openpose_ros_node_3d.cpp:(.text+0x1cb1): undefined reference to
op::PoseRenderer::renderPose[abi:cxx11](op::Arraymain': openpose_ros_node_3d.cpp:(.text+0x3dea): undefined reference to
op::PoseExtractorCaffe::PoseExtractorCaffe(op::Pointop::PoseRenderer::PoseRenderer(op::Point<int> const&, op::Point<int> const&, op::PoseModel, std::shared_ptr<op::PoseExtractor> const&, bool, float, float, unsigned int, op::RenderMode)' /usr/local/lib/libopenpose.so: undefined reference to
caffe::Net
Any suggestions on how to fix this issue?
Fixed the issue ... had a few linking issues along the way... Face a new issue now, opened a separate item for the same.
I am trying to get this to work, fixed several errors on the way but got stuck at this error...does anyone has a way to get around this error?
Ubuntu 16.04 CUDA 10.1
Scanning dependencies of target openpose_ros_node_firephinx Scanning dependencies of target openpose_ros_node_3d [ 71%] Building CXX object openpose_ros_pkg/CMakeFiles/test_openpose_ros_service_call.dir/src/test_openpose_ros_service_call.cpp.o [ 73%] Building CXX object openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.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& producer = nullptr)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp: In function ‘int opRealTimePoseDemo()’:
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:360:9: error: ‘op::Wrapper {aka op::WrapperT}’ is not a template
op::Wrapper<std::vector> opWrapper;
^
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:13:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructPose.hpp:211:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseMode’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate: op::WrapperStructPose::WrapperStructPose(const op::WrapperStructPose&)
struct OP_API WrapperStructPose
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate expects 1 argument, 16 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate: op::WrapperStructPose::WrapperStructPose(op::WrapperStructPose&&)
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructPose.hpp:18:19: note: candidate expects 1 argument, 16 provided
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:68:9: note: candidate: op::WrapperStructFace::WrapperStructFace(bool, op::Detector, const op::Point&, op::RenderMode, float, float, float)
WrapperStructFace(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:68:9: note: no known conversion for argument 2 from ‘op::Point’ to ‘op::Detector’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate: op::WrapperStructFace::WrapperStructFace(const op::WrapperStructFace&)
struct OP_API WrapperStructFace
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate: op::WrapperStructFace::WrapperStructFace(op::WrapperStructFace&&)
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructFace.hpp:16:19: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:10:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructHand.hpp:87:9: note: no known conversion for argument 2 from ‘op::Point’ to ‘op::Detector’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate: op::WrapperStructHand::WrapperStructHand(const op::WrapperStructHand&)
struct OP_API WrapperStructHand
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate expects 1 argument, 6 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate: op::WrapperStructHand::WrapperStructHand(op::WrapperStructHand&&)
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructHand.hpp:16:19: note: candidate expects 1 argument, 6 provided
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:11:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructInput.hpp:99:9: note: no known conversion for argument 1 from ‘std::shared_ptr’ to ‘op::ProducerType’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate: op::WrapperStructInput::WrapperStructInput(const op::WrapperStructInput&)
struct OP_API WrapperStructInput
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate expects 1 argument, 7 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate: op::WrapperStructInput::WrapperStructInput(op::WrapperStructInput&&)
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructInput.hpp:14:19: note: candidate expects 1 argument, 7 provided
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:12:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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&}’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(const op::WrapperStructOutput&)
struct OP_API WrapperStructOutput
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 12 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate: op::WrapperStructOutput::WrapperStructOutput(op::WrapperStructOutput&&)
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapperStructOutput.hpp:13:19: note: candidate expects 1 argument, 12 provided
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/headers.hpp:6:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:47,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:320:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:333:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:346:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:359:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:372:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:385:10: note: candidate expects 1 argument, 5 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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)
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/wrapper/wrapper.hpp:398:10: note: candidate expects 1 argument, 5 provided
openpose_ros_pkg/CMakeFiles/openpose_ros.dir/build.make:62: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros.dir/src/openpose.cpp.o' failed
make[2]: [openpose_ros_pkg/CMakeFiles/openpose_ros.dir/src/openpose.cpp.o] Error 1
CMakeFiles/Makefile2:1641: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros.dir/all' failed
make[1]: [openpose_ros_pkg/CMakeFiles/openpose_ros.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp: In function ‘int openPoseROSTutorial()’:
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/headers.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:28:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::PoseModel)
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate expects 1 argument, 3 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: constexpr op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&)
class OP_API CvMatToOpInput
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:189:51: error: too many initializers for ‘op::CvMatToOpOutput’
op::CvMatToOpOutput cvMatToOpOutput{outputSize};
^
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseModel’
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:13:9: note: candidate: op::PoseRenderer::PoseRenderer(op::PoseModel)
PoseRenderer(const PoseModel poseModel);
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:13:9: note: candidate expects 1 argument, 6 provided
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:10:18: note: because the following virtual functions are pure within ‘op::PoseRenderer’:
class OP_API PoseRenderer
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:195:51: error: too many initializers for ‘op::OpOutputToCvMat’
op::OpOutputToCvMat opOutputToCvMat{outputSize};
^
/home/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseExtractorCaffe.hpp:39:22: note: no known conversion for argument 1 from ‘op::Array’ to ‘const std::vector<op::Array >&’
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_firephinx.cpp:31:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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,
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate expects 4 arguments, 2 provided
openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/build.make:62: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o' failed
make[2]: [openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/src/openpose_ros_node_firephinx.cpp.o] Error 1
CMakeFiles/Makefile2:1604: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/all' failed
make[1]: [openpose_ros_pkg/CMakeFiles/openpose_ros_node_firephinx.dir/all] Error 2
[ 78%] Linking CXX executable /home/ece561/openpose_ros/devel/lib/openpose_ros_pkg/test_openpose_ros_service_call
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘std::map<unsigned int, std::cxx11::basic_string > getBodyPartMapFromPoseModel(const op::PoseModel&)’:
/home/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘bool detectPosesCallback(openpose_ros_msgs::GetPersons::Request&, openpose_ros_msgs::GetPersons::Response&)’:
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/headers.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:11,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate: op::CvMatToOpInput::CvMatToOpInput(op::PoseModel)
CvMatToOpInput(const PoseModel poseModel = PoseModel::BODY_25);
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:13:9: note: candidate expects 1 argument, 3 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate: constexpr op::CvMatToOpInput::CvMatToOpInput(const op::CvMatToOpInput&)
class OP_API CvMatToOpInput
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/core/cvMatToOpInput.hpp:10:18: note: candidate expects 1 argument, 3 provided
/home/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:7:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:29,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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,
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseExtractor.hpp:27:14: note: no known conversion for argument 1 from ‘op::Array’ to ‘const std::vector<op::Array >&’
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:184:49: error: too many initializers for ‘op::CvMatToOpOutput’
op::CvMatToOpOutput cvMatToOpOutput{outputSize};
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:185:49: error: too many initializers for ‘op::OpOutputToCvMat’
op::OpOutputToCvMat opOutputToCvMat{outputSize};
^
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/gui/headers.hpp:6:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:20,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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,
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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&}’
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate: op::FrameDisplayer::FrameDisplayer(const op::FrameDisplayer&)
class OP_API FrameDisplayer
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/gui/frameDisplayer.hpp:13:18: note: candidate expects 1 argument, 2 provided
/home/ece561/openpose_ros/src/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/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:29,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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,
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:19:45: note: candidate expects 4 arguments, 2 provided
/home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp: In function ‘int main(int, char**)’:
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:29,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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(
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseExtractorCaffe.hpp:19:9: note: no known conversion for argument 1 from ‘op::Point’ to ‘op::PoseModel’
/home/ece561/openpose_ros/src/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 /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseCpuRenderer.hpp:8:0,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/headers.hpp:6,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/headers.hpp:29,
from /home/ece561/openpose_ros/src/openpose_ros_pkg/src/openpose_ros_node_3d.cpp:12:
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/include/openpose/pose/poseRenderer.hpp:10:18: note: because the following virtual functions are pure within ‘op::PoseRenderer’:
class OP_API PoseRenderer
^
/home/ece561/openpose_ros/src/openpose_ros_pkg/../openpose/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,
^
[ 78%] Built target test_openpose_ros_service_call
openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/build.make:62: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o' failed
make[2]: [openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/src/openpose_ros_node_3d.cpp.o] Error 1
CMakeFiles/Makefile2:1803: recipe for target 'openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/all' failed
make[1]: [openpose_ros_pkg/CMakeFiles/openpose_ros_node_3d.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
Invoking "make -j4 -l4" failed