Source: eviacam
Version: 2.1.4-1
Severity: serious

Dear maintainer,

eviacam FTBFS against the latest version of OpenCV:
https://buildd.debian.org/status/package.php?p=eviacam&suite=sid
https://buildd.debian.org/status/fetch.php?pkg=eviacam&arch=amd64&ver=2.1.4-1%2Bb1&stamp=1580642132&raw=0

which looks due an API change at the first glance.


crvnormroi.cpp:449:35: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  449 |  SetP1ResizeInteger (pImg->GetSize(), x, y);
      |                      ~~~~~~~~~~~~~^~
      |                                   |
      |                                   cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:359:50: note:   initializing argument 1 of ‘void 
CNormROI::SetP1ResizeInteger(const CvSize&, int, int)’
  359 | void CNormROI::SetP1ResizeInteger (const CvSize& size, const int x, 
const int y)
      |                                    ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::SetP1MoveImg(const 
CIplImage*, int, int)’:
crvnormroi.cpp:457:33: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  457 |  SetP1MoveInteger (pImg->GetSize(), x, y);
      |                    ~~~~~~~~~~~~~^~
      |                                 |
      |                                 cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:369:48: note:   initializing argument 1 of ‘void 
CNormROI::SetP1MoveInteger(const CvSize&, int, int)’
  369 | void CNormROI::SetP1MoveInteger (const CvSize& size, const int x, const 
int y)
      |                                  ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::SetP2ResizeImg(const 
CIplImage*, int, int)’:
crvnormroi.cpp:465:35: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  465 |  SetP2ResizeInteger (pImg->GetSize(), x, y);
      |                      ~~~~~~~~~~~~~^~
      |                                   |
      |                                   cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:379:50: note:   initializing argument 1 of ‘void 
CNormROI::SetP2ResizeInteger(const CvSize&, int, int)’
  379 | void CNormROI::SetP2ResizeInteger (const CvSize& size, const int x, 
const int y)
      |                                    ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::SetCenterImg(const 
CIplImage*, int, int)’:
crvnormroi.cpp:473:33: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  473 |  SetCenterInteger (pImg->GetSize(), x, y);
      |                    ~~~~~~~~~~~~~^~
      |                                 |
      |                                 cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:389:48: note:   initializing argument 1 of ‘void 
CNormROI::SetCenterInteger(const CvSize&, int, int)’
  389 | void CNormROI::SetCenterInteger (const CvSize& size, const int x, const 
int y)
      |                                  ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::GetCenterImg(const 
CIplImage*, int&, int&)’:
crvnormroi.cpp:481:33: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  481 |  GetCenterInteger (pImg->GetSize(), x, y);
      |                    ~~~~~~~~~~~~~^~
      |                                 |
      |                                 cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:398:48: note:   initializing argument 1 of ‘void 
CNormROI::GetCenterInteger(const CvSize&, int&, int&)’
  398 | void CNormROI::GetCenterInteger (const CvSize& size, int& x, int& y)
      |                                  ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::SetSizeImg(const CIplImage*, 
int, int)’:
crvnormroi.cpp:489:31: error: cannot convert ‘cv::Size’ {aka ‘cv::Size_<int>’} 
to ‘const CvSize&’
  489 |  SetSizeInteger (pImg->GetSize(), width, height);
      |                  ~~~~~~~~~~~~~^~
      |                               |
      |                               cv::Size {aka cv::Size_<int>}
crvnormroi.cpp:408:46: note:   initializing argument 1 of ‘void 
CNormROI::SetSizeInteger(const CvSize&, int, int)’
  408 | void CNormROI::SetSizeInteger (const CvSize& size, const int width, 
const int height)
      |                                ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp: In member function ‘void CNormROI::GetBoxImg(const CIplImage*, 
int&, int&, int&, int&)’:
crvnormroi.cpp:497:53: error: no matching function for call to 
‘CNormROI::GetBoxInteger(cv::Size, int&, int&, int&, int&)’
  497 |  GetBoxInteger (pImg->GetSize(), x, y, width, height);
      |                                                     ^
crvnormroi.cpp:418:6: note: candidate: ‘void CNormROI::GetBoxInteger(const 
CvSize&, int&, int&, int&, int&)’
  418 | void CNormROI::GetBoxInteger (const CvSize& size, int& x, int& y, int& 
width, int& height)
      |      ^~~~~~~~
crvnormroi.cpp:418:45: note:   no known conversion for argument 1 from 
‘cv::Size’ {aka ‘cv::Size_<int>’} to ‘const CvSize&’
  418 | void CNormROI::GetBoxInteger (const CvSize& size, int& x, int& y, int& 
width, int& height)
      |                               ~~~~~~~~~~~~~~^~~~
crvnormroi.cpp:430:6: note: candidate: ‘void CNormROI::GetBoxInteger(const 
CvSize&, CvRect&)’
  430 | void CNormROI::GetBoxInteger (const CvSize& size, CvRect& box)
      |      ^~~~~~~~
crvnormroi.cpp:430:6: note:   candidate expects 2 arguments, 5 provided

Reply via email to