R 2.15.1 がインストールされている同僚の Windows ボックスで正常にビルドされているユーザー パッケージをビルドしようとしています。私の設定は次のとおりです。
R 2.15.3、RTools 3.0、Rcpp 0.10.4、RcppArmadillo 0.3.920.1、RStudio 0.97.551
これは、「R CMD INSTALL mypackage」を実行したときの最初のコンパイル インスタンスです。indfunForecast.cpp は、パッケージ内のソース ファイルの 1 つです。
>g++ -m32 -I"D:/PROGRA~1/R/R-215~1.3/include" -DNDEBUG
-I"D:/R/win-library/2.15/Rcpp/include" -I"D:/R/win-library/2.15/RcppArmadillo/include"
-I"d:/RCompile/CRANpkg/extralibs64/local/include"
-O2 -Wall -mtune=core2
-c indfunForecast.cpp -o indfunForecast.o
次に続くエラー メッセージは次のとおりです。
In file included from D:/R/win-library/2.15/RcppArmadillo/include/RcppArmadillo.h:30:0,
from indfunForecast.cpp:16:
D:/R/win-library/2.15/RcppArmadillo/include/RcppArmadilloForward.h:99:33:
error: 'ConstReferenceInputParameter' is not a template
D:/R/win-library/2.15/RcppArmadillo/include/RcppArmadilloForward.h:100:33:
error: 'ReferenceInputParameter' is not a template
D:/R/win-library/2.15/RcppArmadillo/include/RcppArmadilloForward.h:101:33:
error: 'ConstInputParameter' is not a template
何が起こっているのかわかりますか?
あなたの助けに感謝。サッコ