[Insight-users] Core dump using InsightSNAP

Julien Jomier jjomier at cs.unc.edu
Wed Oct 20 17:45:51 EDT 2004


Hi Vince,

Please try again with the attached file...

Julien

> -----Original Message-----
> From: insight-users-bounces at itk.org 
> [mailto:insight-users-bounces at itk.org] On Behalf Of Vince Hradil
> Sent: Wednesday, October 20, 2004 5:41 PM
> To: insight-users at itk.org
> Subject: RE: [Insight-users] Core dump using InsightSNAP
> 
> 
> Now I'm getting a compile error:
> 
> Building object file Logic/Framework/SNAPImageData.o...
> In file included from
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.h:188,
>                  from
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:21:
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:183:
> error: no
>    `void SNAPLevelSetDriver<VDimension>::Restart()' member 
> function declared in
> 
>    class `SNAPLevelSetDriver<VDimension>'
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:183:
> error: template
>    definition of non-template `void 
> SNAPLevelSetDriver<VDimension>::Restart()'
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:197:
> error: no
>    `void SNAPLevelSetDriver<VDimension>::Run(unsigned int)' 
> member function 
>    declared in class `SNAPLevelSetDriver<VDimension>'
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:197:
> error: template
>    definition of non-template `void 
>    SNAPLevelSetDriver<VDimension>::Run(unsigned int)'
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:
> In
>    member function `void 
>    SNAPLevelSetDriver<VDimension>::DoCreateLevelSetFilter() 
> [with unsigned int 
>    VDimension = 3]':
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:72:
>   instantiated from
> `SNAPLevelSetDriver<VDimension>::SNAPLevelSetDriver(itk::Image<float,
> VDimension>*, itk::Image<float, VDimension>*, const 
> SnakeParameters&, typename
> SNAPLevelSetFunction<itk::Image<float, VDimension> 
> >::VectorImageType*) [with
> unsigned int VDimension = 3]'
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:556:
>   instantiated from here
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:175:
> error: `
>    SetManualReinitialization' undeclared (first use this function)
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:175:
> error: (Each
>    undeclared identifier is reported only once for each 
> function it appears 
>    in.)
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplication
> s-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:176:
> error: `
>    SetNumberOfIterations' undeclared (first use this function)
> make[3]: *** [Logic/Framework/SNAPImageData.o] Error 1
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_SNAP] Error 2
> make: *** [default_target] Error 2
> 
> 
> --- Julien Jomier <jjomier at cs.unc.edu> wrote:
> 
> > Hi Vince,
> > 
> > This bug was introduced by mistake in 1.8 and should be now 
> fixed in the
> > cvs. An easy fix is to uncomment the commented lines in
> > SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx
> > I've attached the file, you can just replace it in 
> SNAP/Logic/LevelSet/
> > 
> > Let us know if that was the problem,
> > 
> > Julien
> > 
> 
> 
> =====
> Vince 
> 
http://vincehradil.tripod.com

  O_/ 
_/| 
 _)\ 
'   \. o


		
_______________________________
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SNAPLevelSetDriver.txx
Type: application/octet-stream
Size: 12698 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/insight-users/attachments/20041020/3c38ca6e/SNAPLevelSetDriver-0001.obj


More information about the Insight-users mailing list