Build of cudabgsegm fails due to lack of opencv2/legacy.hpp (Bug #3791)


Added by David Bradley over 10 years ago. Updated over 10 years ago.


Status:Done Start date:2014-07-03
Priority:High Due date:
Assignee:David Bradley % Done:

100%

Category:-
Target version:3.0
Affected version:branch 'master' (3.0-dev) Operating System:Linux
Difficulty: HW Platform:x86
Pull request:

Description

Hi,
I'm just starting with opencv development. I pulled the latest 3.0 source and got this error while compiling on Ubuntu 12.04:

opencv/modules/cudabgsegm/perf/perf_bgsegm.cpp:46:32: fatal error: opencv2/legacy.hpp: No such file or directory
compilation terminated.


ccSTT3pk.out - preprocessed source file (2.1 MB) David Bradley, 2014-07-03 08:32 pm


Related issues

related to Bug #3788: Module opencv_cudaoptflow disabled Done 2014-07-02

History

Updated by David Bradley over 10 years ago

Seems like opencv/legacy.hpp may have been replaced by opencv/cudalegacy.hpp

  • Assignee set to David Bradley
  • % Done changed from 0 to 50
  • Status changed from New to Incomplete
  • Target version set to 3.0

Updated by David Bradley over 10 years ago

Minor modifications to the includes seemed to fix the problem. I submitted a pull request for the change.

  • % Done changed from 50 to 100
  • Status changed from Incomplete to Done

Also available in: Atom PDF