On the last main branch png files fail to load but jpg, bmp all work
The only related exception I can find is the following:
missing function: png_sig_cmp
My build script:
emcmake cmake .. -G Ninja \
-DSDLIMAGE_BMP=ON \
-DSDLIMAGE_JPG=ON \
-DSDLIMAGE_PNG=ON \
-DSDLIMAGE_AVIF=OFF \
-DSDLIMAGE_WEBP=OFF \
-DSDLIMAGE_GIF=OFF \
-DSDLIMAGE_JXL=OFF \
-DSDLIMAGE_LBM=OFF \
-DSDLIMAGE_PCX=OFF \
-DSDLIMAGE_PNM=OFF \
-DSDLIMAGE_QOI=OFF \
-DSDLIMAGE_SVG=OFF \
-DSDLIMAGE_TGA=OFF \
-DSDLIMAGE_TIF=OFF \
-DSDLIMAGE_XCF=OFF \
-DSDLIMAGE_XPM=OFF \
-DSDLIMAGE_XV=OFF \
-DSDLIMAGE_TESTS=OFF \
-DSDLIMAGE_VENDORED=ON \
-DSDLIMAGE_DEPS_SHARED=OFF \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX="$INSTALLPATH" \
-DCMAKE_C_FLAGS="-fwasm-exceptions -sSUPPORT_LONGJMP=wasm" \
-DCMAKE_CXX_FLAGS="-fwasm-exceptions -sSUPPORT_LONGJMP=wasm" \
-DSDL3_DIR="$MODULES_DIR/SDL/install_$PLATFORM/lib/cmake/SDL3"
Which enables png and has been the same build script I've had for 6 months,
Works on all other platforms that I've tested.
On the last main branch png files fail to load but jpg, bmp all work
The only related exception I can find is the following:
missing function: png_sig_cmpMy build script:
Which enables png and has been the same build script I've had for 6 months,
Works on all other platforms that I've tested.