Caffe Install for Debian/Ubuntu
1. System Install(amd64)
2. Install Dependences
1 | apt install gcc g++ make cmake cmake-curses-gui |
3. Install nvidia driver
4. Install cuda/cudnn
5. Compile Caffe
Issues
compile caffe
- Can't find hdf5
1 | add path "/usr/include/hdf5/serial/","/usr/lib/x86_64-linux-gnu/hdf5/serial/" in Makefile.config |
- undefined reference to ‘H5LTget_dataset_ndims’xx
1 | vim cmake/Dependencies.cmake to append ${HDF5_HL_LIBRARIES} |
- gcc/g++ version conflict
- such as undefined reference to `google::base::CheckOpMessageBuilder::NewStringabi:cxx11'
1 | ## compile glog manually |