[Insight-users] trying Borland build of itk

dean.inglis@on.aibn.com dean.inglis@on.aibn.com
Sun, 15 Sep 2002 21:39:58 -0400


Hi,

I've been waiting a long time to build itk with the
Borland compiler ... hopefully progress will
continue and I am offering a Win2k Borland bcc32 
experimental build to assist (I have two for VTK).

So far, 
BUILD_AUXILIARY:BOOL=OFF
BUILD_DOXYGEN:BOOL=ON
BUILD_EXAMPLES:BOOL=OFF
BUILD_FEM_CODE:BOOL=OFF
BUILD_TESTING:BOOL=OFF

gets me 

609792 Sep 15 20:56 ITKAlgorithms.lib
203264 Sep 15 20:56 ITKBasicFilters.lib
5046272 Sep 15 20:56 ITKCommon.lib
3566592 Sep 15 20:56 ITKIO.lib
3658240 Sep 15 20:55 ITKNumerics.lib
103424 Sep 15 20:56 ITKStatistics.lib
2019840 Sep 15 20:55 MetaIO.lib
18020864 Sep 15 20:56 VXLNumerics.lib
542720 Sep 15 20:55 itkpng.lib
150528 Sep 15 20:55 itkzlib.lib

adding in auxiliary conks out on two files:
Auxiliary\FltkImageViewer\fltkImage2DViewerWindow.cxx
454: Need an identifier to declare in function
Image2DViewerWindow::handlePopUpMenu()
Auxiliary\FltkImageViewer\fltkRGBImage2DViewerWindow.cxx:
Auxiliary\FltkImageViewer\fltkRGBImage2DViewerWindow.cxx 
423: Need an identifier to declare in function
RGBImage2DViewerWindow::handlePopUpMenu()

due to the typedef enum's, which for Borland req's

typedef enum{
blah1,
blah2
} a_name_for_the_enum;

fixing and moving on gives:

Auxiliary\FltkImageViewer\fltkTimeProbesCollector.cxx
44: Qualifier 'TimeProbesCollectorBase' is not a
class or namespace name in function
TimeProbesCollector::Clear()

which I don't know how to fix off hand.
Switching to 
BUILD_TESTING:BOOL=ON

gives me
50176 Sep 15 21:32 itkCommonHeaderTest.exe
1869312 Sep 15 21:32 itkCommonTests.exe
50176 Sep 15 21:31 itkNumericsHeaderTest.exe
498176 Sep 15 21:31 itkNumericsTests.exe
536576 Sep 15 21:31 itkStatisticsTests.exe
989184 Sep 15 21:31 vnlTests.exe

and the error that killed the build:
c:\Builder\CMake_1.4.3\Source\cmake.exe -
Sc:\Builder\Insight\Testing\Code\BasicFilters -
Oc:\Builder\Insight\Testing\Code\BasicFilters -
Hc:\Builder\Insight -Bc:\Builder\Insight
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
Fatal cmake.check_depends 547: Rule line too long

hope this is helpful,
Dean