* using log directory 'd:/Rcompile/CRANpkg/local/4.5/quadtree.Rcheck' * using R Under development (unstable) (2024-12-21 r87453 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'quadtree/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'quadtree' version '0.1.14' * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'quadtree' can be installed ... ERROR Installation failed. See 'd:/Rcompile/CRANpkg/local/4.5/quadtree.Rcheck/00install.out' for details. * DONE The installation logfile: * installing *source* package 'quadtree' ... ** package 'quadtree' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' make[1]: Entering directory '/d/temp/2024_12_22_01_50_00_26287/Rtmp6HkrIk/R.INSTALLd5b86e5747/quadtree/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I libs -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c LcpFinder.cpp -o LcpFinder.o LcpFinder.cpp: In member function 'void LcpFinder::makeNodePointMap(std::vector)': LcpFinder.cpp:75:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 75 | for(int i = 0; i < newPoints.size(); ++i){ | ~~^~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I libs -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c LcpFinderWrapper.cpp -o LcpFinderWrapper.o In file included from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/RcppCommon.h:76, from D:/RCompile/CRANpkg/lib/4.5/Rcpp/include/Rcpp.h:27, from LcpFinderWrapper.h:6, from LcpFinderWrapper.cpp:1: LcpFinderWrapper.cpp: In member function 'Rcpp::NumericMatrix LcpFinderWrapper::getLcp(Rcpp::NumericVector, bool)': D:/RCompile/recent/R/include/Rmath.h:289:25: error: 'using std::__shared_ptr_access::element_type = struct LcpFinder::NodeEdge' {aka 'struct LcpFinder::NodeEdge'} has no member named 'Rf_pt' 289 | #define pt Rf_pt | ^~~~~ LcpFinderWrapper.cpp:50:28: note: in expansion of macro 'pt' 50 | mat(i,0) = path.at(i)->pt.x; | ^~ D:/RCompile/recent/R/include/Rmath.h:289:25: error: 'using std::__shared_ptr_access::element_type = struct LcpFinder::NodeEdge' {aka 'struct LcpFinder::NodeEdge'} has no member named 'Rf_pt' 289 | #define pt Rf_pt | ^~~~~ LcpFinderWrapper.cpp:51:28: note: in expansion of macro 'pt' 51 | mat(i,1) = path.at(i)->pt.y; | ^~ D:/RCompile/recent/R/include/Rmath.h:289:25: error: 'using std::__shared_ptr_access::element_type = struct LcpFinder::NodeEdge' {aka 'struct LcpFinder::NodeEdge'} has no member named 'Rf_pt' 289 | #define pt Rf_pt | ^~~~~ LcpFinderWrapper.cpp:58:64: note: in expansion of macro 'pt' 58 | double dist = std::sqrt(std::pow(endPoint[0] - path.at(0)->pt.x, 2) + std::pow(endPoint[1] - path.at(0)->pt.y, 2)); | ^~ D:/RCompile/recent/R/include/Rmath.h:289:25: error: 'using std::__shared_ptr_access::element_type = struct LcpFinder::NodeEdge' {aka 'struct LcpFinder::NodeEdge'} has no member named 'Rf_pt' 289 | #define pt Rf_pt | ^~~~~ LcpFinderWrapper.cpp:58:110: note: in expansion of macro 'pt' 58 | double dist = std::sqrt(std::pow(endPoint[0] - path.at(0)->pt.x, 2) + std::pow(endPoint[1] - path.at(0)->pt.y, 2)); | ^~ make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: LcpFinderWrapper.o] Error 1 make[1]: Leaving directory '/d/temp/2024_12_22_01_50_00_26287/Rtmp6HkrIk/R.INSTALLd5b86e5747/quadtree/src' ERROR: compilation failed for package 'quadtree' * removing 'd:/Rcompile/CRANpkg/lib/4.5/quadtree' * restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/quadtree'