[Insight-users] Core dump using InsightSNAP
Luis Ibanez
luis.ibanez at kitware.com
Wed Oct 20 17:46:24 EDT 2004
Hi Vince,
How did you updated your CVS checkout ?
It seems that you are getting an inconsistent snapshot of the code.
Note that you must CVS update both ITK and InsightApplications and
make sure that you use the -A flag in order to remove sticky tags.
Regards,
Luis
-------------------
Vince Hradil wrote:
> Now I get a compile error:
>
> Building object file Logic/Framework/SNAPImageData.o...
> In file included from
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.h:188,
> from
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:21:
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-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/InsightApplications-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/InsightApplications-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/InsightApplications-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/InsightApplications-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/InsightApplications-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/InsightApplications-1.8.0/SNAP/Logic/Framework/SNAPImageData.cxx:556:
> instantiated from here
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-1.8.0/SNAP/Logic/LevelSet/SNAPLevelSetDriver.txx:175:
> error: `
> SetManualReinitialization' undeclared (first use this function)
> /amd_mnt/homes/hradilv/src/SNAP/basedir/app/InsightApplications-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/InsightApplications-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
>
>
More information about the Insight-users
mailing list