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

MAKE ERROR #14

Closed
derekwong66 opened this issue Nov 14, 2017 · 11 comments
Closed

MAKE ERROR #14

derekwong66 opened this issue Nov 14, 2017 · 11 comments

Comments

@derekwong66
Copy link

[ 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:194: 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

@padeler
Copy link
Member

padeler commented Nov 14, 2017

Did you set the OPENPOSE_ROOT variable to point to the openpose root folder?

Note that the build script assumes that you use the Makefile (make distribute) to build openpose. If you choose to install the libraries else where, you must adapt CMakeLists.txt accordingly.

@derekwong66
Copy link
Author

@padeler I have set OPENPSOE_ROOT
I can run openpose demo, I used cmake to build openpose.
How to modifiy CMakeLists.txt?

@padeler
Copy link
Member

padeler commented Nov 16, 2017

You have to set the correct paths for caffe and openpose libs and header folders in lines 59-62.

@unrealwill
Copy link

Hello, I've encountered the same problem, but I've solved it by installing openpose with :
sudo make install from openpose/build as described in the section :
OpenPose from other Projects of documentation
https://github.com/CMU-Perceptual-Computing-Lab/openpose/blob/master/doc/installation_cmake.md

@derekwong66
Copy link
Author

@unrealwill you are right. I can make it now. However, when I try to run scripts/JusthandNet.py, Importing PyOpenPose as op failed.

@padeler
Copy link
Member

padeler commented Nov 25, 2017

Did you find a solution to your issue?

@unrealwill
Copy link

Nope, but I got around my problem by writing a c++ zmq server which uses OpenPose and serve the info I need.

@padeler
Copy link
Member

padeler commented Nov 25, 2017

ok so I am closing this issue.

@padeler padeler closed this as completed Nov 25, 2017
@unrealwill
Copy link

@padeler I'm not the OP, so I don't know if he solved his issue one way or another.
@derekwong66 You can look at my project https://github.com/GistNoesis/Linn-Photobooth for the zmq server and usage

@padeler
Copy link
Member

padeler commented Nov 26, 2017

I have not tried pyopenpose with python3. I'll test it when i have some time, and report here for future reference.

@HibikiKai
Copy link

#29

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

4 participants