• 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: compile error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compile error?


  • Subject: Re: compile error?
  • From: David Ewing <email@hidden>
  • Date: Mon, 10 Sep 2001 14:12:43 -0600

on 9/7/01 10:27 PM, Mark Steinberg at email@hidden wrote:

> what does this mean?
>
> ...failed MasterObjectFile.Combine /Developer/Projs/make
> liscense/MakeLicense Cocoa/build/intermediates/MakeLicense
> Cocoa.build/master.o ...
>
> and how do I fix it???
>
> I have a cocoa app that has a C++ file in the project too. Is that
> allowed? I need to call a C++ routine that is really just C. There's
> no classes in it.
>
> Can you tell I'm new at this? ;-) I've got lots of carbon experience
> but this is my first try at something real under Cocoa.

You should just declare the C++ routine as 'extern "C"', then your link
should succeed.

Dave


References: 
 >compile error? (From: Mark Steinberg <email@hidden>)

  • Prev by Date: [ANN] Anyone wants to try my first document-based Cocoa app
  • Next by Date: Re: Mac OS X 10.1 File Name Extension Guidelines
  • Previous by thread: compile error?
  • Next by thread: Re: How to get the Mac OS X version?
  • Index(es):
    • Date
    • Thread