Re:Linking Errors for all vecLib.h calls
Re:Linking Errors for all vecLib.h calls
- Subject: Re:Linking Errors for all vecLib.h calls
- From: dct <email@hidden>
- Date: Mon, 28 Apr 2008 15:32:34 -0700
Added info:
The problem appears to be isolated to linking the Accelerate.framework.
The project, which includes a fair number of vDSP calls, compiles
successfully (and I can force compile errors by making improper vDSP
calls). Obviously the compiler has access to the vecLib.framework via
Accelerate.framework.
Unfortunately, once compiled, the project fails to link with the same
Linking error statement (97 errors) cited in my first post. It would
appear that the linker can't find the framework that was accessed by
the compiler (or am I missing something).
These results remain the same whether the Project Setting for "Cross-
Develop Using Target SDK:" is set for "Mac OS X 10.5", "Mac OS X 10.4
(Universal)", or "Current Mac OS".
As a check, I built an old, prototype project that was last built
about three years ago (and which has no vDSP calls); it built and ran
perfectly. I then added one vDSP call (with an #import <Accelerate/
Accelerate.h> statement in the appropriate header file). As with my
current project it compiled but failed to link.
Initial post:
"My current project fails to build with OSX 10.5.2 and Xcode 3.0 with
a Linking error statement:
"Linking/Users/.../MacOS/Cafe (97 errors)
"_vDSP_vquint"' referenced from: ...
"_vDSP_vsbsm"' referenced from: ...
etc (for 97 separate calls) "
Obviously the linker can't find the framework <Accelerate/Accelerate.h>.
This same project builds without error on a MacMini still configured
with OSX 10.4.11 & Xcode 2.4.1.
A Spotlight search for "Accelerate.h" reveals three separate paths:
-- /Developer/SDKs/MacOSX10.4u.sdk/.../Accelerate.framework/.../
Headers
-- /Developer/SDKs/MacOSX10.5.sdk/.../Accelerate.framework/.../Headers
-- /System/Library/Frameworks/Accelerate.framework/.../Headers.
A search for "vecLib.h" reveals four separate paths:
-- /Developer/SDKs/MacOSX10.4u.sdk/.../vecLib.framework/.../Headers
-- /Developer/SDKs/MacOSX10.4u.sdk/.../Accelerate.framework/.../
vecLib.framework/.../Headers
-- /Developer/SDKs/MacOSX10.5.sdk/.../vecLib.framework/.../Headers
-- /Developer/SDKs/MacOSX10.5.sdk/.../Accelerate.framework/.../
vecLib.framework/.../Headers
(I have no idea whether this has anything to do with my problem.)
Any suggestions? I'm stumped and need help."
_______________________________________________
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