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

Error when try to make PyOpenPose #29

Closed
HibikiKai opened this issue Jan 23, 2018 · 3 comments
Closed

Error when try to make PyOpenPose #29

HibikiKai opened this issue Jan 23, 2018 · 3 comments

Comments

@HibikiKai
Copy link

Scanning dependencies of target PyOpenPose
[ 25%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/OpenPoseWrapper.cpp.o
[ 50%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/PyOpenPose.cpp.o
[ 75%] Building CXX object PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/opencv_expose.cpp.o
[100%] Linking CXX shared library PyOpenPose.so
/usr/bin/ld: cannot find -lopenpose
/usr/bin/ld: cannot find -lcaffe
collect2: error: ld returned 1 exit status
PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/build.make:202: recipe for target 'PyOpenPoseLib/PyOpenPose.so' failed
make[2]: *** [PyOpenPoseLib/PyOpenPose.so] Error 1
CMakeFiles/Makefile2:117: recipe for target 'PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all' failed
make[1]: *** [PyOpenPoseLib/CMakeFiles/PyOpenPose.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2

Thanks in advance

@HibikiKai
Copy link
Author

HibikiKai commented Jan 23, 2018

Solved by copying files under openpose/3rdparty/caffe/distribute/lib and openpose/distribute/lib to /usr/lib

@Axe--
Copy link

Axe-- commented Jan 23, 2018

@HibikiKai
Thanks, for me it was the openpose/3rdparty/caffe/distribute/lib & openpose/build/lib

@HibikiKai HibikiKai mentioned this issue Jan 23, 2018
@Gjain234
Copy link

Basically you need to make sure the libcaffe.so and libopenpose.so files are in /usr/lib so they might be in different places in your project configuration

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