Entering edit mode
cisbio • 0@4929405d
Last seen 3 months ago
Enter the body of text here
Code should be placed in three backticks as shown below
g++ -std=gnu++17 -I"/project/soft/linux64/R/R-4.2.2/lib64/R/include" -DNDEBUG -I../inst/include/ -I'/project/soft/linux64/R/R-4.2.2/lib64/R/library/Rcpp/include' -I'/project/soft/linux64/R/R-4.2.2/lib64/R/library/beachmat/include' -I'/project/soft/linux64/R/R-4.2.2/lib64/R/library/BiocNeighbors/include' -I/usr/local/include -fpic -g -O2 -c integrate_build.cpp -o integrate_build.o integrate_build.cpp: In function ‘SEXPREC* integrate_build(Rcpp::IntegerVector, Rcpp::List, Rcpp::List, Rcpp::List, Rcpp::List, int)’: integrate_build.cpp:29:42: error: call of overloaded ‘XPtr(Rcpp::Vector<19>::Proxy)’ is ambiguous PrebuiltXPtr curbuilt(prebuilt[r]); R version 4.2.2 (2022-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Oracle Linux Server 7.9 Matrix products: default BLAS: /project/soft/linux64/R/R-4.2.2/lib64/R/lib/libRblas.so LAPACK: /project/soft/linux64/R/R-4.2.2/lib64/R/lib/libRlapack.so locale:  LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C  LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8  LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8  LC_PAPER=en_GB.UTF-8 LC_NAME=C  LC_ADDRESS=C LC_TELEPHONE=C  LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C attached base packages:  stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached):  BiocManager_1.30.19 compiler_4.2.2 tools_4.2.2 # include your problematic code here with any corresponding output # please also include the results of running the following in an R session sessionInfo( )
I had a similar issue that was fixed by using gcc 9.1.0 instead of our system default 8.2.0.