Game Development Community

Map2difplus 1.5 build still borked

by Joe O · in Torque Game Engine · 11/01/2006 (4:11 am) · 1 replies

On line 638 of macCarbInput.cc, retBuf needs a cast to (const UInt8*).

That's all.

#1
11/10/2006 (6:33 pm)
Ok, that's not all... there's something else borked with map2difplus... I can't figure it out. Has anyone successfully built this thing for 1.5 using the latest xcode for universal? Inquiring minds want to know...

I've managed to mess with the code a bit to get it to compile to this point... it leads me to believe something is configured differently in the Torque Demo target than the map2difplus target. Can someone please offer me up some advice on this? I've not been able to build map2difplus since getting Torque 1.5 >:'(

Here's a snippet of the error...

/Developer/Private/jam -d1 -j2 JAMBASE=/Developer/Makefiles/pbx_jamfiles/ProjectBuilderJambase JAMFILE=/Users/Joe/Projects/Torque1.5/Torque\ SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/map2difplus.jam build ACTION=build _DEFAULT_GCC_VERSION=4.0 GCC_VERSION_IDENTIFIER=4_0 CONFIGURATION=Default BUILD_STYLE=Default CPP_HEADERMAP_FILE=/Users/Joe/Projects/Torque1.5/Torque\ SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/map2difplus.hmap CLEAN_PRECOMPS=YES SRCROOT=/Users/Joe/Projects/Torque1.5/Torque\ SDK/xcode OBJROOT=/Users/Joe/Projects/Torque1.5/Torque\ SDK/xcode/build SYMROOT=/Users/Joe/Projects/Torque1.5/Torque\ SDK/xcode/build DSTROOT=/tmp/torque_xcode_2_2_UB.dst
/usr/bin/g++-4.0 -c "-I/Users/Joe/Projects/Torque1.5/Torque SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/map2difplus.hmap" -F../example -F../lib/openal/macosx -F../lib/xiph/macosx -I../example/include -I../tools -I../engine -I../lib/openal/macCarb -I/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers -I/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers -I/Developer/Headers/FlatCarbon -I../lib/openal/macosx/eax -I../engine/platformMacCarb -arch i386 -fno-common -fpascal-strings -O0 -w -Wunused -Wunused-parameter -pipe "-fmessage-length=0" -mdynamic-no-pic "-force_cpusubtype_ALL" "-D__MACOSX__" "-DTORQUE_NO_OGGVORBIS" ../engine/platformMacCarb/macCarbEvents.cc -o "/Users/Joe/Projects/Torque1.5/Torque SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/Objects-normal/i386/macCarbEvents.o"
../engine/platformMacCarb/macCarbEvents.cc: In function 'void MacCarbCheckHideCursor(S32, S32)':
../engine/platformMacCarb/macCarbEvents.cc:46: error: default argument given for parameter 1 of 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.h:10: error: after previous specification in 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.cc:46: error: default argument given for parameter 2 of 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.h:10: error: after previous specification in 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.cc: In function 'void _OnActivate(bool)':
../engine/platformMacCarb/macCarbEvents.cc:156: error: invalid conversion from 'U32' to '_opaque_pthread_t*'
../engine/platformMacCarb/macCarbEvents.cc:156: error: initializing argument 1 of 'int pthread_kill(_opaque_pthread_t*, int)'
../engine/platformMacCarb/macCarbEvents.cc:46: error: default argument given for parameter 1 of 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.h:10: error: after previous specification in 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.cc:46: error: default argument given for parameter 2 of 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.h:10: error: after previous specification in 'void MacCarbCheckHideCursor(S32, S32)'
../engine/platformMacCarb/macCarbEvents.cc:156: error: invalid conversion from 'U32' to '_opaque_pthread_t*'
../engine/platformMacCarb/macCarbEvents.cc:156: error: initializing argument 1 of 'int pthread_kill(_opaque_pthread_t*, int)'
/usr/bin/g++-4.0 -c "-I/Users/Joe/Projects/Torque1.5/Torque SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/map2difplus.hmap" -F../example -F../lib/openal/macosx -F../lib/xiph/macosx -I../example/include -I../tools -I../engine -I../lib/openal/macCarb -I/System/Library/Frameworks/CoreServices.framework/Versions/Current/Frameworks/CarbonCore.framework/Headers -I/System/Library/Frameworks/ApplicationServices.framework/Versions/Current/Frameworks/QD.framework/Headers -I/Developer/Headers/FlatCarbon -I../lib/openal/macosx/eax -I../engine/platformMacCarb -arch i386 -fno-common -fpascal-strings -O0 -w -Wunused -Wunused-parameter -pipe "-fmessage-length=0" -mdynamic-no-pic "-force_cpusubtype_ALL" "-D__MACOSX__" "-DTORQUE_NO_OGGVORBIS" ../engine/platformMacCarb/macCarbMain.cc -o "/Users/Joe/Projects/Torque1.5/Torque SDK/xcode/build/torque_xcode_2_2_UB.build/Default/map2difplus.build/Objects-normal/i386/macCarbMain.o"
Build failed (7 errors)