Page 1 of 1

RebelSDL problems.

Posted: Fri Aug 07, 2026 10:29 am
by Bugala
Turning here if someone has been dealing with these problems before.

A very strange problem happened.

I had these two lines:

Code: Select all

@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True}
And it started (Under Flowerpot AOS4 emulation) normally, and didnt crash until it was trying to load an audio file.

To prevent this from happening, I did one change:

Code: Select all

@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True, UseAudioAdapter=False}
After this I started getting error of: SDL2 not found on this system, pointing to the line number 2, the @REQUIRE rebelsdl

Strange part is, even I changed the code back to:

Code: Select all

@REQUIRE "avcodec", {Link = True}/* For AmigaOS4, maybe MorphOS too */
@REQUIRE "rebelsdl", {Link = True}
And even restarted Flowerpot, I still keep getting the same error.



Anyone know where the problem is actually?

Do I actually need to install SDL2 to AOS4, or is problem somewhere elsewhere, since, once again, it didnt give that error before, only after I had tried to add the UseAudioAdapter=False.



Second thing. Which is related to the original problem.

How does taking over things happen with @REQUIRE.

As in, RebelSDL takes over the audio. But if I want to use avcodec instead, then what way do I achieve this.

As in, If I simply use UseAudioAdapter=False for RebelSDL, is this enough, or does it also matter in what order those @Requires are done?

For example, should I first @REQUIRE RebelsSDL, then on next line AvCodec. And if doing this way, will I even need to use UseAudioAdapter=False, or will the AvCodec @Required after RebelSDL actually take over REbelSDLs audio?

Re: RebelSDL problems.

Posted: Fri Aug 07, 2026 4:23 pm
by plouf
Bugala wrote: Fri Aug 07, 2026 10:29 am Do I actually need to install SDL2 to AOS4, or is problem somewhere elsewhere, since, once again, it didnt give that error before, only after I had tried to add the UseAudioAdapter=False.
only have a comment for this sentence
revelSDL clearly requires sdl2 2.0.12 or newer isntalled ->https://os4depot.net/?function=showfile ... c/sdl2.lha

Re: RebelSDL problems.

Posted: Fri Aug 07, 2026 4:54 pm
by Bugala
Thanks! This was already an important clarification. Didnt want to start installing anything, until I was first confirmed this is how it should be, especially, since I am trying to keep my flowerpot sort in sort of vanilla installation to be able to see what problems players might encounter.

Must be there was some error in my original lines, since otherwise it should have given that error before too.