Thanks for the patch. It works fine.
On Tue, Feb 11, 2020 at 4:30 PM Gianfranco Costamagna < locutusofb...@debian.org> wrote: > control: tags -1 patch > control: forwarded -1 https://github.com/cmauri/eviacam/pull/24 > > > Hello, I did craft a patch to make it build, I didn't test but the patch > was straightforward > I also sent it upstream for consideration > > cheers, > > G. > > > On Mon, 3 Feb 2020 12:30:54 +0000 Mo Zhou <lu...@debian.org> wrote: > > 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); >