Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: failed compile: "no input files"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: failed compile: "no input files"




On Jan 23, 2006, at 14:38, j o a r wrote:


On 23 jan 2006, at 22.24, Markian Hlynka wrote:

powerpc-apple-darwin8-gcc-4.0.0: ~markian/Documents/School/PhD/ Development/CodeGen/Games/RealCheckers/applicationDependencies.cc: No such file or directory
powerpc-apple-darwin8-gcc-4.0.0: warning: '-x c++' after last input file has no effect
powerpc-apple-darwin8-gcc-4.0.0: no input files
powerpc-apple-darwin8-gcc-4.0.0: no input files
powerpc-apple-darwin8-gcc-4.0.0: no input files
powerpc-apple-darwin8-gcc-4.0.0: no input files
powerpc-apple-darwin8-gcc-4.0.0: no input files
Build failed for target "RealCheckers" (1 error)


What does this mean?

I would assume that it means that one of your targets has a reference to a file that it can't find in the file system. Check your files in Xcode (also in the build phases) - are any one marked with red text instead of black? That would indicate that it's missing / incorrectly referenced. Check the paths listed in the build output, are you sure that they point to existing files? Double-check!



On 23 jan 2006, at 22.29, Markian Hlynka wrote:

sorry, I forgot to add... this is xcode 2.1

Why not Xcode 2.2.1?


Haven't upgraded because of a critical deadline... I'm afraid something will mess up. I guess it's a bit silly, huh?




On 23 jan 2006, at 22.32, Markian Hlynka wrote:

ok, I've been playing around, and apparently I had to set my path to "absolute" instead of "relative to codegen project".
But, I have no clue why...? Can anyone elucidate?

That is not true in the general case. We have all paths, in all projects, set to relative - for obvious reasons! Something must have been messed up when you added the files to the project in the first place. Try to remove and re-add the files. You should be able to have them as relative references. If you have problems with this, please return to the list, and describe exactly how you add the files to the project.


Hi, Joar, everyone else...

So, one thing is that in my case I have my source files in a directory external (only up one level) to the xcode project. Would that explain anything?

I'll do what you say and try add it again, and report back. But I'll have to wait for a bit... I have a looming deadline, and I'll have to use what works for the moment.

Markian

----
Quantum mechanics -- the dreams that stuff is made of.


_______________________________________________ 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: 
 >failed compile: "no input files" (From: Markian Hlynka <email@hidden>)
 >Re: failed compile: "no input files" (From: j o a r <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.