• 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: Simple C++/Obj-C question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple C++/Obj-C question


  • Subject: Re: Simple C++/Obj-C question
  • From: Daniel Aarno <email@hidden>
  • Date: Sun, 25 May 2003 22:47:31 +0200

Well, the .mm thing should do it I think. But now, how do I get ProjectBuilder to compile .mm files. I get a "cc1objplus: Cannot open load file: /Users/bishop/development/mines/build/mines.build/mines.build/ PrefixHeaders/mines_Prefix-ppc.pfe/cc1objplus_ppc.pfe (No such file or directory)" error when trying to compiler the .mm file. I think it is unfortunate that one cannot have PB create an Obj-C++ class by itself.

/Bishop


Sundayen den 25 May 2003 kl 21.51 skrev Marc Weil:

Make sure that the file the implementation for your C++ class is in has the
extension .cpp, or, if you are implementing the class along with objective-c
code, make sure that file has the extension .mm (which enables
Objective-C++).

-- Marc Weil
--
"If a million people say a foolish thing, it is still a foolish thing." - Anatole France
_______________________________________________
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.
References: 
 >Re: Simple C++/Obj-C question (From: Marc Weil <email@hidden>)

  • Prev by Date: Re: Simple C++/Obj-C question
  • Next by Date: Re: Bug in NSClipView/NSScrollView?
  • Previous by thread: Re: Simple C++/Obj-C question
  • Next by thread: Re: Simple C++/Obj-C question
  • Index(es):
    • Date
    • Thread