I have all of the dependencies installed and I can compile and a run a small opencv test program using CMake. However when I try to compile this project I get the following output
/usr/local/Cellar/cmake/3.4.3/bin/cmake -H/Users/Nate/Dropbox/ShiResearch/bpvo -B/Users/Nate/Dropbox/ShiResearch/bpvo/build --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.4.3/bin/cmake -E cmake_progress_start /Users/Nate/Dropbox/ShiResearch/bpvo/build/CMakeFiles /Users/Nate/Dropbox/ShiResearch/bpvo/build/CMakeFiles/progress.marks
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f bpvo/CMakeFiles/bpvo.dir/build.make bpvo/CMakeFiles/bpvo.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/CMakeFiles/bpvo_utils.dir/build.make utils/CMakeFiles/bpvo_utils.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f apps/CMakeFiles/bpvo_apps.dir/build.make apps/CMakeFiles/bpvo_apps.dir/depend
Scanning dependencies of target bpvo_apps
Scanning dependencies of target bpvo_utils
Scanning dependencies of target bpvo
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f apps/CMakeFiles/bpvo_apps.dir/build.make apps/CMakeFiles/bpvo_apps.dir/build
[ 1%] Building CXX object apps/CMakeFiles/bpvo_apps.dir/vo_app.cc.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f bpvo/CMakeFiles/bpvo.dir/build.make bpvo/CMakeFiles/bpvo.dir/build
[ 3%] Building CXX object bpvo/CMakeFiles/bpvo.dir/bitplanes_descriptor.cc.o
[ 4%] Building CXX object bpvo/CMakeFiles/bpvo.dir/census.cc.o
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/CMakeFiles/bpvo_utils.dir/build.make utils/CMakeFiles/bpvo_utils.dir/build
[ 6%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/dataset.cc.o
[ 8%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/dataset_create.cc.o
[ 9%] Building CXX object bpvo/CMakeFiles/bpvo.dir/config_file.cc.o
[ 11%] Building CXX object bpvo/CMakeFiles/bpvo.dir/dense_descriptor.cc.o
[ 12%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/dataset_loader_thread.cc.o
[ 14%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/file_loader.cc.o
[ 16%] Linking CXX shared library ../bin/libbpvo_apps.dylib
Undefined symbols for architecture x86_64:
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
bpvo::Viewer::showImages(bpvo::DatasetFrame const*) in vo_app.cc.o
"cv::namedWindow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"cv::Mat::deallocate()", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
bpvo::VoApp::Impl::~Impl() in vo_app.cc.o
"cv::imshow(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, cv::_InputArray const&)", referenced from:
bpvo::Viewer::showImages(bpvo::DatasetFrame const*) in vo_app.cc.o
"cv::waitKey(int)", referenced from:
bpvo::Viewer::showImages(bpvo::DatasetFrame const*) in vo_app.cc.o
"cv::fastFree(void*)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
bpvo::VoApp::Impl::~Impl() in vo_app.cc.o
"bpvo::ConfigFile::ConfigFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::PointCloud::reserve(unsigned long)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::PointCloud()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::~PointCloud()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Calibration::~Calibration()", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::PointWithInfo::xyzw()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::VisualOdometry::addFrame(unsigned char const*, float const*)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::VisualOdometry::VisualOdometry(Eigen::Matrix<float, 3, 3, 0, 3, 3> const&, float, bpvo::ImageSize, bpvo::AlgorithmParameters)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::VisualOdometry::~VisualOdometry()", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
bpvo::VoApp::Impl::~Impl() in vo_app.cc.o
"bpvo::overlayDisparity(cv::Mat const&, cv::Mat const&, cv::Mat&, double, double, double)", referenced from:
bpvo::Viewer::showImages(bpvo::DatasetFrame const*) in vo_app.cc.o
"bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double)", referenced from:
bpvo::Viewer::showImages(bpvo::DatasetFrame const*) in vo_app.cc.o
"bpvo::AlgorithmParameters::AlgorithmParameters(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::DatasetLoaderThread::stop(bool)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::DatasetLoaderThread::DatasetLoaderThread(std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >, bpvo::BoundedBuffer<std::__1::unique_ptr<bpvo::DatasetFrame, std::__1::default_delete<bpvo::DatasetFrame> > >&)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::DatasetLoaderThread::~DatasetLoaderThread()", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
bpvo::VoApp::Impl::~Impl() in vo_app.cc.o
"bpvo::Sleep(int)", referenced from:
bpvo::VoApp::VoApp(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
bpvo::VoApp::VoApp(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::Timer::stop()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Timer::start()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Format(char const*, ...)", referenced from:
bpvo::VoApp::Impl::run() in vo_app.cc.o
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Result::Result()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Result::~Result()", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Result::operator=(bpvo::Result&&)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::ToString(bpvo::KeyFramingReason)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::icompare(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
bpvo::VoApp::Impl::Impl(bpvo::VoApp::Options, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::unique_ptr<bpvo::Dataset, std::__1::default_delete<bpvo::Dataset> >) in vo_app.cc.o
"bpvo::ToPlyFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::vector<bpvo::PointWithInfo, Eigen::aligned_allocator<bpvo::PointWithInfo> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::pose() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::size() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::points() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointCloud::operator[](int) const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Trajectory::writeCameraPath(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::Trajectory::write(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointWithInfo::xyzw() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::PointWithInfo::weight() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::VisualOdometry::trajectory() const", referenced from:
bpvo::VoApp::getTrajectory() const in vo_app.cc.o
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::VisualOdometry::numPointsAtLevel(int) const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::DatasetLoaderThread::isRunning() const", referenced from:
bpvo::VoApp::Impl::mainLoop() in vo_app.cc.o
"bpvo::CaseInsenstiveComparator::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const", referenced from:
float bpvo::ConfigFile::get<float>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in vo_app.cc.o
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > bpvo::ConfigFile::get<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in vo_app.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libbpvo_apps.dylib] Error 1
make[1]: *** [apps/CMakeFiles/bpvo_apps.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 17%] Building CXX object bpvo/CMakeFiles/bpvo.dir/dense_descriptor_pyramid.cc.o
[ 19%] Building CXX object bpvo/CMakeFiles/bpvo.dir/disparity_space_warp.cc.o
[ 20%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/glob.cc.o
[ 22%] Building CXX object bpvo/CMakeFiles/bpvo.dir/image_pyramid.cc.o
[ 24%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/image_frame.cc.o
[ 25%] Building CXX object bpvo/CMakeFiles/bpvo.dir/imgproc.cc.o
[ 27%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/kitti_dataset.cc.o
[ 29%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/kitti_eval.cc.o
[ 30%] Building CXX object bpvo/CMakeFiles/bpvo.dir/imwarp.cc.o
[ 32%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/program_options.cc.o
[ 33%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/rsgm.cc.o
[ 35%] Building CXX object bpvo/CMakeFiles/bpvo.dir/imwarp_init_sse4.cc.o
[ 37%] Building CXX object bpvo/CMakeFiles/bpvo.dir/intensity_descriptor.cc.o
[ 38%] Building CXX object bpvo/CMakeFiles/bpvo.dir/linear_system_builder.cc.o
[ 40%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/sgm.cc.o
[ 41%] Building CXX object bpvo/CMakeFiles/bpvo.dir/mestimator.cc.o
[ 43%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/stereo_algorithm.cc.o
/Users/Nate/Dropbox/ShiResearch/bpvo/bpvo/linear_system_builder.cc:287:20: warning: unused function 'getValidResiduals' [-Wunused-function]
static inline void getValidResiduals(const std::vector<uint8_t>& valid,
^
1 warning generated.
[ 45%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/stereo_calibration.cc.o
[ 46%] Building CXX object bpvo/CMakeFiles/bpvo.dir/parallel.cc.o
/Users/Nate/Dropbox/ShiResearch/bpvo/bpvo/mestimator.cc:439:7: warning: unused function 'ScaleEstimator' [-Wunused-function]
float ScaleEstimator(const ResidualsVector& residuals,
^
[ 48%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/tsukuba_dataset.cc.o
1 warning generated.
[ 50%] Building CXX object bpvo/CMakeFiles/bpvo.dir/photo_error.cc.o
[ 51%] Building CXX object bpvo/CMakeFiles/bpvo.dir/point_cloud.cc.o
[ 53%] Building CXX object bpvo/CMakeFiles/bpvo.dir/pose_estimator_params.cc.o
[ 54%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/tunnel_dataset.cc.o
[ 56%] Building CXX object bpvo/CMakeFiles/bpvo.dir/project_points.cc.o
[ 58%] Building CXX object utils/CMakeFiles/bpvo_utils.dir/viz.cc.o
[ 59%] Building CXX object bpvo/CMakeFiles/bpvo.dir/rigid_body_warp.cc.o
[ 61%] Building CXX object bpvo/CMakeFiles/bpvo.dir/template_data.cc.o
[ 62%] Building CXX object bpvo/CMakeFiles/bpvo.dir/timer.cc.o
[ 64%] Building CXX object bpvo/CMakeFiles/bpvo.dir/trajectory.cc.o
[ 66%] Linking CXX shared library ../bin/libbpvo_utils.dylib
Undefined symbols for architecture x86_64:
"cv::StereoSGBM::StereoSGBM(int, int, int, int, int, int, int, int, int, int, bool)", referenced from:
bpvo::StereoAlgorithm::Impl::Impl(bpvo::ConfigFile const&) in stereo_algorithm.cc.o
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoAlgorithm::Impl::run(cv::Mat const&, cv::Mat const&, cv::Mat&) in stereo_algorithm.cc.o
bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double) in viz.cc.o
bpvo::overlayDisparity(cv::Mat const&, cv::Mat const&, cv::Mat&, double, double, double) in viz.cc.o
"cv::addWeighted(cv::_InputArray const&, double, cv::_InputArray const&, double, double, cv::_OutputArray const&, int)", referenced from:
bpvo::overlayDisparity(cv::Mat const&, cv::Mat const&, cv::Mat&, double, double, double) in viz.cc.o
"cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from:
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::DisparityFrame::DisparityFrame(cv::Mat const&, cv::Mat const&) in image_frame.cc.o
bpvo::DisparityFrame::convertDisparityToFloat() in image_frame.cc.o
bpvo::DisparityFrame::setDisparity(cv::Mat const&) in image_frame.cc.o
bpvo::StereoAlgorithm::Impl::run(cv::Mat const&, cv::Mat const&, cv::Mat&) in stereo_algorithm.cc.o
...
"cv::applyColorMap(cv::_InputArray const&, cv::_OutputArray const&, int)", referenced from:
bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double) in viz.cc.o
"cv::Mat::deallocate()", referenced from:
bpvo::DisparityDataset::DisparityFrame::DisparityFrame(cv::Mat, cv::Mat, cv::Mat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::StereoFrame::~StereoFrame() in dataset.cc.o
bpvo::StereoDataset::StereoFrame::StereoFrame(bpvo::StereoDataset::StereoFrame const&) in dataset.cc.o
bpvo::DisparityDataset::DisparityFrame::~DisparityFrame() in dataset.cc.o
...
"cv::Mat::create(int, int const*, int)", referenced from:
bpvo::StereoAlgorithm::Impl::run(cv::Mat const&, cv::Mat const&, cv::Mat&) in stereo_algorithm.cc.o
"cv::Mat::copySize(cv::Mat const&)", referenced from:
bpvo::DisparityDataset::DisparityFrame::DisparityFrame(cv::Mat, cv::Mat, cv::Mat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::StereoFrame::StereoFrame(bpvo::StereoDataset::StereoFrame const&) in dataset.cc.o
bpvo::StereoFrame::StereoFrame(cv::Mat const&, cv::Mat const&) in image_frame.cc.o
bpvo::StereoFrame::StereoFrame(cv::Mat const&, cv::Mat const&, cv::Mat const&) in image_frame.cc.o
...
"cv::imread(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, int)", referenced from:
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
"cv::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)", referenced from:
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
"cv::noArray()", referenced from:
bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double) in viz.cc.o
"cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::overlayDisparity(cv::Mat const&, cv::Mat const&, cv::Mat&, double, double, double) in viz.cc.o
"cv::fastFree(void*)", referenced from:
bpvo::DisparityDataset::DisparityFrame::DisparityFrame(cv::Mat, cv::Mat, cv::Mat, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::StereoFrame::~StereoFrame() in dataset.cc.o
bpvo::StereoDataset::StereoFrame::StereoFrame(bpvo::StereoDataset::StereoFrame const&) in dataset.cc.o
bpvo::DisparityDataset::DisparityFrame::~DisparityFrame() in dataset.cc.o
bpvo::StereoFrame::~StereoFrame() in image_frame.cc.o
...
"cv::minMaxLoc(cv::_InputArray const&, double*, double*, cv::Point_<int>*, cv::Point_<int>*, cv::_InputArray const&)", referenced from:
bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double) in viz.cc.o
"bpvo::ConfigFile::ConfigFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::DisparityDataset::DisparityDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::StereoDataset::StereoDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::Dataset::Create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset_create.cc.o
bpvo::KittiDataset::KittiDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in kitti_dataset.cc.o
bpvo::StereoAlgorithm::StereoAlgorithm(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in stereo_algorithm.cc.o
bpvo::StereoAlgorithm::StereoAlgorithm(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in stereo_algorithm.cc.o
bpvo::TsukubaSyntheticDataset::TsukubaSyntheticDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in tsukuba_dataset.cc.o
...
"bpvo::fs::expand_tilde(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::DisparityDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
bpvo::StereoDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
bpvo::FileLoader::FileLoader(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int) in file_loader.cc.o
bpvo::KittiDataset::init(bpvo::ConfigFile const&) in kitti_dataset.cc.o
bpvo::TsukubaSyntheticDataset::init(bpvo::ConfigFile const&) in tsukuba_dataset.cc.o
bpvo::TsukubaStereoDataset::init(bpvo::ConfigFile const&) in tsukuba_dataset.cc.o
"bpvo::fs::dirsep(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::FileLoader::FileLoader(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int) in file_loader.cc.o
"bpvo::fs::exists(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >)", referenced from:
bpvo::DisparityDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
bpvo::StereoDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
bpvo::FileLoader::FileLoader(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, int) in file_loader.cc.o
bpvo::KittiDataset::init(bpvo::ConfigFile const&) in kitti_dataset.cc.o
bpvo::TsukubaSyntheticDataset::init(bpvo::ConfigFile const&) in tsukuba_dataset.cc.o
bpvo::TsukubaStereoDataset::init(bpvo::ConfigFile const&) in tsukuba_dataset.cc.o
"bpvo::Sleep(int)", referenced from:
bpvo::DatasetLoaderThread::start() in dataset_loader_thread.cc.o
"bpvo::Format(char const*, ...)", referenced from:
bpvo::DisparityDataset::DisparityDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::DisparityDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::toGray(cv::Mat const&, cv::Mat&) in dataset.cc.o
bpvo::StereoDataset::StereoDataset(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset.cc.o
bpvo::StereoDataset::getFrame(int) const in dataset.cc.o
bpvo::StereoDataset::init(bpvo::ConfigFile const&) in dataset.cc.o
...
"float bpvo::str2num<float>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
(anonymous namespace)::set_kitti_camera_from_line(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in kitti_dataset.cc.o
"bpvo::icompare(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
bpvo::Dataset::Create(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in dataset_create.cc.o
bpvo::StereoAlgorithm::Impl::Impl(bpvo::ConfigFile const&) in stereo_algorithm.cc.o
"bpvo::splitstr(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, char)", referenced from:
(anonymous namespace)::set_kitti_camera_from_line(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in kitti_dataset.cc.o
"boost::program_options::to_internal(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > boost::program_options::to_internal<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&) in program_options.cc.o
"boost::program_options::variables_map::variables_map()", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
"boost::program_options::options_description::add_options()", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
bpvo::ProgramOptions::addOption(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
"boost::program_options::options_description::m_default_line_length", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
"boost::program_options::options_description::options_description(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, unsigned int)", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
"boost::program_options::options_description_easy_init::operator()(char const*, char const*)", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
bpvo::ProgramOptions::addOption(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
"boost::program_options::store(boost::program_options::basic_parsed_options<char> const&, boost::program_options::variables_map&, bool)", referenced from:
bpvo::ProgramOptions::parse(int, char**) in program_options.cc.o
"boost::program_options::detail::cmdline::set_additional_parser(boost::function1<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>)", referenced from:
boost::program_options::basic_command_line_parser<char>::extra_parser(boost::function1<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>) in program_options.cc.o
"boost::program_options::detail::cmdline::set_options_description(boost::program_options::options_description const&)", referenced from:
boost::program_options::basic_parsed_options<char> boost::program_options::parse_command_line<char>(int, char const* const*, boost::program_options::options_description const&, int, boost::function1<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>) in program_options.cc.o
"boost::program_options::detail::cmdline::get_canonical_option_prefix()", referenced from:
boost::program_options::basic_command_line_parser<char>::run() in program_options.cc.o
"boost::program_options::detail::cmdline::run()", referenced from:
boost::program_options::basic_command_line_parser<char>::run() in program_options.cc.o
"boost::program_options::detail::cmdline::style(int)", referenced from:
boost::program_options::basic_parsed_options<char> boost::program_options::parse_command_line<char>(int, char const* const*, boost::program_options::options_description const&, int, boost::function1<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&>) in program_options.cc.o
"boost::program_options::detail::cmdline::cmdline(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > const&)", referenced from:
boost::program_options::basic_command_line_parser<char>::basic_command_line_parser(int, char const* const*) in program_options.cc.o
"boost::program_options::notify(boost::program_options::variables_map&)", referenced from:
bpvo::ProgramOptions::parse(int, char**) in program_options.cc.o
"boost::program_options::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, boost::program_options::options_description const&)", referenced from:
bpvo::ProgramOptions::printHelpAndExit(int) const in program_options.cc.o
"cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const", referenced from:
bpvo::DisparityDataset::getFrame(int) const in dataset.cc.o
bpvo::DisparityFrame::DisparityFrame(cv::Mat const&, cv::Mat const&) in image_frame.cc.o
bpvo::DisparityFrame::convertDisparityToFloat() in image_frame.cc.o
bpvo::DisparityFrame::setDisparity(cv::Mat const&) in image_frame.cc.o
bpvo::StereoAlgorithm::Impl::run(cv::Mat const&, cv::Mat const&, cv::Mat&) in stereo_algorithm.cc.o
bpvo::colorizeDisparity(cv::Mat const&, cv::Mat&, double, double) in viz.cc.o
"bpvo::CaseInsenstiveComparator::operator()(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const", referenced from:
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > bpvo::ConfigFile::get<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in dataset.cc.o
float bpvo::ConfigFile::get<float>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in dataset.cc.o
int bpvo::ConfigFile::get<int>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in dataset.cc.o
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > bpvo::ConfigFile::get<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in dataset_create.cc.o
std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > bpvo::ConfigFile::get<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in kitti_dataset.cc.o
int bpvo::ConfigFile::get<int>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in kitti_dataset.cc.o
int bpvo::ConfigFile::get<int>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) const in stereo_algorithm.cc.o
...
"vtable for boost::program_options::variables_map", referenced from:
bpvo::ProgramOptions::ProgramOptions(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >) in program_options.cc.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
"_cvCreateStereoBMState", referenced from:
bpvo::StereoAlgorithm::Impl::Impl(bpvo::ConfigFile const&) in stereo_algorithm.cc.o
"_cvFindStereoCorrespondenceBM", referenced from:
bpvo::StereoAlgorithm::Impl::run(cv::Mat const&, cv::Mat const&, cv::Mat&) in stereo_algorithm.cc.o
"_cvReleaseStereoBMState", referenced from:
bpvo::StereoAlgorithm::Impl::~Impl() in stereo_algorithm.cc.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libbpvo_utils.dylib] Error 1
make[1]: *** [utils/CMakeFiles/bpvo_utils.dir/all] Error 2
[ 67%] Building CXX object bpvo/CMakeFiles/bpvo.dir/types.cc.o
[ 69%] Building CXX object bpvo/CMakeFiles/bpvo.dir/utils.cc.o
[ 70%] Building CXX object bpvo/CMakeFiles/bpvo.dir/v128.cc.o
[ 72%] Building CXX object bpvo/CMakeFiles/bpvo.dir/vector6.cc.o
[ 74%] Building CXX object bpvo/CMakeFiles/bpvo.dir/vo.cc.o
[ 75%] Building CXX object bpvo/CMakeFiles/bpvo.dir/vo_frame.cc.o
[ 77%] Building CXX object bpvo/CMakeFiles/bpvo.dir/vo_pose_estimator.cc.o
[ 79%] Building CXX object bpvo/CMakeFiles/bpvo.dir/warps.cc.o
[ 80%] Linking CXX shared library ../bin/libbpvo.dylib
Undefined symbols for architecture x86_64:
"cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
bpvo::BitPlanesComputeBody<float>::operator()(bpvo::Range const&) const in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
bpvo::ImagePyramid::compute(cv::Mat const&) in image_pyramid.cc.o
bpvo::IntensityDescriptor::compute(cv::Mat const&) in intensity_descriptor.cc.o
"cv::GaussianBlur(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int)", referenced from:
bpvo::BitPlanesComputeBody<float>::operator()(bpvo::Range const&) const in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
"cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from:
bpvo::BitPlanesDescriptor::copyTo(bpvo::DenseDescriptor*) const in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::operator()(bpvo::Range const&) const in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
bpvo::ImagePyramid::ImagePyramid(bpvo::ImagePyramid const&) in image_pyramid.cc.o
bpvo::ImagePyramid::compute(cv::Mat const&) in image_pyramid.cc.o
bpvo::IntensityDescriptor::IntensityDescriptor(bpvo::IntensityDescriptor const&) in intensity_descriptor.cc.o
bpvo::VisualOdometryFrame::setData(cv::Mat const&, cv::Mat const&) in vo_frame.cc.o
...
"cv::Mat::deallocate()", referenced from:
bpvo::BitPlanesDescriptor::~BitPlanesDescriptor() in bitplanes_descriptor.cc.o
bpvo::BitPlanesDescriptor::compute(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::BitPlanesDescriptor::computeSaliencyMap(cv::Mat&) const in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::~BitPlanesComputeBody() in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::~BitPlanesComputeBody() in bitplanes_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
...
"cv::Mat::create(int, int const*, int)", referenced from:
bpvo::BitPlanesDescriptor::computeSaliencyMap(cv::Mat&) const in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::operator()(bpvo::Range const&) const in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
bpvo::gradientAbsoluteMagnitude(cv::Mat_<float> const&, cv::Mat_<float>&) in imgproc.cc.o
bpvo::IntensityDescriptor::computeSaliencyMap(cv::Mat&) const in intensity_descriptor.cc.o
"cv::Mat::copySize(cv::Mat const&)", referenced from:
bpvo::BitPlanesDescriptor::clone() const in bitplanes_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
bpvo::ImagePyramid::ImagePyramid(bpvo::ImagePyramid const&) in image_pyramid.cc.o
bpvo::ImagePyramid::compute(cv::Mat const&) in image_pyramid.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in intensity_descriptor.cc.o
bpvo::VisualOdometryFrame::setTemplate() in vo_frame.cc.o
...
"cv::pyrDown(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int> const&, int)", referenced from:
bpvo::ImagePyramid::compute(cv::Mat const&) in image_pyramid.cc.o
"cv::cvtColor(cv::_InputArray const&, cv::_OutputArray const&, int, int)", referenced from:
bpvo::IntensityDescriptor::compute(cv::Mat const&) in intensity_descriptor.cc.o
"cv::fastFree(void*)", referenced from:
bpvo::BitPlanesDescriptor::~BitPlanesDescriptor() in bitplanes_descriptor.cc.o
bpvo::BitPlanesDescriptor::compute(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::BitPlanesDescriptor::computeSaliencyMap(cv::Mat&) const in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::~BitPlanesComputeBody() in bitplanes_descriptor.cc.o
bpvo::BitPlanesComputeBody<float>::~BitPlanesComputeBody() in bitplanes_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::census(cv::Mat const&, float) in census.cc.o
...
"cv::Mat::copyTo(cv::_OutputArray const&) const", referenced from:
bpvo::BitPlanesDescriptor::copyTo(bpvo::DenseDescriptor*) const in bitplanes_descriptor.cc.o
bpvo::ImagePyramid::ImagePyramid(bpvo::ImagePyramid const&) in image_pyramid.cc.o
bpvo::IntensityDescriptor::copyTo(bpvo::DenseDescriptor*) const in intensity_descriptor.cc.o
bpvo::IntensityDescriptor::IntensityDescriptor(bpvo::IntensityDescriptor const&) in intensity_descriptor.cc.o
bpvo::VisualOdometryFrame::setData(cv::Mat const&, cv::Mat const&) in vo_frame.cc.o
"cv::Mat::reshape(int, int, int const*) const", referenced from:
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in intensity_descriptor.cc.o
"cv::Mat::convertTo(cv::_OutputArray const&, int, double, double) const", referenced from:
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::IntensityDescriptor::compute(cv::Mat const&) in intensity_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in intensity_descriptor.cc.o
"vtable for cv::_OutputArray", referenced from:
cv::Mat_<float>::operator=(cv::Mat const&) in bitplanes_descriptor.cc.o
bpvo::IntensityDescriptor::compute(cv::Mat const&) in intensity_descriptor.cc.o
bpvo::IntensityDescriptor::copyTo(bpvo::DenseDescriptor*) const in intensity_descriptor.cc.o
cv::Mat_<float>::operator=(cv::Mat const&) in intensity_descriptor.cc.o
NOTE: a missing vtable usually means the first non-inline virtual member function has no definition.
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [bin/libbpvo.dylib] Error 1
make[1]: *** [bpvo/CMakeFiles/bpvo.dir/all] Error 2
make: *** [all] Error 2
All of the errors seem to be linking issues with opencv. Do you have any idea what might be causing this? I have OpenCV 2.12 instead of 2.11 but that doesn't seem likely to cause an issue.