Thread: Use Framework... Declared in...
11-07-2009, 07:35 PM #1
Use Framework... Declared in...
- Member Since
- Nov 07, 2009
I'm reading the Mac OS X Reference Library and find
Framework aFramework -- specifically Accelerate/vecLib
Declared in aHeader -- specifically vDSP.h
The Overview says, "This document describes the C API...". So I created a new project on Xcode (2.5) on Tiger (10.4.11) Intel.
File | New Project | Command Line Utility | Standard Tool
"This project builds a command-line tool written in C."
I spotlight "Accelerate" and found /System/Library/Frameworks/Accelerate.framework
So I Project | Add to Project... this Accelerate.framework. I also checked "Copy items into destination group's folder (if needed)".
I then tried to declare any of the data types in this function FFTSetupD vDSP_create_fftsetupD (vDSP_Length log2n, FFTRadix radix);
but get 'parse error before log2n' as if it doesn't know about this data type?
I also tried #include <vDSP.h> which I think would be redundant after adding the framework.
What do I need to do to use vDSP_create_fftsetupD and related functions and data types?
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By Doc Awk in forum Apple DesktopsReplies: 1Last Post: 07-19-2011, 01:13 AM
By canislupis100 in forum OS X - Apps and GamesReplies: 0Last Post: 03-05-2011, 08:56 PM
By DEKANONE in forum OS X - Apps and GamesReplies: 5Last Post: 06-02-2010, 04:41 PM
By Rafi Shalom in forum OS X - Development and DarwinReplies: 1Last Post: 04-17-2008, 02:14 PM
By Liam in forum OS X - Operating SystemReplies: 3Last Post: 10-12-2006, 08:18 PM