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

Building orb_slam2_gpu LINKING CXX executable rgbd_tum ERROR #40

Open
ibrahimquddusi opened this issue Dec 26, 2019 · 0 comments
Open

Comments

@ibrahimquddusi
Copy link

While building orb_slam2_gpu on my tx2 following errors occur

nvidia@tegra-ubuntu:~/orb_slam2_gpu/build$ make -j2
[ 70%] Built target ORB_SLAM2
[ 73%] Linking CXX executable stereo_kitti
[ 76%] Linking CXX executable rgbd_tum
lib/libORB_SLAM2.so: undefined reference to cv::cuda::copyMakeBorder(cv::_InputArray const&, cv::_OutputArray const&, int, int, int, int, int, cv::Scalar_<double>, cv::cuda::Stream&)' lib/libORB_SLAM2.so: undefined reference to cv::cuda::createGaussianFilter(int, int, cv::Size_, double, double, int, int)'
lib/libORB_SLAM2.so: undefined reference to cv::cuda::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int, cv::cuda::Stream&)' lib/libORB_SLAM2.so: undefined reference to cv::cuda::StreamAccessor::wrapStream(CUstream_st*)'
collect2: error: ld returned 1 exit status
CMakeFiles/stereo_kitti.dir/build.make:127: recipe for target 'stereo_kitti' failed
make[2]: *** [stereo_kitti] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/stereo_kitti.dir/all' failed
make[1]: *** [CMakeFiles/stereo_kitti.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
lib/libORB_SLAM2.so: undefined reference to cv::cuda::copyMakeBorder(cv::_InputArray const&, cv::_OutputArray const&, int, int, int, int, int, cv::Scalar_<double>, cv::cuda::Stream&)' lib/libORB_SLAM2.so: undefined reference to cv::cuda::createGaussianFilter(int, int, cv::Size_, double, double, int, int)'
lib/libORB_SLAM2.so: undefined reference to cv::cuda::resize(cv::_InputArray const&, cv::_OutputArray const&, cv::Size_<int>, double, double, int, cv::cuda::Stream&)' lib/libORB_SLAM2.so: undefined reference to cv::cuda::StreamAccessor::wrapStream(CUstream_st*)'
collect2: error: ld returned 1 exit status
CMakeFiles/rgbd_tum.dir/build.make:127: recipe for target 'rgbd_tum' failed
make[2]: *** [rgbd_tum] Error 1
CMakeFiles/Makefile2:104: recipe for target 'CMakeFiles/rgbd_tum.dir/all' failed
make[1]: *** [CMakeFiles/rgbd_tum.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

Can you please help?

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