Skip to content

The error that I met when I run make all -j8 under the path of /home/jsj/PSPNET-cudnn5/build/ after I Generating done using cmake-gui  #2

@yingning

Description

@yingning

Hello,@BassyKuo ,the following are the errors that I met when I run make all -j8 under the path of /home/jsj/PSPNET-cudnn5/build/ after I Configuring done and Generating done using cmake-gui.
I have tried to set CUDA_USE_STATIC_CUDA_RUNTIME=off using cmake-gui,but i failed. And I have also tried to delete -lopencv_dep_cudart in the link.txt , I got the same error.

usr/local/cuda-8.0/lib64/libcudnn.so /opt/OpenBLAS/lib/libopenblas.so /home/jsj/anaconda2/lib/libpython2.7.so -lboost_python -lmatio /usr/local/lib/libopencv_core.so.2.4.13 -lopencv_dep_cudart /usr/local/cuda-8.0/lib64/libnppc.so /usr/local/cuda-8.0/lib64/libnppi.so /usr/local/cuda-8.0/lib64/libnpps.so -ldl -lm -lpthread -lrt
/usr/bin/ld: 找不到 -lopencv_dep_cudart
collect2: error: ld returned 1 exit status
make[2]: *** [lib/libcaffe.so.1.0.0-rc3] Error 1
make[1]: *** [src/caffe/CMakeFiles/caffe.dir/all] Error 2
make: *** [all] Error 2

I got a suggestion from website https://stackoverflow.com/questions/39928619/caffe-installation-stuck-at-linking-cxx-shared-library-lib-libcaffe-so/41475103#41475103
, but I was puzzled about the third and fourth steps. Any suggestions will be appreciated!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions