Re: 'vector' undeclared error
Re: 'vector' undeclared error
- Subject: Re: 'vector' undeclared error
- From: Peter O'Gorman <email@hidden>
- Date: Tue, 27 May 2008 12:46:47 -0500
Graham Randall wrote:
> I have been trying to compile various examples of Altivec programs and every
> time, the compiler fails to recognise 'vector'. I am using Xcode 3.0 on a
> Intel iMac running OSX 10.5.2.
>
> I have enabled the Altivec Extensions (on both Debug and Release). I have
> added -faltivec to the compiler flags as well to try and get it to compile.
> Still get the same message - error: 'vector' undeclared.
>
> I added in the Accelerate framework - same result.
> I'm sure this is a simple mistake I've made but I'm stuck at the moment.
> Any help is appreciated.
Make sure that you are only building it for ppc and it should build (x86
does not have altivec).
Peter
--
Peter O'Gorman
http://pogma.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden