Crash on OSX

Previous topic - Next topic

MrTAToad

Is SoundEngine part of OpenAL ?

Kitty Hello

no, part of GLBasic.

jboadas

Also using otool seems to be ok but some diferences on libraries version

otool -L SoundEngine.dylib 
SoundEngine.dylib:
   SoundEngine.dylib (compatibility version 0.0.0, current version 0.0.0)
   /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL (compatibility version 1.0.0, current version 1.0.0)
   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio (compatibility version 1.0.0, current version 1.0.0)
   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.42.0)
   /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox (compatibility version 1.0.0, current version 1.0.0)
   /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 7.9.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.2.1)
   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.42.0)


otool -L MacOSX
MacOSX:
   /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL (compatibility version 1.0.0, current version 1.0.0)
   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa (compatibility version 1.0.0, current version 11.0.0)
   /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime (compatibility version 1.0.0, current version 63.0.0)
   @executable_path/../Frameworks/SDL.framework/Versions/A/SDL (compatibility version 1.0.0, current version 1.0.0)
   /usr/lib/libgcc_s.1.dylib (compatibility version 1.0.0, current version 1.0.0)
   /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 88.1.3)

trucidare

let me have a look
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

trucidare

works fine here

[attachment deleted by admin]
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

erico

I have a hackintosh running osx 10.6.7

your test program worked fine here too.

jboadas

Well Now Im almost crazy, Im using Leopard 10.5.8 are you using any different ?   

erico

#22
I don´t know which osx trucidare has,
like I said mine is 10.6.7

I once installed a 10.5.8 on the same machine(~6 months ago), glbasic programs worked too.
I can´t remember the glbasic version I runned there though..

both installs are quite clean, just system and nothing more, I use then to check if things are working on mac.

sorry I don´t have enough knowledge of macs to have any hints on this.

PS: ops I once had a problem, it was related to transfering the files, something to do with flags, so I zipped it into my pc and copied to mac and unzipped there, then it worked (kitty´s recommendation).
original thread here:
http://www.glbasic.com/forum/index.php?topic=6029.msg47525#msg47525

Kitty Hello

Why is it displaying "DEMO" - are you using network, inline or 3D stuff?

trucidare

#24
uhm could anyone check if i compiled the soundengine.dylib for snow leo and higherß??? i know its intel only but the target level i dont know anymore
MacBook Pro 2,2 GHz Core 2 Duo, 4 GB RAM, 160 GB HDD, 8600M GT
Core i3 - 3,07 GHz, 8 GB Ram, 2.5 TB HDD, Geforce GTX 260+ OC

jboadas

I dont think so
Im creating a sprite 32x32 then grab the sprite and createscreen of 256x256 sprites then use this screen to scroll the actual screen of 640X480

Kitty Hello

paste me the compile output when you compile for OSX, please.

jboadas

Compiler Output:

*** Configuration: OS-X_X86 ***
precompiling:
GPC - GLBasic Precompiler V.8.013 SN:a6cb957b - 2D, WIN32
Wordcount:4 commands
compile+link:
cygwin warning:
  MS-DOS style path detected: C:\GLDevel\testXP\MacIcon.icns
  Preferred POSIX equivalent is: /cygdrive/c/GLDevel/testXP/MacIcon.icns
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user's guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Using icns type 'ic09' (ARGB) for 'C:\GLDevel\testXP\tmpMacIcon.png'
Saved icns file to C:\GLDevel\testXP\MacIcon.icns
Creating .app for testXP
run: "C:\GLBasic\Tools\Icons.exe" "C:\GLDevel\testXP\icon.png" /MACOSX
success
_______________________________________
*** Finished ***
Elapsed: 5.7 sec. Time: 11:24
Build: 1 succeeded.