[Insight-developers] WatershedSegmentation

Lorensen, William E (CRD) lorensen@crd.ge.com
Mon, 17 Dec 2001 10:00:49 -0500


Josh,
I now have the Watershed running on Windows. Turns out, that within a namespace, you can't refer to a
class using the namespace itk. Unfortuantely, rather than report an error, the MS Compiler crashed. I
replaced itk::Image (and other itk:: references) with Image abd it worked fine. All of the other
compilers seem fine with it now.

Also, I had to remove some typenames from the .txx file.

Bill

-----Original Message-----
From: Bill Lorensen [mailto:wlorens1@nycap.rr.com]
Sent: Sunday, December 16, 2001 7:58 AM
To: Aljaz Noe; Insight-Developers
Subject: Re: [Insight-developers] FEM code updated


Aljaz,
I changed some #include <cmath> -> #include "vnl/vnl_math.h".

However, there is still trouble with cassert and exception handling on the SGIs.

You're getting close,

Bill

At 09:47 PM 12/14/01 -0500, Aljaz Noe wrote:
>Hi!
> 
>I checked-in updated FEM classes. Hopefully now they will compile on SGI machines.
> 
>Additionally I removed the "ADD_DEPENDENCIES(FEM VXLNumerics)" from the CMakeLists.txt file. Maybe
this was the reason that CMake didn't work.
> 
>I saw that no other library uses ADD_DEPENDENCIES. Can somebody explain this keyword in CMake? It
seemed pretty obvious to me, but now I'm not sure anymore...
> 
>Aljaz
> 


_______________________________________________
Insight-developers mailing list
Insight-developers@public.kitware.com
http://public.kitware.com/mailman/listinfo/insight-developers