Installation of caffe error

Hi,

As I got another Jetson TX2. I proceed to flash the OS and load the stuff from jetpack 3.1, it was successful. However, when I went to install caffe it keep have this error that I can’t seem to solve when I make it.

[  1%] Built target proto
Scanning dependencies of target caffe
[  1%] Linking CXX shared library ../../lib/libcaffe-nv.so
[ 82%] Built target caffe
[ 83%] Linking CXX executable upgrade_solver_proto_text
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTget_dataset_ndims'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTmake_dataset_double'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTmake_dataset_int'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTread_dataset_float'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTmake_dataset_float'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTread_dataset_double'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTmake_dataset_string'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTread_dataset_int'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTfind_dataset'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTget_dataset_info'
../lib/libcaffe-nv.so.0.15.14: undefined reference to `H5LTread_dataset_string'
collect2: error: ld returned 1 exit status
tools/CMakeFiles/upgrade_solver_proto_text.dir/build.make:120: recipe for target 'tools/upgrade_solver_proto_text' failed
make[2]: *** [tools/upgrade_solver_proto_text] Error 1
CMakeFiles/Makefile2:440: recipe for target 'tools/CMakeFiles/upgrade_solver_proto_text.dir/all' failed
make[1]: *** [tools/CMakeFiles/upgrade_solver_proto_text.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2

I tried to search on the internet but failed.

Thanks!

Hi,

Could you help to make the following change and clean build the nvcaffe again?

Please edit “caffe/cmake/Dependencies.cmake”, at line 28

---  list(APPEND Caffe_LINKER_LIBS ${HDF5_LIBRARIES})
+++  list(APPEND Caffe_LINKER_LIBS ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES})

Thanks.

Hi!

After changing I am able to build it!

Thanks alot!