Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Resource file compile error




On Jan 18, 2006, at 10:43 AM, Steve Mills wrote:

On Jan 18, 2006, at 12:38, john maverick wrote:


I'm trying to get the resource file (.r) to work with

my old application. Now that XCode is recognzing the

file, there's compile errors in the resource file.

It's the same error for every resource type:


"Can't find the declaration for the resource type

'...' "


The resource file's been working fine before my

efforts to carbonize this application and I haven't

made any changes to it.


Maybe you need to use a Rez pch and #include <Carbon/Carbon.r> in it? I don't have Xcode running at the moment, so I can't verify that I typed everything correctly.


Rez doesn't support precompiled headers, but it does use prefix files; you probably need to set the Rez Prefix File build setting in your project, or #include <Carbon/Carbon.r> in your .r file.

Chris
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden

References: 
 >Resource file compile error (From: john maverick <email@hidden>)
 >Re: Resource file compile error (From: "Steve Mills" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.