Advertisement
Guest User

Untitled

a guest
Dec 16th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.24 KB | None | 0 0
  1. lmvnd.cpp:26:43: error: expected ‘,’ or ‘...’ before ‘SEXP’
  2. RcppExport SEXP sourceCpp_1_lmvnd(SEXP [5]SEXP, SEXP [5]SEXP, SEXP [5]SEXP) {
  3. ^
  4. lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
  5. lmvnd.cpp:30:49: error: template argument 1 is invalid
  6. Rcpp::traits::input_parameter< double Sigma >::type [5]([5]SEXP);
  7. ^
  8. lmvnd.cpp:30:57: error: qualified-id in declaration before ‘[’ token
  9. Rcpp::traits::input_parameter< double Sigma >::type [5]([5]SEXP);
  10. ^
  11. lmvnd.cpp:31:45: error: template argument 1 is invalid
  12. Rcpp::traits::input_parameter< double X >::type [5]([5]SEXP);
  13. ^
  14. lmvnd.cpp:31:53: error: qualified-id in declaration before ‘[’ token
  15. Rcpp::traits::input_parameter< double X >::type [5]([5]SEXP);
  16. ^
  17. lmvnd.cpp:32:48: error: template argument 1 is invalid
  18. Rcpp::traits::input_parameter< double mean >::type [5]([5]SEXP);
  19. ^
  20. lmvnd.cpp:32:56: error: qualified-id in declaration before ‘[’ token
  21. Rcpp::traits::input_parameter< double mean >::type [5]([5]SEXP);
  22. ^
  23. lmvnd.cpp:33:41: error: expected identifier before numeric constant
  24. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  25. ^
  26. lmvnd.cpp: In lambda function:
  27. lmvnd.cpp:33:43: error: expected ‘{’ before ‘,’ token
  28. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  29. ^
  30. lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
  31. lmvnd.cpp:33:43: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
  32. lmvnd.cpp:33:46: error: expected identifier before numeric constant
  33. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  34. ^
  35. lmvnd.cpp: In lambda function:
  36. lmvnd.cpp:33:48: error: expected ‘{’ before ‘,’ token
  37. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  38. ^
  39. lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
  40. lmvnd.cpp:33:48: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
  41. lmvnd.cpp:33:51: error: expected identifier before numeric constant
  42. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  43. ^
  44. lmvnd.cpp: In lambda function:
  45. lmvnd.cpp:33:53: error: expected ‘{’ before ‘)’ token
  46. rcpp_result_gen = Rcpp::wrap(lmvnd([5], [5], [5]));
  47. ^
  48. lmvnd.cpp: In function ‘SEXPREC* sourceCpp_1_lmvnd(SEXPREC**)’:
  49. lmvnd.cpp:33:53: warning: lambda expressions only available with -std=c++11 or -std=gnu++11
  50. lmvnd.cpp:33:53: error: cannot convert ‘sourceCpp_1_lmvnd(SEXPREC**)::<lambda()>’ to ‘double*’ for argument ‘1’ to ‘double lmvnd(double*, double*, double*)’
  51. make: *** [lmvnd.o] Error 1
  52. Error in sourceCpp("lmvnd.cpp") :
  53. Error 1 occurred building shared library.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement