[Insight-users] trying Borland build of itk

Miller, James V (Research) millerjv@crd.ge.com
Wed, 18 Sep 2002 10:10:22 -0400


Last week I put in a number of changes to ITK to support the Borland compiler. I haven't gotten to
the Examples or Auxiliary yet.

The "rule line too long" will be fixed by the next patch to CMake which should be
out this week.  You can get around it a bit by using "nmake" (if you have it).

After this, you'll probably hit the problem that I am trying to address now which
is something like "command too long". Again it occurs in building the BasicFiltersTests. But I
haven't been able to determine whether this is just a 
problem with my system configuration (stack space or what not). Again, I got around
this one by using nmake.

There is a Borland Nightly submission going to the Dashboard 

http://public.kitware.com/Insight/Testing/HTML/TestingResults/Dashboard/MostRecentResults-Nightly/Das
hboard.html

so we'll be able to track Borland compatibility issues.

Jim


> -----Original Message-----
> From: dean.inglis@on.aibn.com [mailto:dean.inglis@on.aibn.com]
> Sent: Sunday, September 15, 2002 9:40 PM
> To: insight-users@public.kitware.com
> Subject: [Insight-users] trying Borland build of itk
> 
> 
> 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
> 
> 
> 
> 
> _______________________________________________
> Insight-users mailing list
> Insight-users@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-users
>