• 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
Re: File Fork of Binary Sources : was Crash in pthread_mutex_lock
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: File Fork of Binary Sources : was Crash in pthread_mutex_lock


  • Subject: Re: File Fork of Binary Sources : was Crash in pthread_mutex_lock
  • From: Jeremy Sagan <email@hidden>
  • Date: Thu, 16 Jun 2005 13:46:18 -0400

Hello Scott,

I added the .r file to the project and now I can see the "File fork for binary sources" field. However the help for File fork for binary sources says "Determines whether ResMerger treats binary input files as data-fork hosted or resource-fork hosted,
or whether it automatically examines each input file. [RESMERGER_SOURCES_FORK, -useDF]". It has no mention of Rez at all.


This is what XCode 2.1 is outputting to Rez:

Rez "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Metro.build/Imported CodeWarrior Settings/Metro G4 Debug.build/ResourceManagerResources/Objects/me.rsrc" "../MetroPPC ƒ/me.r"
mkdir "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Metro.build/Imported CodeWarrior Settings/Metro G4 Debug.build/ResourceManagerResources/Objects"
cd /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO
/Developer/Tools/Rez -o "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Metro.build/Imported CodeWarrior
Settings/Metro G4 Debug.build/ResourceManagerResources/Objects/me.rsrc"
-d SystemSevenOrLater=1 -useDF -script Roman
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Imported CodeWarrior Settings"
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/Resources
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../Headers
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../../ OggVorbis/vorbis/mac/Output
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ MetroDemo
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ MetroDemo/SE Demo Folder"
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../../ ReWire 2.2.3 SDK 030407/SDK/ReWireSDK"
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ EngineNew/THINKC/THINK FW Tearoffs"
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ EngineNew/THINKC/THINK Core Classes/Core Headers"
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ EngineNew/THINKC/THINK Text Classes"
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../DFXAU
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../Metro SE PPC ƒ"
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ EngineNew/Headers
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../../ID3 v3.8"
-i /Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../../ EngineNew/THINKC/THINK Library headers"
-F "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Imported CodeWarrior Settings"
-i "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/build/ Imported CodeWarrior Settings/include"
"/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../MetroPPC ƒ/me.r"


Why all those extraneous and incorrect paths with "/../" in them?

Contents of my files "me.r" between brackets [
include "MetroC.Res";
include "MetroPPC.res";
include "Songs.rsrc";
include "MetroMachOnly.Rsrc";
include "Engine.rsrc";
]

The result is not good and is this:

/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../MetroPPC ƒ/me.r:1: ### /Developer/Tools/Rez - SysError -43, resource file "MetroC.Res" not found.
/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../MetroPPC ƒ/me.r:2: ### /Developer/Tools/Rez - The resource fork of "MetroPPC.res" is empty and uninitialized.
/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/MetroMachO/../MetroPPC ƒ/me.r:3: ### /Developer/Tools/Rez - Program error in startRead.
Fatal Error!


My comments follow:
MetroC.Res is definitely located at file://localhost/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/ Resources/MetroC.Res
MetroPPC.res is not empty and contains a valid resource fork!


I set my Rez path to "/Volumes/Itchy/Development/MetroC/Metro6.3.1XC/Resources" and it appears in the call to Rez (-i) above. I tried adding quotes and it made no difference.

Any help greatly appreciated!

Jeremy

On Jun 15, 2005, at 5:59 PM, Jeremy Sagan wrote:



I did that and it is not there!

I select all configurations and all settings.
If I type in "file fork" nothing. If I type in "fork" I get one setting, "preserve HFS data". I am using XCode 2.1.


Any thing else i can try?

On Jun 15, 2005, at 5:27 PM, Scott Tooker wrote:

Look in the 'Build' tab of the target inspector (this assumes you are using native targets), select "All Settings" and search for "File Fork".


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden


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
References: 
 >Fwd: File Fork of Binary Sources : was Crash in pthread_mutex_lock (From: Jeremy Sagan <email@hidden>)

  • Prev by Date: Re: How to choose the compiler in a new project
  • Next by Date: Re: GCC-XML for XCode? (was: RE: is there an automated way to beautify code in xcode?)
  • Previous by thread: Fwd: File Fork of Binary Sources : was Crash in pthread_mutex_lock
  • Next by thread: XCode 2.1: Why is gdb output going to console log, not XCode?
  • Index(es):
    • Date
    • Thread