[Insight-users] ITK and OSX

Jon Harald Kaspersen Jon.H.Kaspersen@unimed.sintef.no
Tue, 26 Feb 2002 07:42:52 +0100


--Apple-Mail-1--108649475
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed

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/
========================================================

--Apple-Mail-1--108649475
Content-Transfer-Encoding: 7bit
Content-Type: text/enriched;
	charset=US-ASCII

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:


<excerpt>

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



</excerpt>========================================================

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:	<underline><color><param>1A1A,1A1A,FFFF</param>http://www.us.unimed.sintef.no/</color></underline>

========================================================
--Apple-Mail-1--108649475--