Go Back  Mac-Forums.com  > Software > OS X - Darwin and Development > Use Framework... Declared in...

Reply
 
LinkBack Thread Tools
Old 11-07-2009, 07:35 PM   #1 (permalink)
nub4evr

 
Member Since: Nov 07, 2009
Posts: 1
nub4evr is on a distinguished road
Question Use Framework... Declared in...

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?

Thanks.
nub4evr is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Stumble this post
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 On

Forum Jump

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

 
 
 
     
Home Calendar Get New
     

Copyright ©2001-2009 Mac-Forums.com. All Rights Reserved. A division of iNET Interactive.

Other iNET Interactive Sites: Web Hosting Talk | Swish Talk | Hosting Catalog.com| Dev Papers| Deleted Domains| Hot Scripts

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