hi, I am compiling the code but the errors are like this:
[ 55%] Building CXX object CMakeFiles/test_tracker_alov.dir/src/test/test_tracker_alov.cpp.o
[ 58%] Linking CXX executable test_tracker_alov
libGOTURN.a(loader_alov.cpp.o):在函数‘LoaderAlov::LoaderAlov(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)’中:
loader_alov.cpp:(.text+0x833):对‘find_subfolders(boost::filesystem::path const&, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >)’未定义的引用
loader_alov.cpp:(.text+0xecc):对‘find_matching_files(boost::filesystem::path const&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > >, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >)’未定义的引用
loader_alov.cpp:(.text+0x1574):对‘find_matching_files(boost::filesystem::path const&, boost::basic_regex<char, boost::regex_traits<char, boost::cpp_regex_traits > >, std::vector<std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::allocator<std::__cxx11::basic_string<char, std::char_traits, std::allocator > > >)’未定义的引用
libGOTURN.a(tracker_manager.cpp.o):在函数‘TrackerTesterAlov::VideoInit(Video const&, unsigned long)’中:
tracker_manager.cpp:(.text+0xfb4):对‘num2strabi:cxx11’未定义的引用
libGOTURN.a(bounding_box.cpp.o):在函数‘BoundingBox::Shift(cv::Mat const&, double, double, double, double, bool, BoundingBox) const’中:
bounding_box.cpp:(.text+0x79b):对‘sample_rand_uniform()’未定义的引用
bounding_box.cpp:(.text+0x839):对‘sample_rand_uniform()’未定义的引用
bounding_box.cpp:(.text+0x8d7):对‘sample_rand_uniform()’未定义的引用
bounding_box.cpp:(.text+0x9ad):对‘sample_rand_uniform()’未定义的引用
bounding_box.cpp:(.text+0xae1):对‘sample_exp_two_sided(double)’未定义的引用
bounding_box.cpp:(.text+0xb7f):对‘sample_exp_two_sided(double)’未定义的引用
bounding_box.cpp:(.text+0xc0d):对‘sample_exp_two_sided(double)’未定义的引用
bounding_box.cpp:(.text+0xcdd):对‘sample_exp_two_sided(double)’未定义的引用
collect2: error: ld returned 1 exit status
CMakeFiles/test_tracker_alov.dir/build.make:129: recipe for target 'test_tracker_alov' failed
make[2]: *** [test_tracker_alov] Error 1
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/test_tracker_alov.dir/all' failed
make[1]: *** [CMakeFiles/test_tracker_alov.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Does your loader_alov.cpp include helper.h header file? Seem like loader_alov.cpp can not find these undefined functions, which are all declared in helper.h and defined in helper.cpp
My error is like this,could you please give me some advices?
[ 57%] Building CXX object CMakeFiles/test_tracker_alov.dir/src/test/test_tracker_alov.cpp.o
make[2]: *** No rule to make target '/home/xpf/task1/caffe/build/lib/libcaffeproto.a', needed by 'test_tracker_alov'。 停止。
CMakeFiles/Makefile2:67: recipe for target 'CMakeFiles/test_tracker_alov.dir/all' failed
make[1]: *** [CMakeFiles/test_tracker_alov.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2