/c/colwsl9/co/engine/workdir/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-sse2.asm: fatal: unable to open output file `/c/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-sse2.asm.o'
/c/colwsl9/co/engine/workdir/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-avx2.asm: fatal: unable to open output file `/c/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-avx2.asm.o'
make[1]: *** [C:/colwsl9/co/engine/solenv/gbuild/LinkTarget.mk:622: C:/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-sse2.asm.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [C:/colwsl9/co/engine/solenv/gbuild/LinkTarget.mk:622: C:/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jccolor-avx2.asm.o] Error 1
/c/colwsl9/co/engine/workdir/UnpackedTarball/libjpeg-turbo/simd/x86_64/jdmerge-avx2.asm: fatal: unable to open output file `/c/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jdmerge-avx2.asm.o'
make[1]: *** [C:/colwsl9/co/engine/solenv/gbuild/LinkTarget.mk:622: C:/colwsl9/co/engine/workdir/GenNasmObject/UnpackedTarball/libjpeg-turbo/simd/x86_64/jdmerge-avx2.asm.o] Error 1
make: *** [Makefile:321: build] Error 2
And indeed the files jccolor-sse2.asm.o and jccolor-avx2.asm.o and jdmerge-avx2.asm.o are missing in that folder. Other foo.asm.o files exist in that folder.
I think we miss a few details wrt. your build setup. In the output we see MSYS2 paths (/c/colwsl9/) but in the config you pass a WSL path (PKG_CONFIG=/mnt/c/...). It is unclear which nasm is used.
You can try and see the output of
make libjpeg-turbo.clean
make -j1 verbose=t libjpeg-turbo
Please also post the output of grep NASM config_host.mk and nasm -v.
I have tried to use MSYS2 as recommended on the webpage Miklos has linked, in a new folder with new clone. But it did not work.
I have a folder colwsl8 which had a working “classic” office build using WSL. But now after make clean I get no build again. I would like to get that back. The below attached files are from inside that folder.
grep NASM config_host.mk returns export NASM=wsl.exe nasm nasm -v returns NASM version 2.16.01 compiled on May 3 2024
I have started now with wsl ./autogen.sh with the attached autogen.input (as autogen.txt to be allowed to upload it) autogen.txt (433 Bytes)
.
The result of make -j1 verbose=t libjpeg-turbo is attached as well. log_libjpeg_make.txt (164.7 KB)
It seems, have got some mess. How can I cleanup it?
(The “aarch64” is obviously not suitable for you, but I have an ARM64 (virtual) machine.)
Additionally, in /opt/lo/bin (as a Cygwin path) I have make, nasm, and pkgconf-2.4.3.exe.
If you want to use Cygwin to build engine it is important to not confuse things by mixing in stuff from MSYS2, “Git Bash”, or WSL.
I use WSL in the top directory to run autogen.sh and the configure script. But that is not the documented way either, sorry. I really should switch to doing everything the documented way, but that will take a day at least. So I can’t help you if you want to do it the documented way.