[Rcpp-devel] Error installing 1.0.13
Avraham Adler
avraham.adler at gmail.com
Thu Jul 25 01:21:20 CEST 2024
I get the following error when trying to install.
Thanks,
Avi
* installing *source* package 'Rcpp' ...
** package 'Rcpp' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'G__~1.EXE (GCC) 13.2.0'
g++ -std=gnu++17 -I"C:/R/RCurrent/R-devel/include" -DNDEBUG
-I../inst/include/
-I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O3
-march=native -pipe -mno-rtm -Wa,-muse-unaligned-vector-move -c
api.cpp -o api.o
g++ -std=gnu++17 -I"C:/R/RCurrent/R-devel/include" -DNDEBUG
-I../inst/include/
-I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O3
-march=native -pipe -mno-rtm -Wa,-muse-unaligned-vector-move -c
attributes.cpp -o attributes.o
g++ -std=gnu++17 -I"C:/R/RCurrent/R-devel/include" -DNDEBUG
-I../inst/include/
-I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -O3
-march=native -pipe -mno-rtm -Wa,-muse-unaligned-vector-move -c
barrier.cpp -o barrier.o
In file included from barrier.cpp:31:
barrier.cpp: In function 'SEXPREC** get_vector_ptr(SEXP)':
../inst/include/Rcpp/r/compat.h:34:26: error: 'VECTOR_PTR_RO' was not
declared in this scope; did you mean 'VECTOR_PTR'?
34 | # define RCPP_VECTOR_PTR VECTOR_PTR_RO
| ^~~~~~~~~~~~~
barrier.cpp:74:30: note: in expansion of macro 'RCPP_VECTOR_PTR'
74 | return const_cast<SEXP*>(RCPP_VECTOR_PTR(x));
// #nocov end
| ^~~~~~~~~~~~~~~
make: *** [C:/R/RCurrent/R-devel/etc/x64/Makeconf:296: barrier.o] Error 1
ERROR: compilation failed for package 'Rcpp'
More information about the Rcpp-devel
mailing list