wywu / LAB

[CVPR 2018] Look at Boundary: A Boundary-Aware Face Alignment Algorithm
https://wywu.github.io/projects/LAB/LAB.html
Other
1.01k stars 272 forks source link

Can't build /tools/alignment_tools.bin #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

Hello, can anybody help me please? I got a wrong message when i build the Modified-caffe for LAB. The error info as follow:

.build_release/tools/alignment_tools.o:在函数‘RunTestOnWFLW() [clone ._omp_fn.0]’中: alignment_tools.cpp:(.text+0x4f1):对‘alignment_tools::ConvertImageToBGR(cv::Mat&)’未定义的引用 alignment_tools.cpp:(.text+0x881):对‘alignmenttools::CalcAffineMatByPose(std::vector<cv::Point, std::allocator<cv::Point > > const&, std::vector<cv::Point, std::allocator<cv::Point_ > > const&)’未定义的引用 alignment_tools.cpp:(.text+0xe9e):对‘alignment_tools::NormalizeImage(cv::Mat&)’未定义的引用 alignment_tools.cpp:(.text+0x1586):对‘alignmenttools::InvAffinePose(cv::Mat const&, std::vector<cv::Point, std::allocator<cv::Point > > const&)’未定义的引用 alignment_tools.cpp:(.text+0x16b7):对‘alignmenttools::InvAffinePose(cv::Mat const&, std::vector<cv::Point, std::allocator<cv::Point > > const&)’未定义的引用 alignment_tools.cpp:(.text+0x1cc8):对‘alignment_tools::ConvertImageToGray(cv::Mat&)’未定义的引用 .build_release/tools/alignment_tools.o:在函数‘RunTestOnWFLW()’中: alignment_tools.cpp:(.text+0x4552):对‘alignment_tools::ReadImageLabelList(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int 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 > > >&, std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > >&)’未定义的引用 alignment_tools.cpp:(.text+0x4615):对‘alignment_tools::ReadLabelList(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, int const&)’未定义的引用 alignment_tools.cpp:(.text+0x54d9):对‘alignment_tools::WriteImageLabelList(std::cxx11::basic_string<char, std::char_traits, std::allocator > 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 > > > const&, std::vector<std::vector<float, std::allocator >, std::allocator<std::vector<float, std::allocator > > > const&)’未定义的引用 collect2: error: ld returned 1 exit status Makefile:628: recipe for target '.build_release/tools/alignment_tools.bin' failed make: [.build_release/tools/alignment_tools.bin] Error 1 make: 正在等待未完成的任务....

I have google this error, but i haven't get any helpful info. By the way, i build the caffe with other enviroment: cuda 9.0, cudnn 7.0, python 3.5, opencv 3.3.1, matlab 2016b. Thank you very much.

uyekt commented 5 years ago

@WeaponLin How did you solved it?