[Insight-users] Applications' compile error

Mathieu Malaterre Mathieu . Malaterre at creatis . insa-lyon . fr
Wed, 01 Oct 2003 19:42:38 +0200


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 . html
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/MainComponents/UserInterfaceLogic.h:18,
>                  from
> /home/ailton/ITK/InsightApplications/SNAP/UserInterface/MainComponents/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
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www . creatis . insa-lyon . fr/~malaterre/