URGENT HELP!!!! Mac compiling for TGB
by Gonzalo Girault · in Torque Game Builder · 07/28/2009 (4:52 pm) · 12 replies
I cannot open a project i made on my PC on my MAC, it is weird, i can open many other projects and i can create the game on the MAC but this one is givin troubles, it doesn't let me open up the project at all, TGB just crashes without exxplanation.
About the author
Founder of one of the first mexican videogame companies. follow us on twitter: www.twitter.com/arcadiamx
#2
10/20/2010 (8:21 pm)
Open your console.log and find what is causing the problem with the project file. I haven't seen this issue when working between Windows 7 Enterprise 64b and OS X 10.6.4.
#3
"Unknown Getstalt value for processor type: 0x426f69ef
platform layer should be changed to use sysctl() instead of Gestalt() .
Unknown Processor, assuming x86 Compatible, 2147 Mhz"
10/21/2010 (9:04 am)
Thanx David, but in the first way i ignored the console.log and took a look at the crashrepport where - to be honest - i don´t really understand where to find the error - also in the console.log the only thing which seems to be noticeable is:"Unknown Getstalt value for processor type: 0x426f69ef
platform layer should be changed to use sysctl() instead of Gestalt() .
Unknown Processor, assuming x86 Compatible, 2147 Mhz"
#4
thanks a lot
console.log
-----------
10/21/2010 (9:19 am)
I think post the console.log and the crashreport, also it´s very much - sorry for that but pherhaps somebody can tell me what to do ...thanks a lot
console.log
-----------
//-------------------------- 10/21/2010 -- 10:49:02 ----- System & Processor Information: MacOS version: 10.6.4 CarbonLib version: 1.6.0 Physical RAM: 2047MB Logical RAM: 2047MB Unknown Getstalt value for processor type: 0x426f69ef platform layer should be changed to use sysctl() instead of Gestalt() . Unknown Processor, assuming x86 Compatible, 2147 Mhz FPU detected Math Init: Installing Standard C extensions Input Init: Video Init: active displays = 0x100e0bc CGDisplayID = 0x4271a80 using display 0x100e0bc Accelerated OpenGL display device detected. Initializing chunk mappings... o 'TEXT' maps to TextChunk o 'SCHK' maps to UnknownChunk o 'SCHK' maps to SimChunk Loading compiled script /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/common/main.cs. Loading compiled script /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/tools/main.cs. Loading compiled script /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/common/preferences/defaultPrefs.cs. common/preferences/defaultPrefs.cs (86): Unable to find function initDisplayDeviceInfo Using OpenGL rendering. Fullscreen: 0 ... Binding server port to default IP UDP initialized on port 0 Activating the OpenGL display device... OpenGLDevice activating... OpenGL driver information: Vendor: ATI Technologies Inc. Renderer: ATI Radeon HD 2400 XT OpenGL Engine Version: 2.1 ATI-1.6.18 OpenGL Init: Enabled Extensions ARB_multitexture (Max Texture Units: 8) EXT_blend_color EXT_blend_minmax EXT_compiled_vertex_array EXT_texture_env_combine EXT_packed_pixels EXT_fog_coord ARB_texture_compression EXT_texture_compression_s3tc (ARB|EXT)_texture_env_add EXT_texture_filter_anisotropic (Max anisotropy: 16.000000) Vertical Sync ATI_FSAA OpenGL Init: Disabled Extensions EXT_paletted_texture NV_vertex_array_range 3DFX_texture_compression_FXT1 set screen mode 1680 x 1050 x 32, windowed, force it, dont repaint Cleaning up the display device... Killing the texture manager... Clearing the current AGL context... Clearing the current drawable... Deleting the rendering context... >> Attempting to change display settings to windowed 1680x1050x32... using display 0x100e0bc Set up AGL windowed support Cleared gl buffers >>Number of FSAA samples is now [1]. Resurrecting the texture manager... Max Texture Size reported as: 8192 OpenAL Driver Init: Vendor: Apple Computer Inc. Version: 1.1 Renderer: Software Extensions: AL_EXT_OFFSET AL_EXT_LINEAR_DISTANCE AL_EXT_EXPONENT_DISTANCE AL_EXT_float32 AL_EXT_STATIC_BUFFER Loading compiled script /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/common/gui/profiles.cs. ... ... creating path /Users/Daedalic/Library/Application Support/GarageGames/TorqueGameBuilder/compiledScripts/tools/levelEditor/scripts/forms/quickEditClasses/quickEditFields/textCommandButton.ed.cs.edso ... Loading compiled script /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/tools/gui/messageBoxes/messagePopup.ed.gui. Torque Game Builder (v1.7.5) initialized... % Opening Project /daedalic work/simon n/romeo/trunk/project.t2dProj ... Executing /daedalic work/simon n/romeo/trunk/resources/splashScreen/resourceDatabase.cs. Executing /daedalic work/simon n/romeo/trunk/resources/splashScreen/behaviors/splashScreen.cs. % Game Resources : Loaded Resource splashScreen
#5
---------------------
10/21/2010 (9:27 am)
crashreport - part 1:---------------------
Process: Torque Game Builder [222] Path: /daedalic work/simon n/Torque Game Builder 1.7.5 Pro/tgb/Torque Game Builder.app/Contents/MacOS/Torque Game Builder Identifier: com.garagegames.torqueGameBuilder Version: Copyright 2001-2006 GarageGames.com, Inc. All rights reserved. (1.5) Code Type: X86 (Native) Parent Process: launchd [80] Date/Time: 2010-10-21 10:49:05.187 +0200 OS Version: Mac OS X 10.6.4 (10F569) Report Version: 6 Exception Type: EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000 Crashed Thread: 0 Dispatch queue: com.apple.main-thread Thread 0 Crashed: Dispatch queue: com.apple.main-thread 0 ??? 0000000000 0 + 0 1 ...ragegames.torqueGameBuilder 0x0005655d 0x1000 + 349533 2 ... some memory stuff 32 Thread 1: Dispatch queue: com.apple.libdispatch-manager 0 libSystem.B.dylib 0x96497942 kevent + 10 1 libSystem.B.dylib 0x9649805c _dispatch_mgr_invoke + 215 2 libSystem.B.dylib 0x96497519 _dispatch_queue_invoke + 163 3 libSystem.B.dylib 0x964972be _dispatch_worker_thread2 + 240 4 libSystem.B.dylib 0x96496d41 _pthread_wqthread + 390 5 libSystem.B.dylib 0x96496b86 start_wqthread + 30 Thread 2: 0 libSystem.B.dylib 0x964969d2 __workq_kernreturn + 10 1 libSystem.B.dylib 0x96496f68 _pthread_wqthread + 941 2 libSystem.B.dylib 0x96496b86 start_wqthread + 30 Thread 3: 0 libSystem.B.dylib 0x9649f066 __semwait_signal + 10 1 libSystem.B.dylib 0x964cac64 nanosleep$UNIX2003 + 188 2 libSystem.B.dylib 0x964caba2 usleep$UNIX2003 + 61 3 ...ragegames.torqueGameBuilder 0x002d8e9c 0x1000 + 2981532 4 ...ragegames.torqueGameBuilder 0x00183c23 0x1000 + 1584163 5 libSystem.B.dylib 0x9649e81d _pthread_start + 345 6 libSystem.B.dylib 0x9649e6a2 thread_start + 34 Thread 4: 0 com.apple.framework.IOKit 0x997377f7 iokit_user_client_trap + 7 1 com.apple.audio.CoreAudio 0x972bdb86 IOA_HWDevice::WriteOutputData(unsigned long, unsigned long, unsigned long, unsigned long long) + 108 2 com.apple.audio.CoreAudio 0x972bd9a2 IOA_SingleDevice::WriteOutputData(AudioTimeStamp const&, unsigned long) + 422 3 com.apple.audio.CoreAudio 0x972bd285 IOA_Device::CallIOProcs(AudioTimeStamp const&, AudioTimeStamp const&, AudioTimeStamp const&) + 573 4 com.apple.audio.CoreAudio 0x972bcfb6 HP_IOThread::PerformIO(AudioTimeStamp const&, double) + 620 5 com.apple.audio.CoreAudio 0x972ba39a HP_IOThread::WorkLoop() + 2506 6 com.apple.audio.CoreAudio 0x972b99cb HP_IOThread::ThreadEntry(HP_IOThread*) + 17 7 com.apple.audio.CoreAudio 0x972b98e2 CAPThread::Entry(CAPThread*) + 140 8 libSystem.B.dylib 0x9649e81d _pthread_start + 345 9 libSystem.B.dylib 0x9649e6a2 thread_start + 34 Thread 0 crashed with X86 Thread State (32-bit): eax: 0x0042fa58 ebx: 0xbfffa298 ecx: 0x96477442 edx: 0x00000016 edi: 0x0004e000 esi: 0x016108c4 ebp: 0xbfffa158 esp: 0xbfffa11c ss: 0x0000001f efl: 0x00010246 eip: 0x00000000 cs: 0x00000017 ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037 cr2: 0x00000000
#6
-------------------
10/21/2010 (9:28 am)
crashreport part 2:-------------------
Binary Images:
0x1000 - 0x416ff7 +com.garagegames.torqueGameBuilder Copyright 2001-2006 GarageGames.com, Inc. All rights reserved. (1.5) <...
0x5be000 - 0x5e6feb com.apple.audio.OpenAL 1.3 (1.3) <17F53393-0AA6-5FC6-6544-7EFAFB7F13AD> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
0x661000 - 0x684fe7 GLRendererFloat ??? (???) <D71788AA-645A-02CF-201F-E44F073F98D7> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
0x13c1a000 - 0x13d91fe7 GLEngine ??? (???) <0FC1F7CA-5C84-A7F6-105B-169383B50A94> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x13dc3000 - 0x1419afef com.apple.ATIRadeonX2000GLDriver 1.6.18 (6.1.8) <C34DC956-F048-0119-209F-B68C3769FF67> /System/Library/Extensions/ATIRadeonX2000GLDriver.bundle/Contents/MacOS/ATIRadeonX2000GLDriver
0x149a2000 - 0x149a6ff3 ...
<C4FB303A-DB4D-F9E8-181C-129585E59603> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x904e0000 - 0x906bbff3 libType1Scaler.dylib ??? (???) <6FBA8250-3271-6ED4-052D-E27C2136E38F> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libType1Scaler.dylib
0x906fa000 - 0x90708ff7 ...
0x91040000 - 0x91064ff7 libJPEG.dylib ??? (???) <5CE96981-6B2A-D15B-4A17-E7BD329095B6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x91065000 - ...
0x92094000 - 0x920f5fe7 com.apple.CoreText 3.1.0 (???) <1372DABE-F183-DD03-03C2-64B2464A4FD5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x920f6000 - 0x920f9ff7 libCGXType.A.dylib 543.50.0 (compatibility 64.0.0) ...
0x92222000 - 0x92268ff7 libauto.dylib ??? (???) <85670A64-3B67-8162-D441-D8E0BE15CA94> /usr/lib/libauto.dylib
0x92457000 - 0x924c6ff7 libvMisc.dylib 268.0.1 (compatibility 1.0.0) <706684C7-AFA0-B036-274A-D02F8961DED5> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x9272d000 - 0x9275eff3 libTrueTypeScaler.dylib ??? (???) <7601D717-236D-8F4E-91F5-E69BB2920478> ...
0x92767000 - 0x92769ff7 libRadiance.dylib ??? (???) <AB06F616-E3EA-5966-029A-8AA44BBE5B28> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x9276a000 - 0x92805ff7 com.apple.ApplicationServices.ATS 275.11.1 (???) ...
0x92893000 - 0x92896ff7 libCoreVMClient.dylib ??? (???) <CA0BA8DC-0159-A808-A300-750358A6970C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
...
<751955F3-21FB-A03A-4E92-1F3D4EFB8C5B> /usr/lib/libresolv.9.dylib
0x9325d000 - 0x93261ff7 IOSurface ??? (???) <66E11D8E-CF4B-EFD0-37F9-20177C647021> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
.../CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x9348c000 - 0x93497ff7 libGL.dylib ??? (???) <B87E0676-F5EF-8DA3-6DEE-13C43B3832A7> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x93498000 - 0x93545fe7 libobjc.A.dylib 227.0.0 (compatibility 1.0.0) <DF8E4CFA-3719-3415-0BF1-E8C5E561C3B1> /usr/lib/libobjc.A.dylib
0x938e7000 - 0x93c07feb com.apple.CoreServices.CarbonCore 861.13 (861.13) <52803668-3669-36BD-57DD-078FBA835081> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x93c08000 - 0x93c0cff7 libGIF.dylib ??? (???) <3ECD4D2C-40FE-E9A0-A2D2-E36D1C00D3A8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
...
/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x941de000 - 0x941fafe3 com.apple.openscripting 1.3.1 (???) <DA16DE48-59F4-C94B-EBE3-7FAF772211A2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
...
#7
-------------------
sorry for posting so much stuff ....
------
why there are so many questionsmarkes inside the report ?
10/21/2010 (9:31 am)
crashreport part 3:-------------------
<3CE8AA79-F077-F1B0-A039-9103A4A02E92> /usr/lib/libz.1.dylib 0x956b0000 - 0x956b0ff7 liblangid.dylib ??? (???) <B99607FC-5646-32C8-2C16-AFB5EA9097C2> /usr/lib/liblangid.dylib 0x956ed000 - 0x957caff7 com.apple.vImage 4.0 (4.0) <64597E4B-F144-DBB3-F428-0EC3D9A1219E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x957cb000 - 0x957dfffb com.apple.speech.synthesis.framework 3.10.35 (3.10.35) <57DD5458-4F24-DA7D-0927-C3321A65D743> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x957e0000 - 0x957f0ff7 libsasl2.2.dylib 3.15.0 (compatibility 3.0.0) <C8744EA3-0AB7-CD03-E639-C4F2B910BE5D> /usr/lib/libsasl2.2.dylib 0x9581f000 - 0x9585afeb libFontRegistry.dylib ??? (???) <A102F61F-25D5-001A-20C3-56304C585072> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework... 0x95eb6000 - 0x95f5effb com.apple.QD 3.35 (???) <B80B64BC-958B-DA9E-50F9-D7E8333CC5A2> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x96256000 - 0x96348ff7 libcrypto.0.9.8.dylib 0.9.8 (compatibility 0.9.8) <D2C86308-F998-C83D-F49B-CD484D4EFE6A> /usr/lib/libcrypto.0.9.8.dylib 0x96470000 - 0x96616feb libSystem.B.dylib 125.2.0 (compatibility 1.0.0) <3441F338-2218-6D36-3F95-3A16FBF6713D> /usr/lib/libSystem.B.dylib 0x96690000 - 0x966d2ff7 libvDSP.dylib 268.0.1 (compatibility 1.0.0) <29E5ABCF-6D8A-0CE0-B480-C7D240FF8575> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x966d3000 - 0x966eeff7 libPng.dylib ??? (???) <36A3D75E-5178-4358-7F02-444E276D61AD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x966ef000 - 0x96a13fef com.apple.HIToolbox 1.6.3 (???) <0A5F56E2-9AF3-728D-70AE-429522AEAD8A> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x96b90000 - 0x96b9cff7 libkxld.dylib ??? (???) <322A4B52-8305-3081-6B74-813C3A87A56D> /usr/lib/system/libkxld.dylib 0x96b9d000 - 0x96c53ffb libFontParser.dylib ??? (???) <067DC1A2-764B-41EA-B07E-4205472749B7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib ... 0x96edb000 - 0x96f0cff7 libGLImage.dylib ??? (???) <9340012D-595A-6243-9C97-7D30D76D9D9E> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x9716e000 - 0x97182fe7 libbsm.0.dylib ??? (???) <14CB053A-7C47-96DA-E415-0906BA1B78C9> /usr/lib/libbsm.0.dylib 0x97183000 - 0x97183ff7 com.apple.ApplicationServices 38 (38) <8012B504-3D83-BFBB-DA65-065E061CFE03> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x9719d000 - 0x9719dff7 com.apple.Cocoa 6.6 (???) <EA27B428-5904-B00B-397A-185588698BCC> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x971ca000 - 0x9720dff7 libGLU.dylib ??? (???) <2093A1FB-67BD-39E0-CDE5-A97A77BDDBCE> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib ... 0x98832000 - 0x99021557 com.apple.CoreGraphics 1.545.0 (???) <DCED8E1A-7504-C31A-B6EF-98BFF1A61060> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics ... 0x996e6000 - 0x9972ffe7 libTIFF.dylib ??? (???) <9CFF48CC-4852-4D06-17AC-3C947C824159> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x99730000 - 0x9978bff7 com.apple.framework.IOKit 2.0 (???) <A013B850-6ECB-594A-CBD6-DB156B11871B> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x997bf000 - 0x99841ffb SecurityFoundation ??? (???) <3670AE8B-06DA-C447-EB14-79423DB9C474> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x99842000 - 0x99846ff7 libGFXShared.dylib ??? (???) <2D32BDBF-C941-93FD-E233-F03D28DB9E94> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib ... 0xffff0000 - 0xffff1fff libSystem.B.dylib ??? (???) <3441F338-2218-6D36-3F95-3A16FBF6713D> /usr/lib/libSystem.B.dylib
sorry for posting so much stuff ....
------
why there are so many questionsmarkes inside the report ?
#8
10/21/2010 (1:13 pm)
Just for fun, move your project to a path that does not include spaces and retry it.
#9
10/22/2010 (9:41 am)
No that make no difference
#10
10/22/2010 (2:02 pm)
Can you create a new project on the Mac and open it in Windows? Can you do the same with a new blank project on Windows and open it on the Mac? I did this last night to see if there was anything that I could see and it worked correctly.
#11
so far thanx for helping
10/22/2010 (2:29 pm)
I think i found the error, just have to do some "tests". The steps you suggested i already made, because other projects opened instead of this one. There is the problem that this project have many many jpgs inside and before i read that MAC-TGE have probs with jpg-decoding ?! (progressive ones?) Found it by debugging the code ...so far thanx for helping
#12
10/25/2010 (10:32 am)
it were definitely the *.jpgs i used in the project, i changed them to *.pngs and the project/TGB finally runs.
Simon Nguyen
Does anybody have some suggestions where to search (and find) the error?
Thanx
Simon