Re: REZ Problems - SysError 0/2
Re: REZ Problems - SysError 0/2
- Subject: Re: REZ Problems - SysError 0/2
- From: "shin kurokawa" <email@hidden>
- Date: Thu, 1 Nov 2007 10:43:16 -0400
Sorry to resurrect a dead thread again,
but this Rez path thing seems it got
broken in both Xcode 2.5 + 3.0, when
it was working fine in 2.4.1.
For ex., if I set up my own headers and
datafork-only .r's in /Developer/SDKs/MySDK/MyFiles
it looks like 2.5/3.0 both miss that completely,
giving me a SysError 0.
The same project works fine in 2.4.1.
What works as search paths in 2.5/3.0:
* the absolute root path - "/"
* paths relative to the project, as long as they
are not too long (?), as in
"../../../../../DifferentVolume/A/B/C"
(For some strange reason, it can't find my
files inside /Developer/SDKs/MySDK)
Also, if the file(s) to be Rez'ed are referring to
an include file "AAA", sometimes Rez finds
a file named "AAA" in paths other than what
are contained in project header/user header paths
+ Rez search paths. Seems somewhat
unpredictable, but very bad if the data in AAA is
in something like "MyPreviousVersion" area
(which is never referenced in above search paths)
of my system.
Any ideas what's going on?
-Shin
On 1/26/07, Chris Espinosa <email@hidden> wrote:
>
>
> On Jan 26, 2007, at 1:47 AM, Marc Stibane wrote:
>
>
>
>
>
> I have got a simple .r file with strings and just need the "STR#"
> definition.
>
> When I include the header file as in MacOS 9
>
> #include "MacTypes.r"
>
> I get
>
>
> ### /Developer/Tools/Rez - SysError 0 during open of "MacTypes.r".
>
>
>
>
> Huh? What is SysError 0?
>
> OK, so I tried the framework include:
>
> #include <CarbonCore/MacTypes.r>
>
>
> ### /Developer/Tools/Rez - SysError 2 during open of
> "CarbonCore/MacTypes.r".
>
>
>
>
> Any hints what I can do to solve this?
>
> You don't say what version of Xcode you're experiencing this with, and it
> would be helpful to see the Rez invocation line from your build transcript.
> But generally, Xcode passes the path to the frameworks that are members of
> your target, so if you don't have CarbonCore as a framework in your target,
> Xcode won't pass the path to it and Rez won't find <CarbonCore/MacTypes.r>.
>
> You probably have Carbon.framework in your project, so I'd recommend
> #include <Carbon/Carbon.r>, which will pull in the CarbonCore resource files
> under its umbrella.
>
> Chris
>
>
> _______________________________________________
> 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
>
_______________________________________________
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