• 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
Rez include problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Rez include problem
      • From: Steve Christensen <email@hidden>
    • Re: Rez include problem
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Weak Linking A Universal App
  • Next by Date: Help with Xcode i386 Link problems
  • Previous by thread: Re: Library conflicts with DarwinPorts
  • Next by thread: Re: Rez include problem
  • Index(es):
    • Date
    • Thread