Go Back  Mac-Forums.com  > Software > OS X - Darwin and Development > Including frameworks in basic console app

Reply
 
LinkBack Thread Tools
Old 05-08-2008, 06:17 PM   #1 (permalink)
PhilipOrr

 
Member Since: May 08, 2008
Posts: 1
PhilipOrr is on a distinguished road
Including frameworks in basic console app

Hi all! I am quite new to the world of Mac.

On Windows, I am used to writing C++ code in DLL format, and then calling functions from the DLL in the simulation software LabView.

As I am now moving to a Mac environment, I needed to learn how to create the Mac equivalent of DLLs. The Mac LabView documentation states that my code must be encapsulated in the form of a Framework to be used in LabView.

So I set about learning how to write a C++ Carbon Framework, which I think I have successfully done (my .framework 'file' compiles correctly and contains the functions I need to use).

It would be nice now if I could create a very basic C++ console application which can call functions from the framework to test them. However, following these instructions has not worked for me: Link.

Firstly, it says that the framework should include a header. Mine does not. I don't know why, never mind what to put in it should I have to make one!

Secondly, when I go to compile I get the following error: "error: SenSys: no such file or directory". (SenSys is the name of my framework, which has been added to the Xcode project via the "Add to Project..." menu.

Could someone please shed some light? I simply want to call a basic function from a basic framework file for use in a basic console app!
PhilipOrr 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

 
 
 
     
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.