• 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: Using vBigNum in a C tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Using vBigNum in a C tool
      • From: Cameron Hayne <email@hidden>
References: 
 >Using vBigNum in a C tool (From: Graham J Lee <email@hidden>)

  • Prev by Date: Re: cleanup of shared precompiled headers?
  • Next by Date: Re: XCode 1.5 target editing error
  • Previous by thread: Using vBigNum in a C tool
  • Next by thread: Re: Using vBigNum in a C tool
  • Index(es):
    • Date
    • Thread