Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 355867

Summary: =media-libs/opencv-2.0.0 Fails to compile
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Andreas K. Hüttel <dilfridge>
Status: RESOLVED FIXED    
Severity: normal CC: kde
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log

Description Agostino Sarubbo gentoo-dev 2011-02-21 16:53:59 UTC
$summary

I think that the problem is with +debug
Comment 1 Agostino Sarubbo gentoo-dev 2011-02-21 16:54:12 UTC
Created attachment 263331 [details]
Build log
Comment 2 Rafał Mużyło 2011-02-21 17:24:52 UTC
The error:
/tmp/portage/media-libs/opencv-2.0.0/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp: In member function ‘virtual bool CvVideoWriter_FFMPEG::writeFrame(const IplImage*)’:
/tmp/portage/media-libs/opencv-2.0.0/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:1065: error: invalid conversion from ‘int’ to ‘PixelFormat’
/tmp/portage/media-libs/opencv-2.0.0/work/OpenCV-2.0.0/src/highgui/cvcap_ffmpeg.cpp:1065: error:   initializing argument 1 of ‘int avpicture_get_size(PixelFormat, int, int)’
Comment 3 Agostino Sarubbo gentoo-dev 2011-02-21 18:03:41 UTC
does not work only with +debug
Comment 4 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-30 09:59:47 UTC
Fixed by 2.2.0 in kde overlay. Will be moved to main tree soon.