Your message dated Wed, 23 May 2012 04:47:28 +0000
with message-id <[email protected]>
and subject line Bug#673768: fixed in insighttoolkit 3.20.1+git20120521-1
has caused the Debian Bug report #673768,
regarding error: 'PropagationSpeed' was not declared in this scope
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
673768: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673768
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libinsighttoolkit3-dev
Version: 3.20.1-8

vmtk depends on itk and when trying to build the latest vmtk release,
the build ends with the following error:

In file included from
/usr/include/InsightToolkit/Algorithms/itkCurvesLevelSetImageFilter.h:21:0,
                 from
/tmp/buildd/vmtk-1.0.0/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.h:36,
                 from
/tmp/buildd/vmtk-1.0.0/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.cxx:26:
/usr/include/InsightToolkit/Algorithms/itkCurvesLevelSetFunction.h: In
instantiation of 'itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::ScalarValueType
itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::CurvatureSpeed(const NeighborhoodType&, const
FloatOffsetType&, itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::GlobalDataStruct*) const [with TImageType =
itk::Image<float, 3u>; TFeatureImageType = itk::Image<float, 3u>;
itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::ScalarValueType = float;
itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::NeighborhoodType =
itk::ConstNeighborhoodIterator<itk::Image<float, 3u>,
itk::ZeroFluxNeumannBoundaryCondition<itk::Image<float, 3u> > >;
itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::FloatOffsetType = itk::Vector<float, 3u>;
itk::CurvesLevelSetFunction<TImageType,
TFeatureImageType>::GlobalDataStruct =
itk::LevelSetFunction<itk::Image<float, 3u> >::GlobalDataStruct]':
/tmp/buildd/vmtk-1.0.0/vtkVmtk/Segmentation/vtkvmtkCurvesLevelSetImageFilter.cxx:30:470:
  required from here
/usr/include/InsightToolkit/Algorithms/itkCurvesLevelSetFunction.h:102:55:
error: 'PropagationSpeed' was not declared in this scope, and no
declarations were found by argument-dependent lookup at the point of
instantiation [-fpermissive]

Patching itk with the following patch fixes the problem:

diff -Nru insighttoolkit-3.20.1.orig/Code/Algorithms/itkCurvesLevelSetFunction.h
insighttoolkit-3.20.1/Code/Algorithms/itkCurvesLevelSetFunction.h
--- insighttoolkit-3.20.1.orig/Code/Algorithms/itkCurvesLevelSetFunction.h      
2012-05-21
11:35:54.903313319 +0200
+++ insighttoolkit-3.20.1/Code/Algorithms/itkCurvesLevelSetFunction.h   
2012-05-21
11:38:06.255318757 +0200
@@ -99,7 +99,7 @@
   /** The curvature speed is same as the propagation speed. */
   virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
                                          const FloatOffsetType &
offset, GlobalDataStruct *gd ) const
-  { return PropagationSpeed( neighborhood, offset, gd ); }
+  { return this->PropagationSpeed( neighborhood, offset, gd ); }

   /** Set/Get the sigma for the Gaussian kernel used to compute the gradient
    * of the feature image needed for the advection term of the equation. */

This patch was also suggested in #667411 [1] but it was not included
in the 3.20.1-8 upload.

Below is also a patch that fixes a few more of the same issue, however
this does not affect the vmtk build.

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667411

Thanks,

Johannes

diff -Nru 
insighttoolkit-3.20.1.orig/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h
insighttoolkit-3.20.1/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h
--- 
insighttoolkit-3.20.1.orig/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h
     2012-05-21
11:35:54.903313319 +0200
+++ 
insighttoolkit-3.20.1/Code/Algorithms/itkGeodesicActiveContourShapePriorLevelSetFunction.h
  2012-05-21
11:43:41.231332621 +0200
@@ -130,7 +130,7 @@
   /** The curvature speed is same as the propagation speed. */
   virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
                                          const FloatOffsetType &
offset, GlobalDataStruct *gd ) const
-    { return PropagationSpeed( neighborhood, offset, gd ); }
+    { return this->PropagationSpeed( neighborhood, offset, gd ); }

   /** Set/Get the sigma for the Gaussian kernel used to compute the gradient
    * of the feature image needed for the advection term of the equation. */
diff -Nru 
insighttoolkit-3.20.1.orig/Code/Algorithms/itkShapeDetectionLevelSetFunction.h
insighttoolkit-3.20.1/Code/Algorithms/itkShapeDetectionLevelSetFunction.h
--- 
insighttoolkit-3.20.1.orig/Code/Algorithms/itkShapeDetectionLevelSetFunction.h  
    2012-05-21
11:35:54.907313320 +0200
+++ insighttoolkit-3.20.1/Code/Algorithms/itkShapeDetectionLevelSetFunction.h   
2012-05-21
11:44:02.031333482 +0200
@@ -103,7 +103,7 @@
   /** The curvature speed is same as the propagation speed. */
   virtual ScalarValueType CurvatureSpeed(const NeighborhoodType & neighborhood,
                                          const FloatOffsetType &
offset, GlobalDataStruct *gd ) const
-  { return PropagationSpeed( neighborhood, offset, gd ); }
+  { return this->PropagationSpeed( neighborhood, offset, gd ); }

   virtual void Initialize(const RadiusType &r)
     {



--- End Message ---
--- Begin Message ---
Source: insighttoolkit
Source-Version: 3.20.1+git20120521-1

We believe that the bug you reported is fixed in the latest version of
insighttoolkit, which is due to be installed in the Debian FTP archive:

insighttoolkit3-examples_3.20.1+git20120521-1_all.deb
  to main/i/insighttoolkit/insighttoolkit3-examples_3.20.1+git20120521-1_all.deb
insighttoolkit_3.20.1+git20120521-1.debian.tar.gz
  to main/i/insighttoolkit/insighttoolkit_3.20.1+git20120521-1.debian.tar.gz
insighttoolkit_3.20.1+git20120521-1.dsc
  to main/i/insighttoolkit/insighttoolkit_3.20.1+git20120521-1.dsc
insighttoolkit_3.20.1+git20120521.orig.tar.bz2
  to main/i/insighttoolkit/insighttoolkit_3.20.1+git20120521.orig.tar.bz2
libinsighttoolkit3-dev_3.20.1+git20120521-1_amd64.deb
  to main/i/insighttoolkit/libinsighttoolkit3-dev_3.20.1+git20120521-1_amd64.deb
libinsighttoolkit3.20_3.20.1+git20120521-1_amd64.deb
  to main/i/insighttoolkit/libinsighttoolkit3.20_3.20.1+git20120521-1_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Steve M. Robbins <[email protected]> (supplier of updated insighttoolkit package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 22 May 2012 22:54:09 -0500
Source: insighttoolkit
Binary: libinsighttoolkit3.20 libinsighttoolkit3-dev insighttoolkit3-examples
Architecture: source amd64 all
Version: 3.20.1+git20120521-1
Distribution: unstable
Urgency: low
Maintainer: Debian Med Packaging Team 
<[email protected]>
Changed-By: Steve M. Robbins <[email protected]>
Description: 
 insighttoolkit3-examples - Image processing toolkit for registration and 
segmentation - exam
 libinsighttoolkit3-dev - Image processing toolkit for registration and 
segmentation - deve
 libinsighttoolkit3.20 - Image processing toolkit for registration and 
segmentation - runt
Closes: 673768 673816
Changes: 
 insighttoolkit (3.20.1+git20120521-1) unstable; urgency=low
 .
   * New upstream.  Includes many GCC 4.7 fixes.  Closes: #673816, #673768.
 .
   * patches/ftbfs-gcc-4.7.diff: remove.
Checksums-Sha1: 
 b1114f84e090a5c89ea1530fbe65f50a3ba6116d 1857 
insighttoolkit_3.20.1+git20120521-1.dsc
 2a9d31603cdd91c14bd333dc31d8d74fc54b9ff9 10052099 
insighttoolkit_3.20.1+git20120521.orig.tar.bz2
 4f49712385c7c39279568ae7b2122d6ad4749d1f 29427 
insighttoolkit_3.20.1+git20120521-1.debian.tar.gz
 246db1275daf4b97eadd715e2e7297e1d76e6d5c 4484846 
libinsighttoolkit3.20_3.20.1+git20120521-1_amd64.deb
 daf74b97cef2def1c5c265a43f99689d22747165 4939596 
libinsighttoolkit3-dev_3.20.1+git20120521-1_amd64.deb
 5a6691063c7cb145550f3a7101290a5c08349d80 2498704 
insighttoolkit3-examples_3.20.1+git20120521-1_all.deb
Checksums-Sha256: 
 9eb48cf5b9ef16fecbf791a6159aacd0c45382433d92affc5ee62ebc052f019c 1857 
insighttoolkit_3.20.1+git20120521-1.dsc
 5a22543e8c1feb1872499e8b9261b3b4f5c13de2ce51f0bcb1c157a83e1bca67 10052099 
insighttoolkit_3.20.1+git20120521.orig.tar.bz2
 5b45df6b67f1d6de9567d2b1b76005e8d2202a67fffff8c97c7297774f5e4e99 29427 
insighttoolkit_3.20.1+git20120521-1.debian.tar.gz
 1bea28f27f7e55afe5f161beb250ff4dda36b06f7e6caa79d502d1936082453c 4484846 
libinsighttoolkit3.20_3.20.1+git20120521-1_amd64.deb
 df6be28ad1a3e7696fca07a764d2103ca4cd83de4ca5ce29f468609528542b64 4939596 
libinsighttoolkit3-dev_3.20.1+git20120521-1_amd64.deb
 c84d10bee536a90466791b0c383f246dead827e2bca86f8a901285d0eba531e4 2498704 
insighttoolkit3-examples_3.20.1+git20120521-1_all.deb
Files: 
 6815938f06254fa76b6cc5d0febecd85 1857 science optional 
insighttoolkit_3.20.1+git20120521-1.dsc
 2dfb2a0f3797c8ea56afff95aa79ac69 10052099 science optional 
insighttoolkit_3.20.1+git20120521.orig.tar.bz2
 538edd3a3b30e07414eba9d28bf3fae7 29427 science optional 
insighttoolkit_3.20.1+git20120521-1.debian.tar.gz
 9d9e192d53c885539f1ad6ee6270bbd2 4484846 libs optional 
libinsighttoolkit3.20_3.20.1+git20120521-1_amd64.deb
 07a959ac82ec37a4301e6e71548f4b7d 4939596 libdevel optional 
libinsighttoolkit3-dev_3.20.1+git20120521-1_amd64.deb
 5eb1fc046c61361a68988b8f4007661e 2498704 devel optional 
insighttoolkit3-examples_3.20.1+git20120521-1_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iD8DBQFPvGgl0i2bPSHbMcURAjWzAKCX+PxoS87crYDOm6SgQESdHiV+NgCdH5MW
hjjaY0w3E43ERuVtxoApPPI=
=+tGt
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to