[Insight-users] fixes for Borland build of /Auxiliary

Luis Ibanez luis.ibanez@kitware.com
Tue, 01 Oct 2002 10:08:07 -0400


Hi Dean,

Thanks for the detailed report.
I'll make this changes later today.

Luis.

===================================

dean.inglis@on.aibn.com wrote:

>Hi,
>
>after tinkering for a bit, I've got Auxiliary built
>but could someone check these suggested changes,
>and, if correct,  commit them?
>
>1) /Auxiliary/CMakeLists.txt - add 
>     IF (WIN32)
>      ADD_DEFINITIONS (-DWIN32)
>     ENDIF (WIN32)
>before
>  INCLUDE_DIRECTORIES(
>     ${ITK_SOURCE_DIR}/Auxiliary/FltkImageViewer
>     ${ITK_BINARY_DIR}/Auxiliary/FltkImageViewer
>     ${FLTK_INCLUDE_PATH}
>     )
>to fix the WINGDIAPI declaration pb.
>
>2) Auxiliary/fltkTimeProbesCollectorGUI.h - add
>using namespace itk;
>before the class definition:
>class TimeProbesCollectorGUI : public
>itk::TimeProbesCollectorBase {
>
>3) Borland doesn't like un-named typedef enums:
>  typedef enum{
>   BLAH_1,
>   BLAH_2  
>  };
>should be 
>  typedef enum{
>   BLAH_1,
>   BLAH_2  
>  } blahs;
>so, in /Auxialiary/fltkImageViewer/
>fltkRGBImage2DViewerWindow.cxx ~ line 418
>and
>fltkImage2DViewerWindow.cxx ~ line 449
>the typedef enums should be named.
>
>Then the building of examples will continue until
>a crash at /Examples/ITKRegistrationLib ...
>
>getting closer, closer ...
>
>regards,
>Dean
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users@public.kitware.com
>http://public.kitware.com/mailman/listinfo/insight-users
>