[Insight-users] Applications' compile error

Mauricio Caliggiuri Inforçati mauricio . inforcati at cenpra . gov . br
02 Oct 2003 12:57:44 -0300


Hi, Julien
Didn't work, either.
Can't it be a include order placed in FLTK include files?

  Mauricio


Em Qua, 2003-10-01 às 16:14, Julien Jomier escreveu:
> Hi Mauricio,
> 
> Let's try something else,
> Can you try to add
> 
> #include <itkRegion.h>
> 
> at the beginning of PreprocessingUILogic.h
> 
> Let me know,
> 
> Julien
> 
> > -----Original Message-----
> > From: Mauricio Caliggiuri Inforçati 
> > [mailto:mauricio . inforcati at cenpra . gov . br] 
> > Sent: Wednesday, October 01, 2003 3:07 PM
> > To: Julien Jomier
> > Subject: RE: [Insight-users] Applications' compile error
> > 
> > 
> > Hi, Julien
> > Didn't work!
> > I really think the problem is an include order but I just 
> > can't identify in wich file! Thanks for trying...
> >   Maurício Inforçati
> > 
> > Em Qua, 2003-10-01 às 15:44, Julien Jomier escreveu:
> > > Hi Mauricio,
> > > 
> > > Can you try to add
> > > 
> > > #include <itkRegion.h>
> > > 
> > > just before
> > > 
> > > #include "UserInterface.h"
> > > 
> > > in the UserInterfaceLogic.h file.
> > > 
> > > Julien
> > > 
> > > > -----Original Message-----
> > > > From: insight-users-admin at itk . org
> > > > [mailto:insight-users-admin at itk . org] On Behalf Of Mauricio 
> > > > Caliggiuri Inforçati
> > > > Sent: Wednesday, October 01, 2003 2:36 PM
> > > > To: ITK
> > > > Subject: Re: [Insight-users] Applications' compile error
> > > > 
> > > > 
> > > > Hi,
> > > > 
> > > > I did read these mails before and even though I have posted
> > > > this mail because these solutions did not resolv my problem. 
> > > > Can you help me?
> > > > 
> > > > Em Qua, 2003-10-01 às 14:42, Mathieu Malaterre escreveu:
> > > > > Mauricio,
> > > > > 
> > > > > 	Please be sure to search the ITK mailing first 
> > before posting a 
> > > > > question. It'll save you a lot of time:
> > > > > 
> > > > > 
> > > > 
> > http://www . itk . org/pipermail/insight-users/2002-September/000975 . htm
> > > > l
> > > > > and
> > > > > 
> > http://www . itk . org/pipermail/insight-users/2002-October/001300 . html
> > > > > 
> > > > > 
> > > > > HTH
> > > > > mathieu
> > > > > 
> > > > > Mauricio Caliggiuri Inforçati wrote:
> > > > > > Hi.
> > > > > > I'm trying to compile Insight Applications and can't get
> > > > it on. The
> > > > > > error occurs with tha SNAP application.
> > > > > > 
> > > > > > I user Python2.3, tcl/tk8.4, vtk-4.2.2, fltk1.1.2 (rpm
> > > > package) on a
> > > > > > Conectiva9 linux distribution.
> > > > > > 
> > > > > > Here is the output...
> > > > > > 
> > > > > > Building object file PreprocessingUILogic.o...
> > > > > > In file included from /usr/include/FL/x.H:45,
> > > > > >                  from /usr/include/FL/Fl_Image.H:29,
> > > > > >                  from /usr/include/FL/Fl_Menu_Item.H:30,
> > > > > >                  from /usr/include/FL/Fl_Menu_.H:32,
> > > > > >                  from /usr/include/FL/Fl_Choice.H:29,
> > > > > >                  from /usr/include/Fl/fl_file_chooser.h:11,
> > > > > >                  from
> > > > > > /home/ailton/ITK/InsightApplications/SNAP/UserInterface.h:15,
> > > > > >                  from 
> > > > > > 
> > > > /home/ailton/ITK/InsightApplications/SNAP/UserInterface/MainCo
> > > > mponents/UserInterfaceLogic.h:18,
> > > > > >                  from
> > > > > > 
> > > > 
> > /home/ailton/ITK/InsightApplications/SNAP/UserInterface/MainComponen
> > > > > > ts/PreprocessingUILogic.cxx:25:
> > > > > > /usr/X11R6/include/X11/Xutil.h:365: use of `Region' 
> > is ambiguous
> > > > > > /usr/X11R6/include/X11/Xutil.h:240:   first declared as 
> > > > `typedef struct
> > > > > >    _XRegion*Region' here
> > > > > > /home/ailton/ITK/Insight/Code/Common/itkRegion.h:57:   
> > > > also declared as
> > > > > > `class
> > > > > >    itk::Region' here
> > > > > > /usr/X11R6/include/X11/Xutil.h:365: `Region' denotes an
> > > > ambiguous type
> > > > > > /usr/X11R6/include/X11/Xutil.h:365: confused by earlier
> > > > errors, bailing
> > > > > > out
> > > > > > make[1]: ** [PreprocessingUILogic.o] Erro 1
> > > > > > make: ** [default_target] Erro 2
> > > > > > 
> > > > > >  Thanks for helping,
> > > > > > 
> > > > > >    Mauricio Inforçati
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Insight-users mailing list
> > > > > > Insight-users at itk . org
> > > > > > http://www . itk . org/mailman/listinfo/insight-users
> > > > > > 
> > > > > 
> > > > 
> > > > _______________________________________________
> > > > Insight-users mailing list
> > > > Insight-users at itk . org
> > > > http://www . itk . org/mailman/listinfo/insight-> users
> > > > 
> > > 
> > > 
> > > 
> > 
> 
> 
>