* installing *source* package 'lidR' ... ** this is package 'lidR' version '4.3.1' ** using staged installation ** libs specified C++17 using C++ compiler: 'g++.exe (GCC) 14.3.0' using C++17 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c Progress.cpp -o Progress.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ptd/PTD.cpp -o ptd/PTD.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppExports.cpp -o RcppExports.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c UnitTests.cpp -o UnitTests.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_delaunay.cpp -o C_delaunay.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_ptd.cpp -o C_ptd.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_chm_prep.cpp -o C_chm_prep.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LAS.cpp -o LAS.o LAS.cpp: In member function 'void LAS::filter_local_maxima(Rcpp::NumericVector, double, bool)': LAS.cpp:413:22: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] 413 | for (int i = 0 ; i < npoints ; i++) { if (Z[i] < min_height) state[i] = NLM; } | ~~^~~~~~~~~ LAS.cpp:401:8: warning: unused variable 'UKN' [-Wunused-variable] 401 | char UKN = 0; | ^~~ LAS.cpp:403:8: warning: unused variable 'LMX' [-Wunused-variable] 403 | char LMX = 2; | ^~~ LAS.cpp: In member function 'void LAS::filter_local_maxima(Rcpp::NumericVector)': LAS.cpp:489:10: warning: variable 'orientation' set but not used [-Wunused-but-set-variable] 489 | double orientation = 0; | ^~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c LAS_point_metrics.cpp -o LAS_point_metrics.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c knn.cpp -o knn.o knn.cpp: In function 'Rcpp::List cpp_knn(Rcpp::S4, int, int)': knn.cpp:59:30: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 59 | for (unsigned int i = 0; i < npoints; i++) | ~~^~~~~~~~~ knn.cpp:70:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 70 | for (auto j = 1; j < indices.size(); j++) | ~~^~~~~~~~~~~~~~~~ knn.cpp: In function 'Rcpp::List cpp_knnx(Rcpp::S4, Rcpp::S4, int, int)': knn.cpp:107:31: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] 107 | for (unsigned int i = 0 ; i < npoints ; i++) | ~~^~~~~~~~~ knn.cpp:118:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector >::size_type' {aka 'long long unsigned int'} [-Wsign-compare] 118 | for (auto j = 0; j < indices.size(); j++) | ~~^~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_Gatziolis2019.cpp -o C_Gatziolis2019.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c RcppFunction.cpp -o RcppFunction.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c spikefree/Spikefree.cpp -o spikefree/Spikefree.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c openmputils.cpp -o openmputils.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c convaveman.cpp -o convaveman.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c altrep.cpp -o altrep.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hporro/pred3d.cpp -o hporro/pred3d.o hporro/pred3d.cpp: In function 'double incircleadapt(const double*, const double*, const double*, const double*, double)': hporro/pred3d.cpp:3803:44: warning: 'axtbclen' may be used uninitialized [-Wmaybe-uninitialized] 3803 | temp16alen = scale_expansion_zeroelim(axtbclen, axtbc, adxtail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:7: note: 'axtbclen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ hporro/pred3d.cpp:3845:44: warning: 'aytbclen' may be used uninitialized [-Wmaybe-uninitialized] 3845 | temp16alen = scale_expansion_zeroelim(aytbclen, aytbc, adytail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:17: note: 'aytbclen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ hporro/pred3d.cpp:3942:44: warning: 'bytcalen' may be used uninitialized [-Wmaybe-uninitialized] 3942 | temp16alen = scale_expansion_zeroelim(bytcalen, bytca, bdytail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:37: note: 'bytcalen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ hporro/pred3d.cpp:3900:44: warning: 'bxtcalen' may be used uninitialized [-Wmaybe-uninitialized] 3900 | temp16alen = scale_expansion_zeroelim(bxtcalen, bxtca, bdxtail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:27: note: 'bxtcalen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ hporro/pred3d.cpp:4039:44: warning: 'cytablen' may be used uninitialized [-Wmaybe-uninitialized] 4039 | temp16alen = scale_expansion_zeroelim(cytablen, cytab, cdytail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:57: note: 'cytablen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ hporro/pred3d.cpp:3997:44: warning: 'cxtablen' may be used uninitialized [-Wmaybe-uninitialized] 3997 | temp16alen = scale_expansion_zeroelim(cxtablen, cxtab, cdxtail, temp16a); | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.cpp:3542:47: note: 'cxtablen' was declared here 3542 | int axtbclen, aytbclen, bxtcalen, bytcalen, cxtablen, cytablen; | ^~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hporro/delaunay.cpp -o hporro/delaunay.o In file included from hporro/delaunay.cpp:2: hporro/pred3d.h:260:13: warning: 'ispstaticfilter' defined but not used [-Wunused-variable] 260 | static REAL ispstaticfilter; | ^~~~~~~~~~~~~~~ hporro/pred3d.h:259:13: warning: 'o3dstaticfilter' defined but not used [-Wunused-variable] 259 | static REAL o3dstaticfilter; | ^~~~~~~~~~~~~~~ hporro/pred3d.h:254:13: warning: '_use_static_isp_filter' defined but not used [-Wunused-variable] 254 | static int _use_static_isp_filter; | ^~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.h:253:13: warning: '_use_static_o3d_filter' defined but not used [-Wunused-variable] 253 | static int _use_static_o3d_filter; | ^~~~~~~~~~~~~~~~~~~~~~ hporro/pred3d.h:252:13: warning: '_use_inexact_arith' defined but not used [-Wunused-variable] 252 | static int _use_inexact_arith; // -X option. | ^~~~~~~~~~~~~~~~~~ hporro/pred3d.h:248:41: warning: 'isperrboundC' defined but not used [-Wunused-variable] 248 | static REAL isperrboundA, isperrboundB, isperrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:248:27: warning: 'isperrboundB' defined but not used [-Wunused-variable] 248 | static REAL isperrboundA, isperrboundB, isperrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:248:13: warning: 'isperrboundA' defined but not used [-Wunused-variable] 248 | static REAL isperrboundA, isperrboundB, isperrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:247:41: warning: 'iccerrboundC' defined but not used [-Wunused-variable] 247 | static REAL iccerrboundA, iccerrboundB, iccerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:247:27: warning: 'iccerrboundB' defined but not used [-Wunused-variable] 247 | static REAL iccerrboundA, iccerrboundB, iccerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:247:13: warning: 'iccerrboundA' defined but not used [-Wunused-variable] 247 | static REAL iccerrboundA, iccerrboundB, iccerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:246:41: warning: 'o3derrboundC' defined but not used [-Wunused-variable] 246 | static REAL o3derrboundA, o3derrboundB, o3derrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:246:27: warning: 'o3derrboundB' defined but not used [-Wunused-variable] 246 | static REAL o3derrboundA, o3derrboundB, o3derrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:246:13: warning: 'o3derrboundA' defined but not used [-Wunused-variable] 246 | static REAL o3derrboundA, o3derrboundB, o3derrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:245:41: warning: 'ccwerrboundC' defined but not used [-Wunused-variable] 245 | static REAL ccwerrboundA, ccwerrboundB, ccwerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:245:27: warning: 'ccwerrboundB' defined but not used [-Wunused-variable] 245 | static REAL ccwerrboundA, ccwerrboundB, ccwerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:245:13: warning: 'ccwerrboundA' defined but not used [-Wunused-variable] 245 | static REAL ccwerrboundA, ccwerrboundB, ccwerrboundC; | ^~~~~~~~~~~~ hporro/pred3d.h:244:13: warning: 'resulterrbound' defined but not used [-Wunused-variable] 244 | static REAL resulterrbound; | ^~~~~~~~~~~~~~ hporro/pred3d.h:242:13: warning: 'epsilon' defined but not used [-Wunused-variable] 242 | static REAL epsilon; /* = 2^(-p). Used to estimate roundoff errors. */ | ^~~~~~~ hporro/pred3d.h:241:13: warning: 'splitter' defined but not used [-Wunused-variable] 241 | static REAL splitter; | ^~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c hporro/index.cpp -o hporro/index.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_dalponte2016.cpp -o C_dalponte2016.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I'D:/RCompile/CRANpkg/lib/4.6/BH/include' -I'D:/RCompile/CRANpkg/lib/4.6/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.6/RcppArmadillo/include' -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include" -fopenmp -I../inst/include/ -DRCPP_NO_MODULES -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c C_spikefree.cpp -o C_spikefree.o g++ -shared -s -static-libgcc -o lidR.dll tmp.def ./Progress.o ./ptd/PTD.o ./RcppExports.o ./UnitTests.o ./C_delaunay.o ./C_ptd.o ./C_chm_prep.o ./LAS.o ./LAS_point_metrics.o ./knn.o ./C_Gatziolis2019.o ./RcppFunction.o ./spikefree/Spikefree.o ./openmputils.o ./convaveman.o ./altrep.o ./hporro/pred3d.o ./hporro/delaunay.o ./hporro/index.o ./C_dalponte2016.o ./C_spikefree.o -LD:/RCompile/recent/R/bin/x64 -lRlapack -LD:/RCompile/recent/R/bin/x64 -lRblas -lgfortran -lquadmath -fopenmp -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools45/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-lidR/00new/lidR/libs/x64 ** R ** 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 * DONE (lidR)