[Insight-developers] SNAP Build Error w/ GCC 3.4

Leila Baghdadi baghdadi at sickkids.ca
Fri Sep 1 13:52:04 EDT 2006


Hmm, I have seen messages like this before with different codes However
I do not see any problems with SNAP as I have gcc 4.
SHAYAN:@camelot:[~]gcc --version
gcc (GCC) 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)

I am afraid Karthik is right, you either have to use valgrind and figure
out where the problem is 
or you could update your compiler not sure if that is easy for you.

Leila

On Fri, 2006-01-09 at 13:46 -0400, Karthik Krishnan wrote:
> That's bad. Is this a linux machine ? If so, please run the same thing as :
> 
>    valgrind ./InsightSNAP
> 
> and it should tell you where you have leaks.
> 
> -karthik
> 
> John Melonakos wrote:
> 
> >Hi,
> >
> >Thanks for you help Leila.  I followed your advice and was able to build
> >SNAP.  However, now I'm getting the following runtime error:
> >
> >[meg] ./InsightSNAP
> >*** glibc detected *** malloc(): memory corruption: 0x0a05bdc0 ***
> >Aborted
> >
> >Any ideas as to what may be causing this?  I've temporarily placed my
> >CMakeCache.txt file at:
> >http://www.bme.gatech.edu/groups/minerva/publications/papers/CMakeCache.txt
> >
> >Thanks,
> >
> >John
> >
> >
> >-----Original Message-----
> >From: Leila Baghdadi [mailto:baghdadi at sickkids.ca] 
> >Sent: Monday, August 28, 2006 2:48 PM
> >To: jmelonak at ece.gatech.edu
> >Cc: insight-developers at itk.org
> >Subject: Re: [Insight-developers] SNAP Build Error w/ GCC 3.4
> >
> >Hello John,
> >
> >I think what the error message is saying is,
> >
> >your fltk is a bit old i.e, it does not have the member hotspot
> >
> >try using
> > fltk -1.1.7
> >
> >and you should be fine,
> >
> >I just build InsightApplications and SNAP did not have any problems
> >
> >HTH
> >
> >Leila
> >
> >On Mon, 2006-28-08 at 14:36 -0400, jmelonak at ece.gatech.edu wrote:
> >  
> >
> >>Hello,
> >>
> >>I'm trying to build ITK SNAP with GCC3.4.  I've tried building the CVS,
> >>2.8.1, and 2.6.0 versions of SNAP and get the same error (below) in all
> >>versions. I'm using the following packages, which all built without error:
> >>
> >>FLTK-1.1
> >>tcl8.4.1
> >>tk8.4.1
> >>VTK CVS
> >>ITK CVS
> >>
> >>==========================
> >>The error:
> >>
> >>
> >>[ 68%] Building CXX object SNAP/CMakeFiles/itksnapui.dir/ImageIOWizard.o
> >>/local/bin/InsightApplicationsBinGCC3.4/SNAP/ImageIOWizard.cxx: In member
> >>function `virtual void ImageIOWizard::MakeWindow()':
> >>/local/bin/InsightApplicationsBinGCC3.4/SNAP/ImageIOWizard.cxx:6179:
> >>error: 'class Fl_Button' has no member named 'hotspot'
> >>make[2]: *** [SNAP/CMakeFiles/itksnapui.dir/ImageIOWizard.o] Error 1
> >>make[1]: *** [SNAP/CMakeFiles/itksnapui.dir/all] Error 2
> >>make: *** [all] Error 2
> >>
> >>
> >>==========================
> >>
> >>Any ideas?
> >>
> >>Thanks,
> >>
> >>John
> >>
> >>
> >>_______________________________________________
> >>Insight-developers mailing list
> >>Insight-developers at itk.org
> >>http://www.itk.org/mailman/listinfo/insight-developers
> >>    
> >>
> >
> >
> >_______________________________________________
> >Insight-developers mailing list
> >Insight-developers at itk.org
> >http://www.itk.org/mailman/listinfo/insight-developers
> >
> >  
> >
> _______________________________________________
> Insight-developers mailing list
> Insight-developers at itk.org
> http://www.itk.org/mailman/listinfo/insight-developers



More information about the Insight-developers mailing list