Re: Resource File Issues while porting from Code Warrior to XCode
Re: Resource File Issues while porting from Code Warrior to XCode
- Subject: Re: Resource File Issues while porting from Code Warrior to XCode
- From: Jesper Papmehl <email@hidden>
- Date: Fri, 5 Aug 2005 13:54:20 +0200
I had this problem the other day. The error message is actually
incorrect, it's the other way around: the include statement in
Xcode's Rez compiler actually expects the resource file to be a data
fork-based resource file (so the error message should say that the
data fork is empty, not the resource fork).
I solved the problem by making a new data fork-based .rsrc file using
Resourcerer and copying over all my resources to that file, and then
include:ing that file in the .r file.
HTH
/Jesper
5 aug 2005 kl. 12.57 skrev Sumeet Goyal:
Hi All
I am trying to port a Code Warrior 8.3 project to XCode 2.1,MAC OS
X TIGER.Code warrior mcp is using rsrc file
and it is also being exported to XCode Workspace.
After compiling and linking is performed successfully of the
converted mcp project on XCODE 2.1,
REZZING is being done and when it complies .r file and tend to read
rsrc file which is being included in that .r file
I get the error message :-
The resource fork of "qdbase.rsrc" is empty and uninitialized.
Code looks like this:-(File name is qdbase.r)
/**************************** Resource Declarations
*************************/
/
*---------------------------------------------------------------------
------
**
** Finder Bundle Resource
**
*/
include "qdbase.rsrc" 'BNDL' (128);
Such an error message comes not only in case of Resource Type
as 'BNDL' but in other cases also like 'DLOG' etc
and the same resource file works fine in Code Warrior.
Please respond asap as I am completely struck at this point.
Thanks
Sumeet
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40propellerheads.se
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden