FMOD on Raspberry

Hello!

I’m trying to create a small app for raspberry pi 2 and I’d like to add to use FMOD on it. I have read somewhere that this is already supported but i cannot make it work.

I’m trying to use the armhf library and it doesn’t complains when the app loads it but when i try to execute the app somewhere in the library i get a SIGSEV when I create the FMOD::System.

I suppose this is not usable, but here is the “dump” I can see on gdb.

Program terminated with signal SIGSEGV, Segmentation fault.

#0  0x76e88174 in ?? () from /usr/lib/libfmod.so.6
(gdb) bt
#0  0x76e88174 in ?? () from /usr/lib/libfmod.so.6
#1  0x76e81880 in ?? () from /usr/lib/libfmod.so.6

Thanks!

After a bit more hardcore debugging, I found that the reason was I didn’t have alsa-lib installed. Now seems to be working perfect!! :smiley:

I’m glad you found the issue, crashing on no ALSA isn’t great though. I’ll see if that can be smoothed over. I was going to suggest linking with the logging version of FMOD, perhaps it would have given some indication of the error before failing?

is there a logging version of the library? (facepalm) I’ll try to test it to see if it show more info. Thanks!