Re: Using vBigNum in a C tool
Re: Using vBigNum in a C tool
- Subject: Re: Using vBigNum in a C tool
- From: Mark Bessey <email@hidden>
- Date: Mon, 20 Jun 2005 11:35:36 -0700
It looks like you probably haven't enabled Altivec in your target or
project build settings. You'll want to "Get Info" on your target and
make sure that "Enable Altivec Extensions" is enabled in the build
settings.
If __VEC__ isn't #defined (which it is when "Enable Altivec" is
turned on) then most of Accelerate.h is turned into a big no-op,
including all the type definitions. After creating a new project, and
setting the build setting, I was able to compile your sample with no
problems.
-Mark
On Jun 20, 2005, at 9:07 AM, Graham J Lee wrote:
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:5:
error: parse error before '*' token
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:13:
error: parse error before '*' token
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c: In
function `vU256HalfPow':
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: `vU256' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: (Each undeclared identifier is reported only once
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: for each function it appears in.)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: `t1' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: `t2' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: `t3' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:17:
error: `t4' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:18:
error: `base' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:19:
error: `exponent' undeclared (first use in this function)
/var/automount/Users/staff/leeg/devel/course/bignum_pow/main.c:21:
error: `result' undeclared (first use in this function)
** BUILD FAILED **
_______________________________________________
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