OAID / FaceRecognition

This is an implematation project of face detection and recognition. The face detection using MTCNN algorithm, and recognition using LightenenCNN algorithm.
148 stars 73 forks source link

error after giving make command #5

Open huzz opened 6 years ago

huzz commented 6 years ago

WE FOLLOWED THE GIVEN INSTRUCTIONS AND GOT STUCK DURING COMPILATION. THE FOLLOWING ERROR IS GIVEN BELOW. PLEASE HELP IF POSSIBLE. THANK YOU. :)

root@hikey960:~/Desktop/FaceRecognition-master# make make: Warning: File 'build/bin/camera.o' has modification time 35214 s in the future g++ build/bin/camera.o ./build/detect/mtcnn.o ./build/detect/comm_lib.o ./build/detect/caffe_mtcnn.o ./build/align/face_align.o ./build/align/svd.o ./build/align/scale_angle.o ./build/lib/utils.o ./build/lib/network_shell.o ./build/lib/telnet_buf.o ./build/lib/json.o ./build/lib/log.o ./build/lib/perf.o ./build/extract/feature_extractor.o ./build/extract/lightened_cnn.o ./build/verify/face_verify.o ./build/verify/simple_verifier.o ./build/store/face_mem_store.o -o build/bin/camera pkg-config caffe-hrt --libs pkg-config computelibrary --libs pkg-config --libs opencv -lprotobuf -lboost_system -lglog -lreadline -lpthread /usr/bin/ld: warning: libboost_system.so.1.58.0, needed by /usr/local/AID/Caffe-HRT/lib/libcaffe.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libboost_thread.so.1.58.0, needed by /usr/local/AID/Caffe-HRT/lib/libcaffe.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libhdf5_serial_hl.so.10, needed by /usr/local/AID/Caffe-HRT/lib/libcaffe.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libhdf5_serial.so.10, needed by /usr/local/AID/Caffe-HRT/lib/libcaffe.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libjpeg.so.8, needed by /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libpng12.so.0, needed by /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so, not found (try using -rpath or -rpath-link) /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_alloc_huff_table@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Fclose@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_interlace_handling@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::start_thread_noexcept()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_create_write_struct@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_finish_decompress@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_start_compress@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::detach()' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to boost::detail::thread_data_base::~thread_data_base()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_write_end@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_bgr@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_simple_progression@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_quality_scaling@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_compression_level@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_get_IHDR@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5LTread_dataset_double@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_finish_compress@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_resync_to_restart@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_set_defaults@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_get_tRNS@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_read_image@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_palette_to_rgb@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_read_scanlines@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::native_handle()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_write_image@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_read_end@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_write_info@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_destroy_compress@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_read_update_info@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_compression_strategy@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_start_decompress@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_write_fn@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_filter@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_strip_16@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_set_quality@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::interrupt()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_packing@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::this_thread::interruption_point()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_create_info_struct@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Gclose@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_std_error@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::detail::set_tss_data(void const, boost::shared_ptr, void, bool)' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_default_qtables@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::interruption_requested() const' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5Fopen@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5LTmake_dataset_double@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_get_io_ptr@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5check_version@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTread_dataset_float@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference tovtable for boost::detail::thread_data_base' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_expand_gray_1_2_4_to_8@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Gopen2@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_write_scanlines@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::detail::get_current_thread_data()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_destroy_write_struct@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::joinable() const' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTget_dataset_ndims@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_read_header@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTread_dataset_int@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_destroy_decompress@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTfind_dataset@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_strip_alpha@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTmake_dataset_string@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5LTread_dataset_string@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5Fis_hdf5@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5LTget_dataset_info@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_CreateDecompress@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5LTmake_dataset_float@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5Gcreate2@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_destroy_read_struct@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_create_read_struct@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Gget_info@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_read_fn@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_init_io@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to typeinfo for boost::detail::thread_data_base' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference tojpeg_stdio_src@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_stdio_dest@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::detail::get_tss_data(void const*)' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_error@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_swap@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_CreateCompress@LIBJPEG_8.0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_rgb_to_gray@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_set_tRNS_to_alpha@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_gray_to_rgb@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5Lexists@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toboost::thread::join_noexcept()' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to jpeg_calc_output_dimensions@LIBJPEG_8.0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Fcreate@HDF5_SERIAL_1.8.7' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference to H5LTmake_dataset_int@HDF5_SERIAL_1.8.7' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference topng_set_IHDR@PNG12_0' /usr/local/AID/opencv3.3.0/lib/libopencv_imgcodecs.so: undefined reference to png_read_info@PNG12_0' /usr/local/AID/Caffe-HRT/lib/libcaffe.so: undefined reference toH5Lget_name_by_idx@HDF5_SERIAL_1.8.7' collect2: error: ld returned 1 exit status Makefile:75: recipe for target 'build/bin/camera' failed make: *** [build/bin/camera] Error 1