BVLC / caffe

Caffe: a fast open framework for deep learning.
http://caffe.berkeleyvision.org/
Other
34.09k stars 18.7k forks source link

Where is Caffe header file and library file after installation? #6783

Open xuesongle opened 5 years ago

xuesongle commented 5 years ago

Hi, I am using Ubuntu 18.04.2 LTS I installed pre-compiled Caffe from https://caffe.berkeleyvision.org/install_apt.html as

$sudo apt install caffe-cuda

The installation is successful and I tested with

$ which caffe
/usr/bin/caffe

Then when I built OpenPose with cmake GUI, it keeps saying"Caffe_INCLUDE_DIRS-NOTFOUND" in Caffe_INCLUDE_DIR entry Same error message "Caffe_LIBS-NOTFOUND" for Caffe_LIBs entry

The question is where can I find Caffe_INCLUDE_DIR and Caffe_LIBs using the pre-compiled Caffe installation, many Thanks!

msapaydin commented 5 years ago

perhaps at: miniconda3/pkgs/caffe-gpu-1.0-py37h999e8d7_5 (or the anaconda equivalent if you are using anaconda) ??

yujianyuanhaha commented 4 years ago

i also meet the same issue, any ideas?

AdoNunes commented 3 years ago

To compile either OpenPose caffe or custom caffe it is necessary to deactivate conda with the command conda deactivate so conda will not interfere with some system libraries.