• 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: Accelerate Framework
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Accelerate Framework


  • Subject: Re: Accelerate Framework
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 21 Jul 2005 15:24:04 -0700

On Jul 21, 2005, at 2:08 PM, Mike Jackson wrote:

#include <stdio.h>

#include <Carbon/Carbon.h>


int main (int argc, const char * argv[]) {

    // insert code here...

  vector unsigned char ffffssst;


    printf("Hello, World!\n");

    return 0;

}


I get these errors when trying to compile:


/Users/mjackson/Desktop/VecTest/main.c:8: error: 'vector' undeclared (first use in this function)

/Users/mjackson/Desktop/VecTest/main.c:8: error: (Each undeclared identifier is reported only once

/Users/mjackson/Desktop/VecTest/main.c:8: error: for each function it appears in.)

/Users/mjackson/Desktop/VecTest/main.c:8: error: parse error before 'unsigned'



Try adding "-faltivec" to your invocation line.  In Xcode, check the "Enable AltiVec Extensions" checkbox.

Chris
 _______________________________________________
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: 
 >Accelerate Framework (From: Mike Jackson <email@hidden>)

  • Prev by Date: Re: Accelerate Framework
  • Next by Date: How to see deprecated function warnings
  • Previous by thread: Re: Accelerate Framework
  • Next by thread: re: Accelerate Framework
  • Index(es):
    • Date
    • Thread