Re: Re Re "vector" Framework: HELP
Re: Re Re "vector" Framework: HELP
- Subject: Re: Re Re "vector" Framework: HELP
- From: Lionel Lacassagne <email@hidden>
- Date: Fri, 10 Feb 2006 10:38:12 +0100
- Organization: IEF
Hello,
I'm really sorry to spam this list, but my Framework doesn't compile.
I've allready check all the advices you provide me.
Altivec check box is enable, -faltivec flag is also set. both in Debug
and Release
the word 'vector' is still not recognized, the words 'vFloat' or
'vUInt32' are accepted through the use of Accelerated Framework, but the
instructions vec_add generate an error.
Could it come from the target generation in Release, since i386 has no
Altivec ???
Since I have no more brilliant idea, and that I can't post an archive of
my dummy Framework in this forum, I put it in download at the following
address.
http://www.ief.u-psud.fr/~lacas/Download/vF.zip
Thank in advance,
Lionel
Fritz Anderson wrote:
On 9 Feb 2006, at 6:21 AM, Lionel Lacassagne wrote:
As you can see below in a dummy Framework, I included
Accelerate.framework twice (to be sure that the typedef will be
handled properly)
I think you are missing an important point... Including the
Accelerate framework does not enable AltiVec parsing in your code.
GCC must be run with the -faltivec flag, which you can set with the
target Build panel with the Enable AltiVec Extensions checkbox (or
for all targets that don't say otherwise, in the project Build panel).
If -faltivec is not present, you will get a syntax error when you use
the vector keyword.
The build is correct in debug, but not in Release
This suggests to me that the Enable AltiVec Extensions has been set
for the Debug configuration, but not the Release configuration. Be
sure to check it when "All Configurations" appears in the popup menu
at the top of the Build panel.
-- F
--
Fritz Anderson -- http://www.manoverboard.org/
Consulting Programmer -- http://resume.manoverboard.org/
Step into Xcode, Now Available -- http://six.manoverboard.org/
_______________________________________________
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