Re: compile error?
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