OS собирается, на Linux'e - нет, В чем может быть проблема? (Я так понимаю что то не так с хэдерами:
cc -c src/series_kernel.cpp -o build/series_kernel.o -std=c++17 -lstdc -lstdc++ -mfma
In file included from /usr/include/c++/9/cstdlib:77,
from /usr/include/c++/9/stdlib.h:36,
from /usr/lib/gcc/x86_64-linux-gnu/9/include/mm_malloc.h:27,
from /usr/lib/gcc/x86_64-linux-gnu/9/include/xmmintrin.h:34,
from src/series_kernel.cpp:24:
/usr/include/c++/9/bits/std_abs.h:52:11: error: ‘::abs’ has not been declared
52 | using ::abs;
| ^~~
In file included from /usr/include/c++/9/stdlib.h:36,
from /usr/lib/gcc/x86_64-linux-gnu/9/include/mm_malloc.h:27,
from /usr/lib/gcc/x86_64-linux-gnu/9/include/xmmintrin.h:34,
from src/series_kernel.cpp:24:
/usr/include/c++/9/cstdlib:127:11: error: ‘::div_t’ has not been declared
127 | using ::div_t;
| ^~~~~
так гуглится же https://stackoverflow.com/questions/39401091/stdlib-h-and-cstdlib-errors-when-building-vba-m
Обсуждают сегодня