Segata Sanshiro
Member
Has anyone tried to compile SDL_sound for the Wiz? (specifically, with OGG support via Tremor). Since I couldn't get the official "configure" script to work, I tried using code::blocks and the latest official libraries (the ones that come with the recently released 10.02 SDK). After a few tries it compiled and linked fine (my first attempts didn't link correctly and returned "symbol lookup errors"). I could see my example program starting on Qtopia's terminal and output some preliminary debug messages, but then it'd exit on this error:
The same program runs fine on the PC.
I had to change a couple of lines in the source code so it'd use libivorbis (fixed point Vorbis implementation, it comes preinstalled in the Wiz) instead of the standard libvorbis which SDL_sound uses on the PC. Maybe those changes broke something, I don't know. Would this be worth debugging? I mean, I come from a Java background and I'm still catching up, so maybe the problem is a bit advanced for me yet.
If anyone has tried compiling SDL_sound with OGG support and is willing to share their findings (and, why not, binaries and sources ), I'd be grateful. I know this same library was ported to the GP2X but I only found the binaries (I'd have to ask the authors for the code) and they don't seem to come with OGG support (or at least I didn't see anything relevant with readelf).
Code:
*** glibc detected *** malloc(): memory corruption: 0x000bd840 ***
The same program runs fine on the PC.
I had to change a couple of lines in the source code so it'd use libivorbis (fixed point Vorbis implementation, it comes preinstalled in the Wiz) instead of the standard libvorbis which SDL_sound uses on the PC. Maybe those changes broke something, I don't know. Would this be worth debugging? I mean, I come from a Java background and I'm still catching up, so maybe the problem is a bit advanced for me yet.
If anyone has tried compiling SDL_sound with OGG support and is willing to share their findings (and, why not, binaries and sources ), I'd be grateful. I know this same library was ported to the GP2X but I only found the binaries (I'd have to ask the authors for the code) and they don't seem to come with OGG support (or at least I didn't see anything relevant with readelf).