[Insight-users] ITK and OSX

Robb Brown brownr@ucalgary.ca
Tue, 26 Feb 2002 09:46:48 -0700


--============_-1197380487==_ma============
Content-Type: text/plain; charset="us-ascii" ; format="flowed"

Yes, please send me the header files.  I'll see how far I can 
convince ITK (or parts of it) to compile.

Thanks,

Robb


>Robb,
>
>Bill Hoffman is correct in that there are several, some yet 
>unsolved, problems with building ITK on OSX.  The exact one you 
>describe is an Apple bug (or mistake), they simply forgot to put the 
>valarray headers in the distribution.  So, if you get the files and 
>put the valarray header files in /usr/include/gcc/darwin/2.95.2/g++ 
>you will hopefully get around the one problem you describe.
>If you want I can mail you the valarray header files.
>But, as Bill pointed out, this will not solve all the problems on OSX.
>
>Regards
>Jon
>
>On Monday, February 25, 2002, at 11:39 PM, Robb Brown wrote:
>
>>
>>I convinced ITK to compile on OSX without the examples.  Trying to 
>>build the examples though, gives an error:
>>
>>Insight/Code/Common/itkSliceIterator.h:22: valarray: No such file 
>>or directory
>>
>>when compiling the MIregistration example.  Sure enough, the 
>>compiler can't find valarray.h.  What is it?
>>
>>-- ______________________________
>>Robb Brown
>>Seaman Family MR Research Centre
>>Calgary, Alberta, Canada
>>_______________________________________________
>>Insight-users mailing list
>>Insight-users@public.kitware.com
>>http://public.kitware.com/mailman/listinfo/insight-users
>>
>>
>========================================================
>Jon Harald Kaspersen			Tel:		+47 73 59 75 89
>Ph.D. Mechanical Engineering		Mob:		+47 93 03 65 90
>Senior Scientist				Pager	+47 96 84 29 94
>SINTEF Unimed - Ultralyd		Fax:		+47 73 59 78 73
>N-7465 Trondheim
>NORWAY			e-mail:	Jon.H.Kaspersen@unimed.sintef.no
>				WEB:	http://www.us.unimed.sintef.no/
>========================================================


-- 
______________________________
Robb Brown
Seaman Family MR Research Centre
Calgary, Alberta, Canada
--============_-1197380487==_ma============
Content-Type: text/html; charset="us-ascii"

<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: [Insight-users] ITK and
OSX</title></head><body>
<div>Yes, please send me the header files.&nbsp; I'll see how far I
can convince ITK (or parts of it) to compile.</div>
<div><br></div>
<div>Thanks,</div>
<div><br></div>
<div>Robb</div>
<div><br></div>
<div><br></div>
<blockquote type="cite" cite>Robb,</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Bill Hoffman is correct in that there are
several, some yet unsolved, problems with building ITK on OSX.&nbsp;
The exact one you describe is an Apple bug (or mistake), they simply
forgot to put the valarray headers in the distribution.&nbsp; So, if
you get the files and put the valarray header files in
/usr/include/gcc/darwin/2.95.2/g++ you will hopefully get around the
one problem you describe.</blockquote>
<blockquote type="cite" cite>If you want I can mail you the valarray
header files.</blockquote>
<blockquote type="cite" cite>But, as Bill pointed out, this will not
solve all the problems on OSX.</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>Regards</blockquote>
<blockquote type="cite" cite>Jon</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>On Monday, February 25, 2002, at 11:39
PM, Robb Brown wrote:</blockquote>
<blockquote type="cite" cite><br>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>I convinced ITK to compile on OSX without
the examples.&nbsp; Trying to build the examples though, gives an
error:</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite"
cite>Insight/Code/Common/itkSliceIterator.h:22: valarray: No such file
or directory</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>when compiling the MIregistration
example.&nbsp; Sure enough, the compiler can't find valarray.h.&nbsp;
What is it?</blockquote>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite>--
______________________________</blockquote>
<blockquote type="cite" cite>Robb Brown</blockquote>
<blockquote type="cite" cite>Seaman Family MR Research
Centre</blockquote>
<blockquote type="cite" cite>Calgary, Alberta, Canada</blockquote>
<blockquote type="cite"
cite>_______________________________________________</blockquote>
<blockquote type="cite" cite>Insight-users mailing list</blockquote>
<blockquote type="cite"
cite>Insight-users@public.kitware.com</blockquote>
<blockquote type="cite"
cite>http://public.kitware.com/mailman/listinfo/insight-users</blockquote
>
<blockquote type="cite" cite><br></blockquote>
<blockquote type="cite" cite><br></blockquote>
</blockquote>
<blockquote type="cite"
cite>========================================================</blockquote
>
<blockquote type="cite" cite>Jon Harald Kaspersen<x-tab>&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Tel:<x-tab>&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>+47
73 59 75 89</blockquote>
<blockquote type="cite" cite>Ph.D. Mechanical
Engineering<x-tab>&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Mob:<x-tab>&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>+47
93 03 65 90</blockquote>
<blockquote type="cite" cite>Senior
Scientist<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Pager<x-tab>&nbsp;&nbsp; </x-tab>+47 96 84 29 94</blockquote>
<blockquote type="cite" cite>SINTEF Unimed -
Ultralyd<x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>Fax:<x-tab>&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </x-tab>+47
73 59 78 73</blockquote>
<blockquote type="cite" cite>N-7465 Trondheim</blockquote>
<blockquote type="cite" cite>NORWAY<x-tab>&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>e-mail:<x-tab>
</x-tab>Jon.H.Kaspersen@unimed.sintef.no</blockquote>
<blockquote type="cite"
cite><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab><x-tab>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</x-tab>WEB:<x-tab>&nbsp;&nbsp;&nbsp; </x-tab><font
color="#1A1AFF"><u>http://www.us.unimed.sintef.no/</u></font></blockquote
>
<blockquote type="cite"
cite>========================================================</blockquote
>
<div><br></div>
<div><br></div>
<x-sigsep><pre>-- 
</pre></x-sigsep>
<div>______________________________<br>
Robb Brown<br>
Seaman Family MR Research Centre<br>
Calgary, Alberta, Canada</div>
</body>
</html>
--============_-1197380487==_ma============--