I have been using the documentation and have been building the alpha devs for weeks… But now I can’t build it …
# ninja -C _build install
ninja: Entering directory `_build'
[1/4] Linking static target src/libsiril.a
FAILED: src/libsiril.a
"gcc-ar" "csrDT" src/libsiril.a @src/libsiril.a.rsp
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ar.exe: src/libsiril.a: No such file or directory
ninja: build stopped: subcommand failed.
I can still run it but I am stuck at 54525437
Hi, this is a bug with msys2: Wrong filename for files generated by g++ · Issue #13797 · msys2/MINGW-packages · GitHub
Just remove libsiril.a:
rm _build/src/libsiril.a
and it should complete building
Alternatively, if you want to run a clean build:
rm -Rf _build
meson setup _build
ninja -C _build && ninja -C _build install
Cheers,
Cecile
1 Like
Tried a second device.
../src/pixelMath/tinyexpr.c: In function 'base':
../src/pixelMath/tinyexpr.c:420:16: warning: array subscript 'te_expr[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=]
420 | ret->value = s->value;
| ^~
In function 'new_expr',
inlined from 'base' at ../src/pixelMath/tinyexpr.c:419:19:
../src/pixelMath/tinyexpr.c:116:20: note: object of size 16 allocated by 'malloc'
116 | te_expr *ret = malloc(size);
| ^~~~~~~~~~~~
../src/pixelMath/tinyexpr.c: In function 'base':
../src/pixelMath/tinyexpr.c:499:16: warning: array subscript 'te_expr[0]' is partly outside array bounds of 'unsigned char[16]' [-Warray-bounds=]
499 | ret->value = NAN;
| ^~
In function 'new_expr',
inlined from 'base' at ../src/pixelMath/tinyexpr.c:497:19:
../src/pixelMath/tinyexpr.c:116:20: note: object of size 16 allocated by 'malloc'
116 | te_expr *ret = malloc(size);
| ^~~~~~~~~~~~
[296/302] Linking static target src/libsiril.a
FAILED: src/libsiril.a
"gcc-ar" "csrDT" src/libsiril.a @src/libsiril.a.rsp
C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/14.2.0/../../../../x86_64-w64-mingw32/bin/ar.exe: src/libsiril.a: No such file or directory
[298/302] Compiling C object src/siril.exe.p/main.c.obj
ninja: build stopped: subcommand failed.
Clean build worked. Thank you so much. Loving the SPCC, Graxpert and HST Drizzle.
1 Like