Summary: | media-libs/opencv fails to build with gcc-4.6 - work/OpenCV-2.1.0/include/opencv/cxcore.hpp:177:13: error: ‘ptrdiff_t’ does not name a type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Andreas K. Hüttel <dilfridge> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 346809 | ||
Attachments: | Build log |
Description
Diego Elio Pettenò (RETIRED)
2011-04-06 08:11:09 UTC
Note this during setup: i686-pc-linux-gnu-g++: error: unrecognized option ‘--version’ In file included from /var/tmp/portage/media-libs/opencv-2.1.0/work/OpenCV-2.1.0/include/opencv/cxcore.h:1826:0, from /var/tmp/portage/media-libs/opencv-2.1.0/work/OpenCV-2.1.0/src/cxcore/_cxcore.h:51, from /var/tmp/portage/media-libs/opencv-2.1.0/work/opencv-2.1.0_build/src/cxcore/cxcore_pch_dephelp.cxx:1: /var/tmp/portage/media-libs/opencv-2.1.0/work/OpenCV-2.1.0/include/opencv/cxcore.hpp:177:13: error: ‘ptrdiff_t’ does not name a type Most likely missing #include <cstddef>. Fixed in 2.2.0 in kde overlay. Will be moved to main tree soon. |