[Insight-developers] Borland compiler
Miller, James V (CRD)
millerjv@crd.ge.com
Fri, 1 Feb 2002 15:35:51 -0500
I agree that you should be able to tell ITK not to look for VTK.
I was able to get the compiler going. I had to blow away the build directory.
This seemed to work:
Run CMakeSetup.
Select Insight source tree
Assign an Insight build tree
SELECT GENERATE BORLAND MAKEFILES BEFORE HITTING CONFIGURE!!!!
Then configure, etc.
It seems like if a build tree ever gets set to DevStudio settings
it is hard to back that out.
-----Original Message-----
From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
Sent: Friday, February 01, 2002 3:29 PM
To: Miller, James V (CRD)
Cc: insight-Developers
Subject: RE: [Insight-developers] Borland compiler
It may be a VTK version problem. The UseVTK.cmake file is actually part
of VTK and not CMake. I am using the current VTK cvs.
Also, I guess there is a problem with Insights cmake list files.
Perhaps there should be an option to force it NOT to use VTK even if it finds one.
-Bill
At 03:24 PM 2/1/2002 -0500, Miller, James V (CRD) wrote:
>I am using 1.2 patch 2.
>
>-----Original Message-----
>From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
>Sent: Friday, February 01, 2002 3:24 PM
>To: Miller, James V (CRD); insight-developers@public.kitware.com
>Subject: RE: [Insight-developers] Borland compiler
>
>
>What version of cmake are you using?
>
>I had the same problem, but once I told it to use the borland built VTK,
>it was able to switch and get the right compiler flags.
>
>I just tested it with cmake version 1.2 patch 2.
>Can you check for updates for your cmake?
>
>
>-Bill
>
>
>At 02:53 PM 2/1/2002 -0500, Miller, James V (CRD) wrote:
>>Gee, I sure would like to try this compiler but can't get CMake
>>to generate the right makefiles.
>>
>>CMake keeps finding my VC++ build of VTK and sets all the Insight
>>settings to match that.
>>
>>So I set of VTK build using BCC.
>>
>>Now when running CMake on Insight, it says that "VTK can be on your system
>>in several forms..." and despite having the BCC version selected in CMakeSetup
>>CMakeSetup falls back to writing DevStudio project files. I reselect Borland
>>Makefiles, reconfigure, and it says "VTK can be on ...." and defaults back to
>>DevStudio settings.
>>
>>Borland makefiles get generated but they have VC++ compiler and link options
>>
>>
>>
>>-----Original Message-----
>>From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
>>Sent: Thursday, January 31, 2002 4:26 PM
>>To: Miller, James V (CRD); insight-developers@public.kitware.com
>>Subject: RE: [Insight-developers] Borland compiler
>>
>>
>>I can try it in the morning.
>>
>>If anyone wants to try this compiler, it is free.
>>You can get it from here:
>>http://www.borland.com/bcppbuilder/freecompiler/cppc55steps.html
>>
>>
>>It seems quite fast.
>>
>>-Bill
>>
>>At 03:06 PM 1/31/02 -0500, Miller, James V (CRD) wrote:
>>
>>>Bill,
>>>
>>>At line 64 of Code/Common/itkScaleTransform.h could you break the enum
>>>into two
>>>enums, i.e. instead of
>>>
>>>enum { SpaceDimension = NDimensions, ParameterDimension = NDimensions };
>>>
>>>make it
>>>
>>>enum { SpaceDimension = NDimensions };
>>>enum { ParameterDimension = NDimensions };
>>>
>>>and then rebuild
>>>
>>>Testing/Code/Common/itkScaleTransformTest.cxx
>>>
>>>to see if that fixes the errors on the ScaleTransformTest.
>>>
>>>It looks like the Borland compiler is having troubles following a series of
>>>enums and typedefs down into a function parameter.
>>>
>>>Jim
>>>
>>>-----Original Message-----
>>>From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
>>>Sent: Thursday, January 31, 2002 2:38 PM
>>>To: insight-developers@public.kitware.com
>>>Subject: [Insight-developers] Borland compiler
>>>
>>>
>>>I ran an experimental dashboard for the borland compiler.
>>>There are quite a few errors. Could people take a look and
>>>see if there are any that are easy to fix?
>>>
>>>I will start running a nightly dashboard for this compiler.
>>>
>>>
>>>-Bill
>>>
>>>_______________________________________________
>>>Insight-developers mailing list
>>>Insight-developers@public.kitware.com
>>>http://public.kitware.com/mailman/listinfo/insight-developers
>>_______________________________________________
>>Insight-developers mailing list
>>Insight-developers@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-developers