On Sep 23, 2007, at 2:34 PM, Adam wrote: After doing that, it still gives me an error, but it's a different one: Command /usr/bin/g++-4.0 failed with exit code 1. So not fixed, but undoubtedly improved. Do you think that I should try making a new project, importing the files from the old project, and seeing if that works?
This is the result of a compiler error. It's not the error itself, which would be more helpful to know.
Choose "Build Results" from the Build menu Look for red stop signs (errors) or yellow triangles (warnings) Drag and drop the "Compiling" step on which those errors or warnings appear into the reply. It'll look something like this:
cd /Volumes/Personal/Users/espich/yfj /Developer/usr/bin/gcc-4.0 -x objective-c -arch i386 -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 -fvisibility=hidden -mfix-and-continue -mmacosx-version-min=10.4 -I/Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/yfj.hmap -F/Volumes/Work/Objects/Debug -I/Volumes/Work/Objects/Debug/include -I/Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -c /Volumes/Personal/Users/espich/yfj/main.m -o /Volumes/Work/Objects/Intermediates/yfj.build/Debug/yfj.build/Objects-normal/i386/main.o /Volumes/Personal/Users/espich/yfj/main.m: In function 'main': /Volumes/Personal/Users/espich/yfj/main.m:14: error: parse error before '}' token /Volumes/Personal/Users/espich/yfj/main.m:14: warning: control reaches end of non-void function
Copying and pasting the context in which the error appears would also be useful.
Regards,
CHris |