Crash on OSX

Previous topic - Next topic

jboadas

Hello  everybody.

This is my first post, I Just download the Free SDK V9 and compile my first program:

PRINT "This is a Test for OSX",10,10
SHOWSCREEN
MOUSEWAIT

this works well in Windows but on OSX I get a crash report, then run the application from the comand line /Contents/MacOS/MacOS and get
the following error

"DECLARE module not found: soundengine.dylib"

I check the directory /Contents/MacOS and have two files MacOS and SoundEngine.dylib recheck the permission and ownership of the files
but everything looks good any clues on this issue.

Thanks in advance 

MrTAToad

What version of OSX are you using?  Later versions of OSX have permission problems after transferring the program from a PC

jboadas

Im Using Leopard 10.5.8

MrTAToad

No-one has come up with that problem before, so it looks like permission problems...

jboadas

I also suspect that is a permission problem and download examples from here to compare but the examples I found doesn't have the file soundengine.dylib only have the file MacOSX on that directory I'll keep looking

Thanks

Kitty Hello

Please try the V10 RC now. I don't think support for V9 makes much sense now, anymore. I'm about to release.

jboadas

Test with SDK V10 today and getting the seem error, any clues ?  I re-check all permissions and everything seem to be ok also anybody have a compiled example working on OSX with V10 to compare.

Best Regards. 

Kitty Hello

@Trucidare - can you help?

jboadas

V8 is Working Ok ... and doesn't have this file SoundEngine.dylib

Kitty Hello

yes. we added that new sound engine in V9.3xx I think. But it's working fine on my builds. In the .app directory - do you have the file:
$Project\distribute\MacOSX\xml_parser.app\Contents\MacOS\SoundEngine.dylib

It should be there. Also, be sure you use the build from the "distribute" directory - not the "old" .app one.

jboadas

Yep I have SoundEngine.dylib in that directory and the permission are ok. but still the app not running. I am the only Mac user testing GLBasic ?

trucidare

i need the package for tests
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

Here is the application.

Best regads

[attachment deleted by admin]

jboadas

I dont know if this matters but I'm using Windows XP on BootCamp in a MacBook, I will try in a native Windows 7 to see if it make the diference.

jboadas

Just compiled the program on a diferent machine and get the seem result:

Process:         MacOSX [164]
Path:            /Users/mymac/Downloads/testw7.app/Contents/MacOS/MacOSX
Identifier:      com.yourcompany.testw7
Version:         0.001.0 (0.001.0)
Code Type:       X86 (Native)
Parent Process:  launchd [104]

Exception Type:  EXC_CRASH (SIGBUS)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Crashed Thread:  1

Thread 0:
0   ???                              0000000000 0 + 0
1   com.yourcompany.testw7           0x00030918 __GlobalInit + 2518
2   com.yourcompany.testw7           0x00019166 SDL_main + 786
3   com.yourcompany.testw7           0x00003eba -[SDLMain applicationDidFinishLaunching:] + 88 (SDLMain.m:302)
4   com.apple.Foundation             0x91fbe52c _nsnote_callback + 364

and from the console:

DECLARE module not found: soundengine.dylib

Thanks in advance