Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build failed: ‘class op::PoseExtractorCaffe’ has no member named ‘getHeatMapsCopy’ #25

Closed
lixing123 opened this issue Jan 16, 2018 · 3 comments

Comments

@lixing123
Copy link

Hi, I'm install PyOpenPose on Ubuntu 14.04, and I've installed OpenPose on the machine, and caffe is installed too. When building PyOpenPose, I meet the following errors.
When "cmake ..", it seems all right:

Generating with build type: Release
CMake Warning at /usr/local/share/cmake-3.10/Modules/FindBoost.cmake:1610 (message):
  No header defined for python-py27; skipping header check
Call Stack (most recent call first):
  CMakeLists.txt:54 (find_package)


-- Boost version: 1.54.0
-- Found the following Boost libraries:
--   system
--   python-py27
-- The following OPTIONAL packages have been found:

 * Doxygen

-- The following REQUIRED packages have been found:

 * Threads
 * CUDA
 * OpenCV (required version >= 3)
 * Boost
 * PythonLibs (required version == 2.7)

-- Configuring done
-- Generating done
-- Build files have been written to: /path/to/PyOpenPose/build

Then the following command "make" the following error occured:
```[ 25%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o
/data/face-retargeting/lixing/PyOpenPose/PyOpenPoseLib/OpenPoseWrapper.cpp: In member function ‘cv::Mat OpenPoseWrapper::getHeatmaps()’:
/path/to/PyOpenPose/PyOpenPoseLib/OpenPoseWrapper.cpp:272:60: error: ‘class op::PoseExtractorCaffe’ has no member named ‘getHeatMapsCopy’
     op::Array<float> maps = membersPtr->poseExtractorCaffe.getHeatMapsCopy();
                                                            ^
make[2]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o] error 1
make[1]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all] error 2
make: *** [all] error 2

Any ideas? Am I missed something? Thank you!
@padeler
Copy link
Member

padeler commented Jan 16, 2018

Checkout the latest version of openpose from the repo (master branch). They made some API changes recently and I updated PyOpenPose to be in sync with their latest version.

@SetCodesToFire
Copy link

Hi...Its good that you are updating yourself with the openpose but wouldn't it be more useful if you create a new branch just like open pose have created and whenever they will merge their code with the master branch,you can too do the merge into the pyOpenPose.

👍 great work by the way :)

@padeler
Copy link
Member

padeler commented Jan 22, 2018

thnx, closing this issue.

@padeler padeler closed this as completed Jan 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants