You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
std::current_exception was apparently added in C++11. So maybe the problem is that your compiler doesn't support C++11? Can you provide the output of g++ --version?
R version is 3.6.3
later version is 1.1.0.1
[sdjin87@login Tools]$ R CMD INSTALL later_1.1.0.1.tar.gz
** package ‘later’ successfully unpacked and MD5 sums checked
** using staged installation
Running configure script
-latomic linker flag not needed.
** libs
g++ -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/Rcpp/include" -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/BH/include" -I/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/library/include/ -fpic -g -O2 -c RcppExports.cpp -o RcppExports.o
g++ -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/include" -DNDEBUG -pthread -DSTRICT_R_HEADERS -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/Rcpp/include" -I"/mnt/gmi-l1/_90.User_Data/sdjin87/Tools/R-3.6.3/lib64/R/library/BH/include" -I/mnt/gmi-l1/90.User_Data/sdjin87/Tools/library/include/ -fpic -g -O2 -c callback_registry.cpp -o callback_registry.o
In file included from callback_registry.cpp:6:0:
callback_registry.cpp: In function ‘void invoke_c(void*)’:
callback_registry.cpp:127:73: error: ‘current_exception’ is not a member of ‘std’
DEBUG_LOG(std::string("invoke_c: caught unknown object: ") + typeid(std::current_exception()).name(),
^
debug.h:52:87: note: in definition of macro ‘DEBUG_LOG’
#define DEBUG_LOG(msg, level) if (log_level >= level) err_printf("%s\n", std::string(msg).c_str());
^
make: *** [callback_registry.o] Error 1
ERROR: compilation failed for package ‘later’
I don't know what is the problem.
please check and help
The text was updated successfully, but these errors were encountered: