Open lizhengning opened 7 years ago
CMakeFiles/camodocal_features2d.dir/ORBGPU.cc.o: In function camodocal::ORBGPU::ORBGPU(int, float, int, int, int, int, int, int)': ORBGPU.cc:(.text+0x108): undefined reference tocv::cuda::ORB::create(int, float, int, int, int, int, int, int, int, bool)' CMakeFiles/camodocal_features2d.dir/SurfGPU.cc.o: In function camodocal::SurfGPU::SurfGPU(double, int, int, bool, float)': SurfGPU.cc:(.text+0x96): undefined reference tocv::cuda::DescriptorMatcher::createBFMatcher(int)' collect2: error: ld returned 1 exit status src/features2d/CMakeFiles/camodocal_features2d.dir/build.make:184: recipe for target 'lib/libcamodocal_features2d.so' failed make[2]: [lib/libcamodocal_features2d.so] Error 1 CMakeFiles/Makefile2:1149: recipe for target 'src/features2d/CMakeFiles/camodocal_features2d.dir/all' failed make[1]: [src/features2d/CMakeFiles/camodocal_features2d.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2
camodocal::ORBGPU::ORBGPU(int, float, int, int, int, int, int, int)': ORBGPU.cc:(.text+0x108): undefined reference to
camodocal::SurfGPU::SurfGPU(double, int, int, bool, float)': SurfGPU.cc:(.text+0x96): undefined reference to
@ahundt I have one problem the same as @lizhengning ,do you know how to solve it.Thanks!
CMakeFiles/camodocal_features2d.dir/ORBGPU.cc.o: In function
camodocal::ORBGPU::ORBGPU(int, float, int, int, int, int, int, int)': ORBGPU.cc:(.text+0x108): undefined reference to
cv::cuda::ORB::create(int, float, int, int, int, int, int, int, int, bool)' CMakeFiles/camodocal_features2d.dir/SurfGPU.cc.o: In functioncamodocal::SurfGPU::SurfGPU(double, int, int, bool, float)': SurfGPU.cc:(.text+0x96): undefined reference to
cv::cuda::DescriptorMatcher::createBFMatcher(int)' collect2: error: ld returned 1 exit status src/features2d/CMakeFiles/camodocal_features2d.dir/build.make:184: recipe for target 'lib/libcamodocal_features2d.so' failed make[2]: [lib/libcamodocal_features2d.so] Error 1 CMakeFiles/Makefile2:1149: recipe for target 'src/features2d/CMakeFiles/camodocal_features2d.dir/all' failed make[1]: [src/features2d/CMakeFiles/camodocal_features2d.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2