xfeatures2d does not compile without cuda (Bug #3886)


Added by be rak over 10 years ago. Updated almost 10 years ago.


Status:Done Start date:2014-08-28
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:features2d
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Any
Difficulty:Easy HW Platform:Any
Pull request:https://github.com/Itseez/opencv_contrib/pull/81

Description

[this commit](https://github.com/ernest-galbrun/opencv_contrib/commit/b757d6cc83e48286f59285f9693e127bdc5d33dc) added a dependancy to opencv_cudaarithm, so xfeatures2d will be unavailable on a machine without cuda support.

making it optional, like:

ocv_define_module(xfeatures2d opencv_core opencv_imgproc opencv_features2d opencv_calib3d opencv_shape opencv_highgui opencv_videoio opencv_ml
OPTIONAL opencv_cudaarithm )

would fix it, but there might be a better idea.


Associated revisions

Revision d948b2a2
Added by Vadim Pisarevsky almost 10 years ago

Merge pull request #3886 from beahacker:2.4

History

Updated by Steven Puttemans over 10 years ago

Jup a bug :) Once the fix for CUDA built is in, I am up for fixing it!

Updated by Andrey Pavlenko over 10 years ago

  • Assignee deleted (Maria Dimashova)

Updated by Maksim Shabunin almost 10 years ago

  • Status changed from New to Done
  • Pull request set to https://github.com/Itseez/opencv_contrib/pull/81
  • % Done changed from 0 to 100

Also available in: Atom PDF