[100%] Linking CXX executable mil
Undefined symbols for architecture x86_64:
"cv::putText(cv::Mat&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, cv::Point, int, double, cv::Scalar, int, int, bool)", referenced from:
Matrix::drawText(char const*, float, float, int, int, int) in Matrix.cpp.o
"trax::Metadata::Metadata(int, int, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >, std::__cxx11::basic_string<char, std::char_traits, std::allocator >)", referenced from:
_main in BoostTrackMain.cpp.o
"trax::Properties::get(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, char const*) const", referenced from:
parseParameters(trax::Properties&, TrackerParams&) in BoostTrackMain.cpp.o
"trax::Properties::get(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, float) const", referenced from:
parseParameters(trax::Properties&, TrackerParams&) in BoostTrackMain.cpp.o
"trax::Properties::get(std::__cxx11::basic_string<char, std::char_traits, std::allocator >, int) const", referenced from:
parseParameters(trax::Properties&, TrackerParams&) in BoostTrackMain.cpp.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[2]: *** [mil] Error 1
make[1]: *** [CMakeFiles/mil.dir/all] Error 2
make: *** [all] Error 2
I have installed traX library with opencv enabled. But I got another error, it seems like cv::putText,trax::Metadata,trax::Properties are not found when using the lib I compiled...
Everything is fine with traX when cmake ..; make; make install
T T. I'm using open-cv-2.4.13 on mac osx 10.12.