>> cmake --build . --target install --config Release --parallel 4
[ 1%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/pointcloud.cxx.o
[ 2%] Building CXX object src/SlamCore/CMakeFiles/SlamCore.dir/utils.cxx.o
In file included from /usr/include/signal.h:328,
from /home/fhoussen/Workspaces/ct_icp/src/SlamCore/utils.cxx:16:
/home/fhoussen/Workspaces/ct_icp/src/SlamCore/utils.cxx:118:32: error: size of array ‘alternate_stack’ is not an integral constant-expression
118 | static uint8_t alternate_stack[SIGSTKSZ];
| ^~~~~~~~
gmake[2]: *** [src/SlamCore/CMakeFiles/SlamCore.dir/build.make:146: src/SlamCore/CMakeFiles/SlamCore.dir/utils.cxx.o] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[1]: *** [CMakeFiles/Makefile2:307: src/SlamCore/CMakeFiles/SlamCore.dir/all] Error 2
gmake: *** [Makefile:136: all] Error 2
>> g++ --version
g++ (Debian 12.2.0-13) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>> cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux bookworm/sid"
NAME="Debian GNU/Linux"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Running debian/testing, compilation fails:
Any clue how to fix this?