Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- lmvnd.cpp:26:43: error: expected ‘,’ or ‘...’ before ‘SEXP’
- RcppExport SEXP sourceCpp_1_lmvnd(SEXP [5]SEXP, SEXP [5]SEXP, SEXP [5]SEXP) {
- ^
- lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
- lmvnd.cpp:30:49: error: template argument 1 is invalid
- Rcpp::traits::input_parameter< double Sigma >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:30:57: error: qualified-id in declaration before ‘[’ token
- Rcpp::traits::input_parameter< double Sigma >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:31:45: error: template argument 1 is invalid
- Rcpp::traits::input_parameter< double X >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:31:53: error: qualified-id in declaration before ‘[’ token
- Rcpp::traits::input_parameter< double X >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:32:48: error: template argument 1 is invalid
- Rcpp::traits::input_parameter< double mean >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:32:56: error: qualified-id in declaration before ‘[’ token
- Rcpp::traits::input_parameter< double mean >::type [5]([5]SEXP);
- ^
- lmvnd.cpp:33:41: error: expected identifier before numeric constant
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In lambda function:
- lmvnd.cpp:33:43: error: expected ‘{’ before ‘,’ token
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
- lmvnd.cpp:33:43: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
- lmvnd.cpp:33:46: error: expected identifier before numeric constant
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In lambda function:
- lmvnd.cpp:33:48: error: expected ‘{’ before ‘,’ token
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
- lmvnd.cpp:33:48: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
- lmvnd.cpp:33:51: error: expected identifier before numeric constant
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In lambda function:
- lmvnd.cpp:33:53: error: expected ‘{’ before ‘)’ token
- rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
- ^
- lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
- lmvnd.cpp:33:53: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
- lmvnd.cpp:33:53: error: cannot convert ‘sourceCpp_1_lmvnd(SEXPREC**)::<lambda()>’ to ‘double*’ for argument ‘1’ to ‘double lmvnd(double*, double*, double*)’
- make: *** [lmvnd.o] Error 1
- Error in sourceCpp("lmvnd.cpp") :
- Error 1 occurred building shared library.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement