• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: 'vector' undeclared error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >'vector' undeclared error (From: Graham Randall <email@hidden>)

  • Prev by Date: Re: IB3 plugin for custom view, how to forbid resizing in one direction?
  • Next by Date: Re: 'vector' undeclared error
  • Previous by thread: 'vector' undeclared error
  • Next by thread: Re: 'vector' undeclared error
  • Index(es):
    • Date
    • Thread