Apologies, I should have mentioned this in the changelog.

The breakage was caused by
https://github.com/emscripten-core/emscripten/pull/24306, and I've just
uploaded a PR to update the changelog:
https://github.com/emscripten-core/emscripten/pull/24395

Basically, with 4.0.9 and above you now need to install SDL2 and SDL3
somehow before cmake can detect their presence.   See the above PR s for
more on this.

cheers,
sam

On Thu, May 22, 2025 at 5:55 AM キャロウ マーク <git...@callow.im> wrote:

> My build using the Docker image was working fine with 4.0.7. After update
> to 4.0.9 it has broken. I am getting errors during CMake config:
>
> CMake Error at 
> /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 
> (message):
>   Could NOT find SDL2 (missing: SDL2_LIBRARY SDL2_INCLUDE_DIR)
> Call Stack (most recent call first):
>   /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 
> (_FPHSA_FAILURE_MESSAGE)
>   cmake/modules/FindSDL2.cmake:206 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
>   tests/loadtests/CMakeLists.txt:35 (find_package)
>
> I tried changing `-s USE_SDL=2` to `--use-port=sdl2` but the problem still
> happens. I see nothing in the changelog to indicate any change regarding
> use of the SDL2 port.
>
> Anyone know what changed and how to workaround it?
>
> Regards
>
>     -Mark
>
> --
> You received this message because you are subscribed to the Google Groups
> "emscripten-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to emscripten-discuss+unsubscr...@googlegroups.com.
> To view this discussion visit
> https://groups.google.com/d/msgid/emscripten-discuss/9E5C92E4-39DD-4072-8C50-434B2EC8BE0D%40callow.im
> <https://groups.google.com/d/msgid/emscripten-discuss/9E5C92E4-39DD-4072-8C50-434B2EC8BE0D%40callow.im?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to emscripten-discuss+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/emscripten-discuss/CAL_va2_bJNvNWiWOEXwooT3N5bACOhqLXKMBhfRm%3D6yOdotC9A%40mail.gmail.com.

Reply via email to