Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 355867 - =media-libs/opencv-2.0.0 Fails to compile
Summary: =media-libs/opencv-2.0.0 Fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-21 16:53 UTC by Agostino Sarubbo
Modified: 2011-04-30 09:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (opencv-2.0.0:20110221-163121.log,83.35 KB, text/plain)
2011-02-21 16:54 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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.