Rez include problem
Rez include problem
- Subject: Rez include problem
- From: Allen Cronce <email@hidden>
- Date: Sun, 26 Mar 2006 15:47:47 -0800
Hi all,
I'm running into an error while trying to import a specific resource
from a CodeWarrior generated CFM shared library (where the code is in
the data fork and the resources are in the resource fork), and save it
in the target as another resource type.
Here's the failing line from the .r file:
include "MyCarbonLib" 'cfrg' (0) AS 'XFRG' (0);
What is supposed to happen is the 'cfrg' 0 resource should be copied
from the "MyCarbonLib" file and saved as an 'XFRG' resource in the
target. This works with CodeWarrior. But under Xcode 2.2.1, I get the
following error:
/Developer/Tools/Rez - SysError -43, resource file "MyCarbonLib" not found.
I've verified that the MyCarbonLib file is included in the project. And
I've tried adding the path to the file's parent directory in the
REZ_SEARCH_PATHS option. But I still get this error.
Maybe the rez tool is expecting data fork based resources instead of
traditional resource files? But if that's the case, it would be nice to
get some error other than "file not found".
I suppose I could derez the 'cfrg' resource from the library, then
include the resulting .r file in the Xcode project. But since it's
dynamically created when CW makes the library, that's a bit cumbersome.
I guess I could automate this in our build process somehow, but I'm
trying to avoid a second career as a build engineer ;-)
If anyone has some insight as to the actual nature of the problem or
other suggestions for a work around, I'd appreciate it.
Best,
--
Allen Cronce
_______________________________________________
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