• 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: Build Error - 'Missing file or directory..'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Build Error - 'Missing file or directory..'


  • Subject: Re: Build Error - 'Missing file or directory..'
  • From: Chris Espinosa <email@hidden>
  • Date: Thu, 9 Feb 2006 08:15:13 -0800

On Feb 9, 2006, at 2:26 AM, James Closs wrote:

Hi,

Just got this again. It happens a lot. Claims missing file but it's there alright!

To get things to work I seem to have to delete the entire build directory and restart XCode.

Here's the transcript:

Checking Dependencies
JamToolExecution 18px
    cd /Volumes/docs/development/multipacks/nim
    setenv ASCII_OUTPUT_ANNOTATION YES
    setenv ENABLE_APPLE_JAM_EXTENSIONS YES
    setenv ENABLE_APPLE_JAM_OUTPUT_ANNOTATION YES
    setenv GROUP jcloss
    setenv NATIVE_ARCH ppc
    setenv USER jcloss
    /Developer/Private/jam -d1 -j2 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=/Volumes/docs/development/multipacks/nim/build/nim.build/Debug/18px.build/18px.jam build ACTION="" _DEFAULT_GCC_VERSION=4.0 GCC_VERSION_IDENTIFIER=4_0 CONFIGURATION=Debug BUILD_STYLE=Debug CPP_HEADERMAP_FILE=/Volumes/docs/development/multipacks/nim/build/nim.build/Debug/18px.build/18px.hmap CLEAN_PRECOMPS=YES SRCROOT=/Volumes/docs/development/multipacks/nim OBJROOT=/Volumes/docs/development/multipacks/nim/build SYMROOT=/Volumes/docs/development/multipacks/nim/build DSTROOT=/tmp/nim.dst
Missing file or directory: /docs/development/multipacks/nim/constants/device_specific/8px/Constants.java


You're going to have to be more detailed.

- When do you get the error? When building? 
- Could you please copy and paste the error out of the build transcript, in context?
(To see the transcript, read "Viewing Detailed Build Results": http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_07_bs_building_product/chapter_33_section_4.html)

From the transcript it's easy to see that you're putting your sources (SRCROOT) into the build directory, so that when you clean the build directory, the sources are at risk of being deleted.

Also, the file missing is expected at /docs/development/multipacks/nim, while all your other files are at /Volumes/docs/development/multipacks/nim.  You may want to look into this:  the file reference for that file may be incorrect.  Chosse the file reference in Xcode, choose Get Info, and in the General pane click the "Choose" button to re-find the file, then make sure its reference style is "Relative to Project."

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

  • Follow-Ups:
    • Re: Build Error - 'Missing file or directory..'
      • From: James Closs <email@hidden>
References: 
 >Re: Build Error - 'Missing file or directory..' (From: James Closs <email@hidden>)

  • Prev by Date: Re: Problem with included headers
  • Next by Date: Building more files than CPUs
  • Previous by thread: Re: Build Error - 'Missing file or directory..'
  • Next by thread: Re: Build Error - 'Missing file or directory..'
  • Index(es):
    • Date
    • Thread