Help porting a (SDL)game to 32 bits Haiku?

Hi all,

I need a help porting (compiling) the VigasocoSDL (The abbey of crime) into 32 bits Haiku.

It use libsdl and in 64 bits works fine:

screenshot9

but in 32 bits it cant compile with the next error:

i’ve diff the 64 bits version and the 32 bits version of this folder and file ↔ file… the same content…

Maybe the error is in other place (sdl, gcc… idk)

Can anyone test this, please? My skills are very limitated :frowning:

This is the project page: GitHub - luzbel/VigasocoSDL: Temporal workspace for newest version of VigasocoSDL while the full history is recovered

Thanks in advanced :slight_smile:

Which compiler are you using? On 32 bit Haiku the default compiler is the very old gcc 2.95. To switch to the modern gcc (version 13 at the moment) you have to type “setarch x86”
And the development packages are separate too. For gcc 13 you need the ones with x86 at the end of the name.
Hope that helps.

Oh, and one more thing: If possible please post compiler output as text instead of a screen photo. It’s much more pleasant to read.

1 Like

Building inside a haikuporter chroot is usually better to get things correct on both architectures.

1 Like