iTGB 1.3.1 & XCode 3.2.3 Help
by Rob Sandbach · in iTorque 2D · 04/09/2010 (5:42 pm) · 6 replies
Hi folks,
Can anyone confirm success at building vanilla iTGB 1.3.1 in the latest xcode. I've been playing for hours with build settings/deployment targets/base sdks and just cannot get it to play ball.
Not trying to compile against 4.0 or anything just 3.0, 3.1, 3.1.1, 3.1.2 or 3.2.
I'm having various issues with device or simulator builds, but a common one is :
error: Invalid DWARF in /Users/Rob/Desktop/iPhoneProjects/iTGB_1_3_1_Virgin copy/MyProjects/iPhoneExample/buildFiles/XCode_iPhone/build/iTorque2D.build/Release-iphonesimulator/iTorque2DGame_sim.build/Objects-normal/i386/SoundEngine.o: DIE 0x00001859 has multiple AT_byte_size attributes.
If someone could just simply confirm they've been able to get this working it would be a brilliant help,
Thanks,
Rob
Can anyone confirm success at building vanilla iTGB 1.3.1 in the latest xcode. I've been playing for hours with build settings/deployment targets/base sdks and just cannot get it to play ball.
Not trying to compile against 4.0 or anything just 3.0, 3.1, 3.1.1, 3.1.2 or 3.2.
I'm having various issues with device or simulator builds, but a common one is :
error: Invalid DWARF in /Users/Rob/Desktop/iPhoneProjects/iTGB_1_3_1_Virgin copy/MyProjects/iPhoneExample/buildFiles/XCode_iPhone/build/iTorque2D.build/Release-iphonesimulator/iTorque2DGame_sim.build/Objects-normal/i386/SoundEngine.o: DIE 0x00001859 has multiple AT_byte_size attributes.
If someone could just simply confirm they've been able to get this working it would be a brilliant help,
Thanks,
Rob
#2
Has anyone had any success with this? I get this DWARF error no matter what I change or meddle with, and it's related to soundengine.mm
Googling the error I get yields nothing but this thread! Any help would be much appreciated and save me a lot of hair pulling.
04/12/2010 (12:50 pm)
I think I'm going to cry soon.Has anyone had any success with this? I get this DWARF error no matter what I change or meddle with, and it's related to soundengine.mm
Googling the error I get yields nothing but this thread! Any help would be much appreciated and save me a lot of hair pulling.
#3
04/13/2010 (10:48 pm)
Having no such issues with Xcode 3.2.2....Reinstall 3.2.2 ?
#4
04/13/2010 (11:47 pm)
check your whole project config if really 4.2 is used, not 4.0 due to configuration on the application or in the project
#5
05/05/2010 (6:51 pm)
I'm having the same problem. It's not related to sound. I get this in a C++ library. I have tried every permutation of the build and nothing changes it. I am on the 3.2.3 beta.
#6
05/05/2010 (10:56 pm)
I did some additional digging and suspect it's related to a GNU problem as I can make the problem appear outside of XCode. The XCode application is getting compiled and linked, but there is a debug symbol linker (dsymutil) that fails, and this stops the process in XCode. I checked my binaries using dwarfdump and I indeed have debug symbol duplicates. So, I think the beta version may have brought along a broken version of the GNU compiler. This would imply a reversion to an earlier stable release should fix it. Perhaps it might be possible to extract the gnu compiler from and earlier release and inject it into the 3.2.3 tree(?)
Torque 3D Owner Rob Sandbach
indiespring
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/bits/stl_algobase.h:64:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/bits/stl_algobase.h:64:28: error: bits/c++config.h: No such file or directory
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/iosfwd:45:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/iosfwd:45:29: error: bits/c++locale.h: No such file or directory
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/iosfwd:46:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/iosfwd:46:25: error: bits/c++io.h: No such file or directory
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/bits/allocator.h:52:0 /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/usr/include/c++/4.0.0/bits/allocator.h:52:31: error: bits/c++allocator.h: No such file or directory
Not sure why 4.0.0 is listed as I'm using GCC 4.2?