Closed lxwgcool closed 5 years ago
Sorry, this are 3rd party issues, rather than OP-itself, we can't help here sorry!
Thanks for your reply. I have found the reason. I forget add the line below: -DOpenCV_CONFIG_FILE=/usr/local/lib/cmake/opencv4/OpenCVConfig.cmake
After this line be added, everything works fine.
Issue Summary
I get tons of error while compile openpose. The error as below:
/usr/bin/ld: cannot find -l_stats.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -lmvn.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -lstatlib.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_fftpack.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -lconvolve.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -lvode.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_test_multivariate.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_quadpack.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -llsoda.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_odepack.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_test_odeint_banded.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_dop.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_cobyla.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_zeros.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_slsqp.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_bglu_dense.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -lmoduleTNC.cpython-35m-x86_64-linux-gnu /usr/bin/ld: cannot find -l_minpack.cpython-35m-x86_64-linux-gnu ..... ..... (More than 200 similar errors as above)
Executed Command (if any)
1: Setting ENVs export PATH=/usr/local/cuda/bin:$PATH export LD_LIBRARY_PATH=/usr/local/cuda/lib64:$LD_LIBRARY_PATH export CPATH=/usr/local/cuda/include:$CPATH export CPATH=/usr/local/include/opencv:/usr/local/include/opencv2:$CPATH
2: cmake cmake -DOpenCV_INCLUDE_DIRS=/usr/local/include/opencv -DOpenCV_LIBS_DIR=/usr/local/lib/ ../openpose
3: make make -j 8
OpenPose Output (if any)
Not apply
Errors (if any)
Errors as mentioned above.
Type of Issue
Compilation/installation error
Your System Configuration
System Info Distributor ID: Ubuntu Description: Ubuntu 16.04.6 LTS Release: 16.04 Codename: xenial
OpenPose version: Latest GitHub code (git clone --recursive https://github.com/CMU-Perceptual-Computing-Lab/openpose.git)
General configuration:
Non-default settings: No
3rd-party software:
If GPU mode issue: