undefined reference to `cv::cuda::StreamAccessor::getStream(cv::cuda::Stream const&)'
System information (version)
- OpenCV => 3.3.1 with cuda10
- Operating System / Platform => Ubuntu16.04
- Compiler => vim
Detailed description
When i process the last steps below, I encounter the make error below
[ 80%] Built target OpenDTAM
[ 85%] Linking CXX executable a.out
libOpenDTAM.so: undefined reference to `cv::cuda::StreamAccessor::getStream(cv::cuda::Stream const&)'
collect2: error: ld returned 1 exit status
CMakeFiles/a.out.dir/build.make:163: recipe for target 'a.out' failed
make[2]: *** [a.out] Error 1
CMakeFiles/Makefile2:72: recipe for target 'CMakeFiles/a.out.dir/all' failed
make[1]: *** [CMakeFiles/a.out.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
Can you give me some advice? Thanks a lot!
Steps to reproduce
- clone the OpenDTAM
- install qtbase5-dev
sudo apt-add-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get install qtbase5-dev
- install boost
sudo apt-get install libboost-system-dev libboost-thread-dev
- List itemBuild OpenDTAM
cd OpenDTAM mkdir build cd build cmake ../Cpp make -j4
please be so nice, and replace the screenshot with a TEXT version, so we can quote you, it can be indexed for search, etc, thank you !
Hi,@berak Thanks for your reply.I have replace the screenshot with the text version.
yea, thanks !
however, this is somewhat an unfortunate question, since noone here will be able to reproduce it without installing the whole setup / dependancies.
to rule out, that something with your opencv install is broken, you should build & run the cuda related opencv tests. if those don't reproduce the problem, you know, it's something in the OpenDTAM setup (a broken cmake file or similar), and you probably should raise an issue there, not with the opencv bugtracker.