[Insight-users] Applications' compile error

Mauricio Caliggiuri Inforçati mauricio . inforcati at cenpra . gov . br
01 Oct 2003 14:51:07 -0300


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