New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Use Framework... Declared in...

Post Reply New Thread Subscribe

Thread Tools

Member Since: Nov 07, 2009
Posts: 1
nub4evr is on a distinguished road

nub4evr is offline
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);

such as
vDSP_Length log2n;

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?

QUOTE Thanks

Post Reply New Thread Subscribe

« GCC creates console app | The linker cannot find the libraries (do they exist?) »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Anyone installed symfony framework on the Mac? macaroony Web Design and Hosting 6 03-18-2009 12:29 PM
How to support Disk Arbitration Framework in 10.3.9 roublesaha OS X - Development and Darwin 0 12-29-2008 01:42 AM
Intro and some problems. USMCcelica Apple Notebooks 14 11-20-2008 12:58 AM
Carbon framework on XCode Rafi Shalom OS X - Development and Darwin 1 04-17-2008 01:14 PM
Xerces Framework Liam OS X - Operating System 3 10-12-2006 07:18 PM

All times are GMT -4. The time now is 05:50 AM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?