Forums

Full Version: R1838 breaks on OSX
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
CompileC /Users/lauasanf/code/build/vdrift.build/Release-Deployment/vdrift.build/Objects-normal/ppc/bezier.o /Users/lauasanf/code/vdrift/tools/osx/../../src/bezier.cpp normal ppc c++ com.apple.compilers.gcc.4_0
cd /Users/lauasanf/code/vdrift/tools/osx
/usr/bin/gcc-4.0 -x c++ -arch ppc -pipe -Wno-trigraphs -fpascal-strings -fasm-blocks -g -O3 -fmessage-length=0 -mtune=G4 -fvisibility=hidden -fvisibility-inlines-hidden -mmacosx-version-min=10.4 -I/Users/lauasanf/code/build/vdrift.build/Release-Deployment/vdrift.build/vdrift.hmap -mdynamic-no-pic -F/Users/lauasanf/code/build/Release-Deployment -F/Users/lauasanf/code/vdrift/tools/osx -F/Users/lauasanf/code/vdrift/tools/osx -I/Users/lauasanf/code/build/Release-Deployment/include -I../../include -ISDL.framework/Headers -Iode.framework/Headers -I/Users/lauasanf/code/build/vdrift.build/Release-Deployment/vdrift.build/DerivedSources -isysroot /Developer/SDKs/MacOSX10.4u.sdk -include /Library/Caches/com.apple.Xcode.501/SharedPrecompiledHeaders/pch-berggigbwojknmchjvhuxuzvvvak/pch.h -c /Users/lauasanf/code/vdrift/tools/osx/../../src/bezier.cpp -o /Users/lauasanf/code/build/vdrift.build/Release-Deployment/vdrift.build/Objects-normal/ppc/bezier.o
/Users/lauasanf/code/vdrift/tools/osx/../../src/bezier.cpp:27:22: error: unittest.h: No such file or directory
/Users/lauasanf/code/vdrift/tools/osx/../../src/bezier.cpp:1462: error: expected constructor, destructor, or type conversion before '(' token

Anyone?
I have the samething on 2007.08 Archlinux. (The missing heade file):

g++ -o build/game.o -c -Wall -g3 -D_GNU_SOURCE=1 -D_REENTRANT -Iinclude -I/usr/include/SDL src/game.cpp
src/game.cpp:4:22: error: unittest.h: No such file or directory
src/game.cpp: In member function ‘void GAME::Test()’:
src/game.cpp:1201: error: ‘QT_RUN_TESTS’ was not declared in this scope
I forgot to add a new header file that's used for unit testing. It's in R1839.
That got it. Thanks Joe.