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

rgbd build error #7

Open
sivaariram opened this issue Nov 27, 2018 · 8 comments
Open

rgbd build error #7

sivaariram opened this issue Nov 27, 2018 · 8 comments

Comments

@sivaariram
Copy link

[ 73%] Linking CXX executable rgbd_tum
../lib/libORB_SLAM2_CUDA.so: undefined reference to cv::cuda::createGaussianFilter(int, int, cv::Size_, double, double, int, int)' ../lib/libORB_SLAM2_CUDA.so: undefined reference to cv::cuda::copyMakeBorder(cv::_InputArray const&, cv::OutputArray const&, int, int, int, int, int, cv::Scalar, cv::cuda::Stream&)'
../lib/libORB_SLAM2_CUDA.so: undefined reference to cv::cuda::resize(cv::_InputArray const&, cv::OutputArray const&, cv::Size, double, double, int, cv::cuda::Stream&)' ../lib/libORB_SLAM2_CUDA.so: undefined reference to cv::cuda::StreamAccessor::wrapStream(CUstream_st*)'
collect2: error: ld returned 1 exit status
CMakeFiles/rgbd_tum.dir/build.make:162: 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

@thien94
Copy link
Owner

thien94 commented Nov 27, 2018

Can you check whether the file lib/libORB_SLAM2_CUDA.so has been created in ORB_SLAM2_CUDA folder? If not, try to build it then compile again:

chmod +x build.sh
./build.sh

@sivaariram
Copy link
Author

sivaariram commented Nov 27, 2018

libORB_SLAM2_CUDA.so has been created in ORB_SLAM2_CUDA folder

@thien94
Copy link
Owner

thien94 commented Nov 27, 2018

What version of OpenCV are you using? If it's not 3.2.0 then that might be the problem. You can check this out.

@sivaariram
Copy link
Author

@hoangthien94
This is my Config:
Opencv 3.2.0
Cuda 9.0

@3D-A
Copy link

3D-A commented Jun 28, 2019

I meet the same question,the above solutions could not work,any other way?

@SquirminatorHotHead
Copy link

@WangShuaixian
Have you solved your issue? I will try to help you. Send me the details.

@stephennacion06
Copy link

Hello is this issue fixed? I have the same problem with jetson xavier NX

@stephennacion06
Copy link

Hello is this issue fixed? I have the same problem with jetson xavier NX

Mine is OpenCV 4.1.0 and CUDA 10.1

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

5 participants