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.

Including frameworks in basic console app

Post Reply New Thread Subscribe

Thread Tools

Member Since: May 08, 2008
Posts: 1
PhilipOrr is on a distinguished road

PhilipOrr is offline
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!
QUOTE Thanks

Post Reply New Thread Subscribe

« Problems installing program through terminal | Can't run Perl scripts in Leopard »
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

All times are GMT -4. The time now is 09:21 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?