Re: Accelerate Framework
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