Hi
I faced the following error when executing
make all command
.
CXX/LD -o .build_release/tools/convert_imageset.bin
.build_release/lib/libcaffe.so: undefined reference to `__cudaPushCallConfiguration'
.build_release/lib/libcaffe.so: undefined reference to `__cudaPopCallConfiguration'
collect2: error: ld returned 1 exit status
Makefile:625: recipe for target '.build_release/tools/convert_imageset.bin' failed
make: *** [.build_release/tools/convert_imageset.bin] Error 1
Even though I uncommented USE_PKG_CONFIG and OPENCV_VERSION, and even executed sudo ldconfig, it is to no avail.
Why don't I directly execute sudo apt install caffe-cuda?
It is true that this command can install caffe and import it in python3, but, I am currently using a program developed under python2, and it will be annoying to modify the program to be available under python3. So, I want to use this method to install caffe for python2.
Thank you.