• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Calling C++ library and/or framework from Obj C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling C++ library and/or framework from Obj C


  • Subject: Re: Calling C++ library and/or framework from Obj C
  • From: Theodore Petrosky <email@hidden>
  • Date: Sun, 18 May 2003 20:06:31 -0700 (PDT)

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.

  • Follow-Ups:
    • Re: Calling C++ library and/or framework from Obj C
      • From: Louis Sinclair <email@hidden>
References: 
 >Calling C++ library and/or framework from Obj C (From: Louis Sinclair <email@hidden>)

  • Prev by Date: Re: Cocoa --> Java Interfaces?
  • Next by Date: Re: cocoa-dev digest, Vol 2 #2352 - 15 msgs
  • Previous by thread: Calling C++ library and/or framework from Obj C
  • Next by thread: Re: Calling C++ library and/or framework from Obj C
  • Index(es):
    • Date
    • Thread