从“ std :: cout”(C ++)找到了“ __ZNSt3__14coutE”

时间:2018-10-06 19:41:39

标签: c++ r

我正在用devtools::check(document = FALSE)检查我新建的R包,总是有一个NOTE。

checking compiled code ... NOTE
 File ‘XXXXX/libs/XXXXXX.so’:
 Found ‘__ZNSt3__14coutE’, possibly from ‘std::cout’ (C++)
Objects: ‘aaaaa.o’, ‘bbbbb.o’, ‘ccccc.o’
 File ‘XXXXX/libs/XXXXX.so’:
 Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

我找不到类似的问题来解决"Found ‘__ZNSt3__14coutE’, possibly from ‘std::cout’ (C++)".

"Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’"似乎是一个普通的NOTE消息,但是一旦我在src文件夹下创建了c文件并在NAMESPACE中进行了修订,则我的包将无法编译。

0 个答案:

没有答案