Код: Выделить всё
using C compiler: 'gcc (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0'
using C++ compiler: 'g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0'
using C++17
g++ -std=gnu++17 -I"/usr/share/R/include" -DNDEBUG -I/usr/include/x86_64-linux-gnu -DUSE_ADA_PARSER -DSTRICT_R_HEADERS -DR_NO_REMAP -fpic -g -O2 -fdebug-prefix-map=/build/r-base-EpRONj/r-base-4.4.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -c ada.cpp -o ada.o
In file included from ada.cpp:3:0:
ada.h:5255:10: fatal error: charconv: No such file or directory
#include
^~~~~~~~~~
compilation terminated.
/usr/lib/R/etc/Makeconf:204: recipe for target 'ada.o' failed
make: *** [ada.o] Error 1
ERROR: compilation failed for package 'curl'
Я на Ubuntu 18.04 и R версии 4.4.2.
Подробнее здесь: https://stackoverflow.com/questions/796 ... onv-header