[Insight-users] Applications' compile error

Julien Jomier jjomier at cs . unc . edu
Wed, 1 Oct 2003 14:44:00 -0400


Hi Mauricio,

Can you try to add=20

#include <itkRegion.h>

just before

#include "UserInterface.h"

in the UserInterfaceLogic.h file.

Julien

> -----Original Message-----
> From: insight-users-admin at itk . org=20
> [mailto:insight-users-admin at itk . org] On Behalf Of Mauricio=20
> Caliggiuri Infor=E7ati
> Sent: Wednesday, October 01, 2003 2:36 PM
> To: ITK
> Subject: Re: [Insight-users] Applications' compile error
>=20
>=20
> Hi,
>=20
> I did read these mails before and even though I have posted=20
> this mail because these solutions did not resolv my problem.=20
> Can you help me?
>=20
> Em Qua, 2003-10-01 =E0s 14:42, Mathieu Malaterre escreveu:
> > Mauricio,
> >=20
> > 	Please be sure to search the ITK mailing first before posting a
> > question. It'll save you a lot of time:
> >=20
> >=20
> http://www . itk . org/pipermail/insight-users/2002-September/000975 . html
> > and=20
> > http://www . itk . org/pipermail/insight-users/2002-October/001300 . html
> >=20
> >=20
> > HTH
> > mathieu
> >=20
> > Mauricio Caliggiuri Infor=E7ati wrote:
> > > Hi.
> > > I'm trying to compile Insight Applications and can't get=20
> it on. The=20
> > > error occurs with tha SNAP application.
> > >=20
> > > I user Python2.3, tcl/tk8.4, vtk-4.2.2, fltk1.1.2 (rpm=20
> package) on a=20
> > > Conectiva9 linux distribution.
> > >=20
> > > Here is the output...
> > >=20
> > > 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=20
> > > /home/ailton/ITK/InsightApplications/SNAP/UserInterface.h:15,
> > >                  from=20
> > >=20
> /home/ailton/ITK/InsightApplications/SNAP/UserInterface/MainCo
> mponents/UserInterfaceLogic.h:18,
> > >                  from
> > >=20
> /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=20
> `typedef struct
> > >    _XRegion*Region' here
> > > /home/ailton/ITK/Insight/Code/Common/itkRegion.h:57:  =20
> also declared as
> > > `class
> > >    itk::Region' here
> > > /usr/X11R6/include/X11/Xutil.h:365: `Region' denotes an=20
> ambiguous type
> > > /usr/X11R6/include/X11/Xutil.h:365: confused by earlier=20
> errors, bailing
> > > out
> > > make[1]: ** [PreprocessingUILogic.o] Erro 1
> > > make: ** [default_target] Erro 2
> > >=20
> > >  Thanks for helping,
> > >=20
> > >    Mauricio Infor=E7ati
> > >=20
> > > _______________________________________________
> > > Insight-users mailing list
> > > Insight-users at itk . org=20
> > > http://www . itk . org/mailman/listinfo/insight-users
> > >=20
> >=20
>=20
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk . org=20
> http://www . itk . org/mailman/listinfo/insight-> users
>=20