05-08-2008, 06:17 PM #1
Including frameworks in basic console app
- Member Since
- May 08, 2008
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!
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
By jbm28012 in forum OS X - Apps and GamesReplies: 2Last Post: 12-13-2014, 07:33 AM
By macuser1232 in forum Apple NotebooksReplies: 14Last Post: 07-18-2012, 11:19 PM
By macuser1232 in forum Apple NotebooksReplies: 0Last Post: 07-01-2012, 11:08 PM
By gizmo8899 in forum Switcher HangoutReplies: 2Last Post: 04-10-2011, 12:00 AM
By meldaproduction in forum OS X - Development and DarwinReplies: 1Last Post: 11-04-2009, 09:05 PM