Open wipeautcrafter opened 4 months ago
If you are seeing a semaphore error, I would guess that whatever changes you made to the build script require pthreads. You might try building with pthreads enabled.
Try this to build fftw
:
cd "$ROOT/lib/fftw/fftw-src/fftw-3.3.8"
fn_git_clean
emconfigure ./configure \
--prefix="$OUT_DIR" \
--disable-shared \
--disable-doc \
--enable-static \
--disable-fortran \
--disable-alloca \
--disable-threads \
--disable-openmp \
--without-g77-wrappers
emmake make -j install
After reverting to your original build script, and just changing the FFTW build commands like you provided, nothing changes. It still builds successfully, and fails when trying to convert from a PNG file. There must be something different about my build environment, but all I can see is a difference in the EMSDK version (3.1.10
-> 3.1.56
). Are you building from the Dockerfile you provided, or a different environment?
I just tried to build myself and ran into the error you described. I used the Dockerfile but updated to the latest EMSDK. I didn't have time to pursue it further. My next step was to try to use the original EMSDK version to see if that fixes things.
Issue
When building from source, using PNG as an input results in a failed assertion:
Note that when listing the available formats, PNG is listed as both an input and output.
Environment
emscripten/emsdk:3.1.56
autotools-dev automake libtool pkg-config
Reproduction
Run build.sh, but comment out the
-j
and--target fftw3
arguments for the fftw cmake command. These arguments don't work for cmake, and result in an error.Stack Trace