* installing *source* package 'KODAMA' ... ** package 'KODAMA' successfully unpacked and MD5 sums checked ** using staged installation ** libs using C compiler: 'gcc.exe (GCC) 13.2.0' using C++ compiler: 'g++.exe (GCC) 13.2.0' make[1]: Entering directory '/d/temp/Rtmp8eJaPL/R.INSTALL1afb0f477126/KODAMA/src' g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ANN.cpp -o ANN.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bd_fix_rad_search.cpp -o bd_fix_rad_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bd_pr_search.cpp -o bd_pr_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bd_search.cpp -o bd_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c bd_tree.cpp -o bd_tree.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c brute.cpp -o brute.o gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cmeans.c -o cmeans.o gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c cshell.c -o cshell.o gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c floyd.c -o floyd.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_dump.cpp -o kd_dump.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_fix_rad_search.cpp -o kd_fix_rad_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_pr_search.cpp -o kd_pr_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_search.cpp -o kd_search.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_split.cpp -o kd_split.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_tree.cpp -o kd_tree.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c kd_util.cpp -o kd_util.o g++ -std=gnu++17 -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c prova.cpp -o prova.o In file included from D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/RcppCommon.h:188, from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo/interface/RcppArmadilloForward.h:25, from D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include/RcppArmadillo.h:29, from prova.cpp:19: In function 'SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = double]', inlined from 'SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:465:46, inlined from 'SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:489:40, inlined from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:744:34, inlined from 'SEXPREC* Rcpp::wrap(const T&) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap_end.h:30:38, inlined from 'static SEXPREC* Rcpp::internal::generic_element_converter::get(const T&) [with T = double; int RTYPE = 19]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/converter.h:80:23, inlined from 'static void Rcpp::Vector::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:532:13, inlined from 'static void Rcpp::Vector::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:525:46, inlined from 'static void Rcpp::Vector::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:514:34, inlined from 'static Rcpp::Vector Rcpp::Vector::create__dispatch(Rcpp::traits::true_type, const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object >; T2 = Rcpp::traits::named_object >; T3 = Rcpp::traits::named_object; T4 = Rcpp::traits::named_object; T5 = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/generated/Vector__create.h:278:24, inlined from 'static Rcpp::Vector Rcpp::Vector::create(const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object >; T2 = Rcpp::traits::named_object >; T3 = Rcpp::traits::named_object; T4 = Rcpp::traits::named_object; T5 = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/generated/Vector__create.h:247:33, inlined from 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)' at prova.cpp:1501:3: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: 'Q2Y' may be used uninitialized [-Wmaybe-uninitialized] 442 | r_vector_start(x)[0] = object; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ prova.cpp: In function 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)': prova.cpp:1435:10: note: 'Q2Y' was declared here 1435 | double Q2Y; | ^~~ In function 'SEXPREC* Rcpp::internal::primitive_wrap__impl__cast(const T&, Rcpp::traits::false_type) [with T = double]', inlined from 'SEXPREC* Rcpp::internal::primitive_wrap__impl(const T&, Rcpp::traits::r_type_primitive_tag) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:465:46, inlined from 'SEXPREC* Rcpp::internal::primitive_wrap(const T&) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:489:40, inlined from 'SEXPREC* Rcpp::internal::wrap_dispatch(const T&, Rcpp::traits::wrap_type_primitive_tag) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:744:34, inlined from 'SEXPREC* Rcpp::wrap(const T&) [with T = double]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap_end.h:30:38, inlined from 'static SEXPREC* Rcpp::internal::generic_element_converter::get(const T&) [with T = double; int RTYPE = 19]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/converter.h:80:23, inlined from 'static void Rcpp::Vector::replace_element__dispatch__isArgument(Rcpp::traits::false_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:532:13, inlined from 'static void Rcpp::Vector::replace_element__dispatch(Rcpp::traits::true_type, iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:525:46, inlined from 'static void Rcpp::Vector::replace_element(iterator, SEXP, R_xlen_t, const U&) [with U = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/vector/Vector.h:514:34, inlined from 'static Rcpp::Vector Rcpp::Vector::create__dispatch(Rcpp::traits::true_type, const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object >; T2 = Rcpp::traits::named_object >; T3 = Rcpp::traits::named_object; T4 = Rcpp::traits::named_object; T5 = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/generated/Vector__create.h:279:24, inlined from 'static Rcpp::Vector Rcpp::Vector::create(const T1&, const T2&, const T3&, const T4&, const T5&) [with T1 = Rcpp::traits::named_object >; T2 = Rcpp::traits::named_object >; T3 = Rcpp::traits::named_object; T4 = Rcpp::traits::named_object; T5 = Rcpp::traits::named_object; int RTYPE = 19; StoragePolicy = Rcpp::PreserveStorage]' at D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/generated/Vector__create.h:247:33, inlined from 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)' at prova.cpp:1501:3: D:/RCompile/CRANpkg/lib/4.4/Rcpp/include/Rcpp/internal/wrap.h:442:41: warning: 'R2Y' may be used uninitialized [-Wmaybe-uninitialized] 442 | r_vector_start(x)[0] = object; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ prova.cpp: In function 'Rcpp::List double_knn_cv(arma::mat, arma::vec, arma::ivec, int, int, int, int, int)': prova.cpp:1436:10: note: 'R2Y' was declared here 1436 | double R2Y; | ^~~ gcc -I"D:/RCompile/recent/R-4.4.0/include" -DNDEBUG -I. -IANN -O3 -DWIN32 -DDLL_EXPORTS -DANN_NO_RANDOM -DRANN -I'D:/RCompile/CRANpkg/lib/4.4/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.4/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -Wstrict-prototypes -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c registerDynamicSymbol.c -o registerDynamicSymbol.o g++ -std=gnu++17 -shared -s -static-libgcc -o KODAMA.dll tmp.def ANN.o RcppExports.o bd_fix_rad_search.o bd_pr_search.o bd_search.o bd_tree.o brute.o cmeans.o cshell.o floyd.o kd_dump.o kd_fix_rad_search.o kd_pr_search.o kd_search.o kd_split.o kd_tree.o kd_util.o prova.o registerDynamicSymbol.o -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.4.0/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.4.0/bin/x64 -lR make[1]: Leaving directory '/d/temp/Rtmp8eJaPL/R.INSTALL1afb0f477126/KODAMA/src' make[1]: Entering directory '/d/temp/Rtmp8eJaPL/R.INSTALL1afb0f477126/KODAMA/src' make[1]: Leaving directory '/d/temp/Rtmp8eJaPL/R.INSTALL1afb0f477126/KODAMA/src' installing to d:/Rcompile/CRANpkg/lib/4.4/00LOCK-KODAMA/00new/KODAMA/libs/x64 ** R ** data ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** installing vignettes ** testing if installed package can be loaded from temporary location ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * MD5 sums packaged installation of 'KODAMA' as KODAMA_2.4.zip * DONE (KODAMA)