resnet10 从tk1 上移植到linux 上 上遇到的问题

1. /usr/bin/ld: skipping incompatible /usr/local/cuda-7.5/lib/libcudart.so when searching for -lcudart

64wei pingtaixia

/usr/local/cuda-7.5/lib64/libcudart.so

解决方法:因为我的linux 是64位的,所以要到lib64位下面去找lib。

而不是常见的

2./home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTget_dataset_ndims'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Fcreate'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTread_dataset_int'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Fclose'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Gclose'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5check_version'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTfind_dataset'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Lget_name_by_idx'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Lexists'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Gcreate2'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTmake_dataset_double'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTmake_dataset_int'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTread_dataset_float'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTmake_dataset_float'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTget_dataset_info'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTread_dataset_string'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Gget_info'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Gopen2'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTread_dataset_double'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5Fopen'
/home/ggj/ggj/pro/testProj/caffe_ty/build/lib/libcaffe.so: undefined reference to `H5LTmake_dataset_string'

解决方法:在/usr/*** 的目录下找到:
libhdf5.so.10  和 libhdf5_hl.so.10 copy 到 caffe_ty/build/lib 下面

同时这个下面还有libcaffe.so.1.0.0-rc3



你可能感兴趣的:(resnet10 从tk1 上移植到linux 上 上遇到的问题)