Re: Calling C++ library and/or framework from Obj C
Re: Calling C++ library and/or framework from Obj C
- Subject: Re: Calling C++ library and/or framework from Obj C
- From: Louis Sinclair <email@hidden>
- Date: Wed, 21 May 2003 09:44:11 -0500
- Organization: Minnetonka Software, Inc.
Thanks for the responses to my question. I'm still not
quite there, but making progress :)
--
Louis Sinclair
Minnetonka Audio Software, Inc.
Theodore Petrosky wrote:
Here are the archives
http://cocoa.mamasam.com/
If a linked C library example would help, here is a
link to a project at sourceforge.
http://sourceforge.net/projects/cocoapsql/
It is a project that uses the postgresql libpq C
library. I assume that c++ and c libraries will act
similarly. But I could be totally wrong.
Ted
--- Louis Sinclair <email@hidden> wrote:
Hello,
I'm working on a project using Cocoa/ObjC for the UI
that is
to call a library written in C++ created with
CodeWarrior 8.
We're having trouble linking with the library.
We've tried
several combinations of project types, but have had
only
partial success.
The closest we've come is to create a C++ OSX
framework with
CW, and the UI using ObjC and Project Builder. We
were able
to access our framework from the Cocoa project, but
were
unable to use the CW debugger to step through the
framework.
Also, we've been using another library (LibSndFile)
that has
to be accessed from the framework. When we include
the
pre-built library into the framework project, the
build fails
with an incomplete error message consisting of
simply the name
of the library minus the first character.
It is important that the library/framework source
files are
cross platform, and most of them already exist as
C++ code,
which is why we're using C++. We don't really care
whether
we use CW, PB, or both as long as we can get the
modules to
talk to each other, as well as have an effective
development
and debugging environment.
I guess the main question is what types of code can
co-exist
in a project like this, and where does documentation
exist
that explains any limitations and the proper
procedures for
accessing code in other modules?
I suspect similar questions have been asked and
answered
here already, but I'm unable to find complete
information
by searching this list or in the Apple docs. This
is
probably due to my own searching skills rather than
a lack
of relevant information out there :)
Thanks in advance!
--
Louis Sinclair
Minnetonka Audio Software, Inc.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.