Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in building run_vido_slam.cc.o #6

Open
colin-de opened this issue Aug 29, 2022 · 0 comments
Open

Error in building run_vido_slam.cc.o #6

colin-de opened this issue Aug 29, 2022 · 0 comments

Comments

@colin-de
Copy link

Hi, I have a problem when building vido_slam.

[ 94%] Linking CXX executable run_vido
/usr/bin/ld: CMakeFiles/run_vido.dir/demo/run_vido_slam.cc.o: in function `main':
/usr/local/include/opencv2/core/cvstd.inl.hpp:150: undefined reference to `cv::read(cv::FileNode const&, std::string&, std::string const&)'
/usr/bin/ld: /usr/local/include/opencv2/core/cvstd.inl.hpp:150: undefined reference to `cv::read(cv::FileNode const&, std::string&, std::string const&)'
/usr/bin/ld: CMakeFiles/run_vido.dir/demo/run_vido_slam.cc.o: in function `main':
/home/lwh/VIDO-SLAM/vido_slam/demo/run_vido_slam.cc:118: undefined reference to `cv::optflow::readOpticalFlow(cv::String const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::Split(std::string const&, char)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::GlFont::GlFont(std::string const&, float, int, int)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::LoadGeometry(std::string const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::CreatePanel(std::string const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::PathParent(std::string const&, int)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::FileExists(std::string const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::Display(std::string const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::CreateWindowAndBind(std::string, int, int, pangolin::Params const&)'
/usr/bin/ld: /home/lwh/VIDO-SLAM/vido_slam/lib/libvido_slam.so: undefined reference to `pangolin::View::RecordOnRender(std::string const&)'
collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/run_vido.dir/build.make:152: run_vido] Error 1
make[1]: *** [CMakeFiles/Makefile2:111: CMakeFiles/run_vido.dir/all] Error 2
make: *** [Makefile:91: all] Error 2

could you please help me with that? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant