VPGNet icon indicating copy to clipboard operation
VPGNet copied to clipboard

facing a problem when make all

Open quasae opened this issue 6 years ago • 2 comments

CXX/LD -o .build_release/tools/compute_image_mean.bin .build_release/lib/libcaffe.so: undefined reference to void caffe::hdf5_load_nd_dataset<double>(int, char const*, int, int, caffe::Blob<double>*)' .build_release/lib/libcaffe.so: undefined reference to void caffe::hdf5_load_nd_dataset(int, char const*, int, int, caffe::Blob*)' .build_release/lib/libcaffe.so: undefined reference to caffe::hdf5_get_name_by_idx[abi:cxx11](int, int)' .build_release/lib/libcaffe.so: undefined reference to void caffe::hdf5_save_nd_dataset(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, caffe::Blob const&, bool)' .build_release/lib/libcaffe.so: undefined reference to caffe::hdf5_get_num_links(int)' .build_release/lib/libcaffe.so: undefined reference to void caffe::hdf5_save_nd_dataset(int, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, caffe::Blob const&, bool)' collect2: error: ld returned 1 exit status Makefile:568: recipe for target '.build_release/tools/compute_image_mean.bin' failed make: *** [.build_release/tools/compute_image_mean.bin] Error 1

quasae avatar Jan 09 '19 12:01 quasae

Hi @quasae ,

were you able to figure out the solution for the above problem.

Lakshaysharma048 avatar Feb 15 '19 21:02 Lakshaysharma048

Compiler cannot find library hdf5, you should add the path of hdf5 to library path, for example:

image

cheerss avatar Aug 28 '19 02:08 cheerss