set(CMAKE_C_FLAGS "-s SINGLE_FILE=1 -s USE_PTHREADS=0 -fsigned-char -W -Wall -Wreturn-type -Wnon-virtual-dtor -Waddress -Wsequence-point -Wformat -Wformat-security ...
emscripten 3.1.57, or latest git version. So far, nothing really shows that the problem comes from emscripten. OpenCV.js does not work for me when built with WASM threads enabled (--threads option ...