• 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: Mixed Objective-C and C++ for Cocoa App
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mixed Objective-C and C++ for Cocoa App


  • Subject: Re: Mixed Objective-C and C++ for Cocoa App
  • From: Fawzi Mohamed <email@hidden>
  • Date: Wed, 2 May 2001 12:54:20 +0200

Hi,
Apple has dropped Objective-C++, now they say that it will come back in the meanwhile I think that this article

http://SchemaResearch.com/osx_objcplusplus
(seen on http://www.stepwise.com , a place hat as cocoa developer you should know)
could help you.

by
Fawzi

On Wednesday, May 2, 2001, at 11:24 AM, Stephen Starkie wrote:

Hi,

I have just started development with Cocoa - and have managed to
get through a number of the samples. However, I'm from a predominantly
C++ background. We therefore have a lot of C++ code that I would like
to use in Cocoa development. What are my options?

I have tried using a .M file which includes a C++ header and calls a C++
method (.mm didn't work at all) in Project Builder and also -ObjC++. In
both cases, I get the following error in the build log;

CompileC /Users/sjstar/Development/OpenGL
Test/build/intermediates/Teapot.build/Objects/ppc/CAcrobotConstraint.o
cc: installation problem, cannot exec `cc1objplus': No such file or
directory
cpp: output pipe has been closed

Do I need a special version of the compiler or something - I thought it
was supposed to support mixed Objective-C and C++ code?

Steve.
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


  • Prev by Date: Re: Mixed Objective-C and C++ for Cocoa App
  • Next by Date: Re: NSOpenPanel and New Folder button
  • Previous by thread: Re: Mixed Objective-C and C++ for Cocoa App
  • Next by thread: Re: Mixed Objective-C and C++ for Cocoa App
  • Index(es):
    • Date
    • Thread