Ask Your Question

Revision history [back]

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 as the image show 2018-12-26 23-05-44

Can you give me some advice? Thanks a lot!

Steps to reproduce

  1. clone the OpenDTAM
  2. install qtbase5-dev sudo apt-add-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get install qtbase5-dev
  3. install boost sudo apt-get install libboost-system-dev libboost-thread-dev
  4. List itemBuild OpenDTAM cd OpenDTAM mkdir build cd build cmake ../Cpp make -j4

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 as the image show 2018-12-26 23-05-44below

[ 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

  1. clone the OpenDTAM
  2. install qtbase5-dev sudo apt-add-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get install qtbase5-dev
  3. install boost sudo apt-get install libboost-system-dev libboost-thread-dev
  4. List itemBuild OpenDTAM cd OpenDTAM mkdir build cd build cmake ../Cpp make -j4

undefined reference to `cv::cuda::StreamAccessor::getStream(cv::cuda::Stream const&)'

System information (version)

  • OpenCV => 3.3.1 with cuda10 - cuda10
  • Operating System / Platform => Ubuntu16.04 - 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

  1. clone the OpenDTAM
  2. install qtbase5-dev sudo apt-add-repository ppa:ubuntu-sdk-team/ppa sudo apt-get update sudo apt-get install qtbase5-dev
  3. install boost sudo apt-get install libboost-system-dev libboost-thread-dev
  4. List itemBuild OpenDTAM cd OpenDTAM mkdir build cd build cmake ../Cpp make -j4