Re: Can't Compile cpp file from editor?
Re: Can't Compile cpp file from editor?
- Subject: Re: Can't Compile cpp file from editor?
- From: Howard Moon <email@hidden>
- Date: Wed, 9 Dec 2009 08:28:43 -0800
On Oct 28, 2009, at 11:06 AM, Chris Espinosa wrote:
On Oct 28, 2009, at 7:44 AM, Howard Moon <email@hidden>
wrote:
Any thoughts on how/why this happens? I've tried closing and re-
opening the file from the Groups & Files list, but no luck. I'm
stumped.
If the file builds when you build the whole target, could you open
the build transcript and copy and paste the transcript for that
build step?
The only known cause for this is when you have multiple targets, and
the file belongs to the dependent target and not the main target.
But you say that's not the case, so we'd need to see the transcript.
Chris
Sorry, I missed your request because it got put in my Junk folder for
some reason (along with dozens of other mailing list replies!).
Here's the build phase commands when I build one of these misbehaving
file from the main Project window. The file compiles fine from the
main Project window, but not from the separate editor (even though I
opened the editor by double-clicking in the Project window). Very
strange.
I've filed this as a bug report: 7456626
-Howard
----------
Building target “Auto-Tune_Evo_VST” of project “Auto-Tune_Evo_VST”
with configuration “Debug”
Checking Dependencies
ProcessPCH++ /var/folders/60/60K6BldkE1OlyzMUpKpPDk+++TI/-Caches-/
com.apple.Xcode.501/SharedPrecompiledHeaders/Auto-Tune_Evo_VST-
exeewvjhfkxbtxajtfjcmfghuoui/Auto-Tune_Evo_VST.pch.gch Auto-
Tune_Evo_VST.pch normal i386 c++ com.apple.compilers.gcc.4_0
cd /Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild
/Developer/usr/bin/gcc-4.0 -x c++-header -arch i386 -fmessage-
length=0 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -
DUSE_VST_SDK_24_OR_LATER=1 -DVST_FORCE_DEPRECATED=0 -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -mfix-and-continue -ftree-vectorize -
msse3 -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -
I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/Auto-
Tune_Evo_VST.hmap -F/Software_Development/Projects/Auto-Tune_Evo/VST/
Macbuild/build/Debug -I../../../../SDKs/VST/vstsdk2.4 -I/
Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Debug/
include -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon
-I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/DerivedSources/i386 -
I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/DerivedSources -c /
Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/Auto-
Tune_Evo_VST.pch -o /var/folders/60/60K6BldkE1OlyzMUpKpPDk+++TI/-
Caches-/com.apple.Xcode.501/SharedPrecompiledHeaders/Auto-Tune_Evo_VST-
exeewvjhfkxbtxajtfjcmfghuoui/Auto-Tune_Evo_VST.pch.gch
CompileC build/Auto-Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/
Objects-normal/i386/OptionsDlg.o /Software_Development/Projects/Auto-
Tune_Evo/VST/Macbuild/../Sources/OptionsDlg.cpp normal i386 c++
com.apple.compilers.gcc.4_0
cd /Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild
/Developer/usr/bin/gcc-4.0 -x c++ -arch i386 -fmessage-length=0 -
pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -
DUSE_VST_SDK_24_OR_LATER=1 -DVST_FORCE_DEPRECATED=0 -isysroot /
Developer/SDKs/MacOSX10.4u.sdk -mfix-and-continue -ftree-vectorize -
msse3 -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -gdwarf-2 -
I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/Auto-
Tune_Evo_VST.hmap -F/Software_Development/Projects/Auto-Tune_Evo/VST/
Macbuild/build/Debug -I../../../../SDKs/VST/vstsdk2.4 -I/
Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Debug/
include -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon
-I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/DerivedSources/i386 -
I/Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/build/Auto-
Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/DerivedSources -
include /var/folders/60/60K6BldkE1OlyzMUpKpPDk+++TI/-Caches-/
com.apple.Xcode.501/SharedPrecompiledHeaders/Auto-Tune_Evo_VST-
exeewvjhfkxbtxajtfjcmfghuoui/Auto-Tune_Evo_VST.pch -c /
Software_Development/Projects/Auto-Tune_Evo/VST/Macbuild/../Sources/
OptionsDlg.cpp -o /Software_Development/Projects/Auto-Tune_Evo/VST/
Macbuild/build/Auto-Tune_Evo_VST.build/Debug/Auto-Tune_Evo_VST.build/
Objects-normal/i386/OptionsDlg.o
_______________________________________________
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