0

I am installing caffe. I succeeded in running make all and make test, but when it comes to the make runtest, I receive the error:

.build_release/tools/caffe: error while loading shared libraries: libcudart.so.7.5: cannot open shared object file: No such file or directory
make: *** [runtest] Error 127

What should I do about it? I am using these instructions.

David Foerster
  • 36,264
  • 56
  • 94
  • 147

1 Answers1

0

Well, the error seem to be pretty clear, you have to install cuda.

sudo apt install nvidia-cuda-dev

I wouldn't recommend to use CUDA, because 1) CUDA is a crap, 2) You couldn't run ANN you made on most machines, except those with NVidia cards, for obvious reasons.

You can compile without CUDA by uncommenting in Makefile.config the line

CPU_ONLY := 1
Hi-Angel
  • 3,702
  • 1
  • 29
  • 36