Re: XCode compilation error
It seems that xcode thinks that the compiler is located in the include directory... which seems very odd. If you simply type "c++" at the prompt, or perhaps "which c++", what does that tell you?
Re: XCode compilation error
it says /usr/bin/c++ when i type which c++
I found out through a helpful person on the xcode discussion list that I need to trim down my PATH variable, because it had a lot of extraneous stuff in there, and now that I have done that, I get the following compile error in xcode:
Code:
CompileC build/vecmat.build/Debug/vecmat.build/Objects-normal/ppc/Matrix3x3.o /Users/dvmorris/topmod2/topmodx/include/vecmat/Matrix3x3.cc normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/dvmorris/topmod2/topmodx/include/vecmat
/usr/bin/c++ -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -fmessage-length=0 -mtune=G4 -gdwarf-2 -I/Users/dvmorris/topmod2/topmodx/include/vecmat/build/vecmat.build/Debug/vecmat.build/vecmat.hmap -F/Users/dvmorris/topmod2/topmodx/include/vecmat/build/Debug -I/Users/dvmorris/topmod2/topmodx/include/vecmat/build/Debug/include -I. -I/usr/local/Trolltech/Qt-4.3.2/mkspecs/macx-g++ -I/Users/dvmorris/topmod2/topmodx/include/vecmat/build/vecmat.build/Debug/vecmat.build/DerivedSources -pipe -g -arch ppc -arch i386 -w -fPIC -c /Users/dvmorris/topmod2/topmodx/include/vecmat/Matrix3x3.cc -o /Users/dvmorris/topmod2/topmodx/include/vecmat/build/vecmat.build/Debug/vecmat.build/Objects-normal/ppc/Matrix3x3.o
/Users/dvmorris/topmod2/topmodx/include/vecmat/Matrix3x3.cc:1: error: bad value (G4) for -mtune= switch
lipo: can't open input file: /var/folders/7y/7yScN9AOEm80KhlLdRTY7++++TI/-Tmp-//ccoprUor.out (No such file or directory)
any idea what that means? I also don't see much of anything on internet searches