[Pkg-scicomp-devel] Bug#562742: libcv-dev: shipped headers don't compile with gcc 4.4

Filippo Giunchedi filippo at debian.org
Sun Dec 27 17:36:56 UTC 2009


Package: libcv-dev
Version: 2.0.0-2
Severity: grave
Tags: patch
Justification: renders package unusable

Hi,
this is actually "masked" by #559857 because the compilation doesn't go
further than that, once fixed another error using gcc 4.4 is revealed:

In file included from /usr/include/opencv/cxcore.h:2123,
                 from /usr/include/opencv/cv.h:58,
                 from ../src/include/opencv_cam_layer.h:25,
                 from ../src/include/impl_layers.h:60,
                 from context.cpp:50:
/usr/include/opencv/cxcore.hpp:266: error: expected identifier before numeric constant
/usr/include/opencv/cxcore.hpp:266: error: expected unqualified-id before numeric constant
/usr/include/opencv/cxcore.hpp:279: error: expected unqualified-id before numeric constant
/usr/include/opencv/cxcore.hpp:280: error: expected unqualified-id before numeric constant
/usr/include/opencv/cxcore.hpp:567: error: template argument 1 is invalid

etc...

this has been already reported at http://sourceforge.net/tracker/index.php?func=detail&aid=2871875&group_id=22870&atid=376677
and fixed by upstream in r2255 https://code.ros.org/trac/opencv/changeset/2255

indeed I've tested the proposed patch and at least compiles

thanks,
filippo

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.31-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libcv-dev depends on:
ii  libatk1.0-0        1.28.0-1              The ATK accessibility toolkit
ii  libavcodec52       5:0.5+svn20091224-0.0 library to encode decode multimedi
ii  libavformat52      5:0.5+svn20091224-0.0 ffmpeg file format library
ii  libc6              2.10.2-2              GNU C Library: Shared libraries
ii  libcairo2          1.8.8-2               The Cairo 2D vector graphics libra
ii  libcv4             2.0.0-2               computer vision library
ii  libdc1394-22       2.1.2-1               high level programming interface f
ii  libfontconfig1     2.6.0-4.2             generic font configuration library
ii  libfreetype6       2.3.11-1              FreeType 2 font engine, shared lib
ii  libgcc1            1:4.4.2-7             GCC support library
ii  libglib2.0-0       2.22.3-2              The GLib library of C routines
ii  libgomp1           4.4.2-7               GCC OpenMP (GOMP) support library
ii  libgtk2.0-0        2.18.5-1              The GTK+ graphical user interface 
ii  libhighgui4        2.0.0-2               computer vision GUI library
ii  libjasper1         1.900.1-6.1           The JasPer JPEG-2000 runtime libra
ii  libjpeg62          6b-15                 The Independent JPEG Group's JPEG 
ii  libpango1.0-0      1.26.2-1              Layout and rendering of internatio
ii  libpng12-0         1.2.41-1              PNG library - runtime
ii  libraw1394-11      2.0.4-1               library for direct access to IEEE 
ii  libstdc++6         4.4.2-7               The GNU Standard C++ Library v3
ii  libswscale0        5:0.5+svn20091224-0.0 ffmpeg video scaling library
ii  libtiff4           3.9.2-1               Tag Image File Format (TIFF) libra
ii  pkg-config         0.22-1                manage compile and link flags for 
ii  zlib1g             1:1.2.3.4.dfsg-2      compression library - runtime

libcv-dev recommends no packages.

libcv-dev suggests no packages.

-- no debconf information

-- debsums errors found:
debsums: changed file /usr/include/opencv/cxcore.hpp (from libcv-dev package)
debsums: changed file /usr/include/opencv/cxmisc.h (from libcv-dev package)

filippo
-- 
Filippo Giunchedi - http://esaurito.net - 0x6B79D401

Everyone is entitled to his own opinion, but not his own facts.
-- Daniel Patrick Moynihan





More information about the Pkg-scicomp-devel mailing list