latest emscripten installed today
VS2022 installed today
commands for compiling:
emcmake cmake -S. -Bbuild-em -DCMAKE_BUILD_TYPE=Release
embuilder build sdl2 sdl2_ttf sdl2_image sdl2_image_jpg sdl2_image_png
cmake --build build-em -j $(getconf _NPROCESSORS_ONLN)
File "C:\emsdk-main\upstream\emscripten\tools\cache.py", line 68, in lock
acquire_cache_lock(reason)
File "C:\emsdk-main\upstream\emscripten\tools\cache.py", line 42, in acquire_cache_lock
assert 'EM_CACHE_IS_LOCKED' not in os.environ, f'attempt to lock the cache while a parent process is holding the lock ({reason})'
AssertionError: attempt to lock the cache while a parent process is holding the lock (sysroot\lib\wasm32-emscripten\thinlto\libSDL2.a)
googled it and found same error in 2020 and 2023 -> all said its fixed on windows -> but it isnt
actually first time i didnt use
embuilder build sdl2 sdl2_ttf sdl2_image sdl2_image_jpg sdl2_image_png
but i restarted pc
full log: emsdk-err.log