Bug#721893: visp: FTBFS with opencv 2.4

Nobuhiro Iwamatsu iwamatsu at nigauri.org
Thu Sep 5 04:03:58 UTC 2013


Package: visp
Version: 2.7.0-4
Severity: wishlist

Dear Maintainer,

I will update opencv 2.3 to 2.4.
I checked building visp package with opencv 2.4, and this FTBFS.

-----
In file included from
/tmp/buildd/visp-2.7.0/src/computer-vision/homography-estimation/vpHomographyRansac.cpp:21:0:
/tmp/buildd/visp-2.7.0/obj-x86_64-linux-gnu/include/visp/vpRansac.h:
In static member function 'static bool
vpRansac<vpTransformation>::ransac(unsigned int, vpColVector&,
unsigned int, double, vpColVector&, vpColVector&, int, double, int)':
/tmp/buildd/visp-2.7.0/obj-x86_64-linux-gnu/include/visp/vpRansac.h:168:41:
error: there are no arguments to 'time' that depend on a template
parameter, so a declaration of 'time' must be available [-fpermissive]
   vpUniRand random((const long)time(NULL)) ;
                                         ^
/tmp/buildd/visp-2.7.0/obj-x86_64-linux-gnu/include/visp/vpRansac.h:168:41:
note: (if you use '-fpermissive', G++ will accept your code, but
allowing the use of an undeclared name is deprecated)
/tmp/buildd/visp-2.7.0/obj-x86_64-linux-gnu/include/visp/vpRansac.h:
In instantiation of 'static bool
vpRansac<vpTransformation>::ransac(unsigned int, vpColVector&,
unsigned int, double, vpColVector&, vpColVector&, int, double, int)
[with vpTransformation = vpHomography]':
/tmp/buildd/visp-2.7.0/src/computer-vision/homography-estimation/vpHomographyRansac.cpp:280:45:
  required from here
/tmp/buildd/visp-2.7.0/obj-x86_64-linux-gnu/include/visp/vpRansac.h:168:41:
error: 'time' was not declared in this scope
make[4]: *** [src/CMakeFiles/visp.dir/computer-vision/homography-estimation/vpHomographyRansac.cpp.o]
Error 1
-----

I attached full build log.
Could you check your package?

Beste regards,
  Nobuhiro

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

Kernel: Linux 3.10-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visp_2.7.0-4_amd64.build
Type: application/octet-stream
Size: 221355 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20130905/06143c5f/attachment-0001.obj>


More information about the debian-science-maintainers mailing list