* installing *source* package 'ROpenCV' ... ** this is package 'ROpenCV' version '1.0' ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.3.0' rm -f ROpenCV.dll ROpenCV_types.o RcppExports.o cv_3d.o cv_backgroundsegm.o cv_calib.o cv_core.o cv_core_affine.o cv_core_cuda.o cv_core_mat.o cv_core_matx.o cv_core_persistence.o cv_core_types.o cv_core_utility.o cv_features2d.o cv_highgui.o cv_imgcodecs.o cv_imgproc.o cv_mat.o cv_objtrack.o cv_photo.o cv_types.o cv_videoio.o cv_ximgproc.o cv_xobjdetect.o interface.o stdVector.o "D:/RCompile/recent/R/bin/x64/Rscript.exe" "../tools/winlibs.R" 5.0.0 g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c ROpenCV_types.cpp -o ROpenCV_types.o In file included from ROpenCV_types.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ ROpenCV_types.cpp: In function 'cv::Mat cvMat_reshape(cv::Mat*, SEXP)': ROpenCV_types.cpp:2687:3: warning: control reaches end of non-void function [-Wreturn-type] 2687 | } | ^ ROpenCV_types.cpp: In function 'size_t cvMat_total(cv::Mat*, SEXP)': ROpenCV_types.cpp:2790:12: warning: 'res' may be used uninitialized [-Wmaybe-uninitialized] 2790 | return res; | ^~~ ROpenCV_types.cpp:2778:12: note: 'res' was declared here 2778 | size_t res; | ^~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:4: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_3d.cpp -o cv_3d.o In file included from cv_3d.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_backgroundsegm.cpp -o cv_backgroundsegm.o In file included from cv_backgroundsegm.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_calib.cpp -o cv_calib.o In file included from cv_calib.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core.cpp -o cv_core.o In file included from cv_core.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_affine.cpp -o cv_core_affine.o In file included from cv_core_affine.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ ROpenCV_types.h: In instantiation of 'bool isItMatx(SEXP) [with T = float; int m = 3; int n = 3; SEXP = SEXPREC*]': ROpenCV_types.h:4053:31: required from 'cv::Affine3* newcvAffine3(SEXP) [with T = float; SEXP = SEXPREC*]' cv_core_affine.cpp:6:17: required from here ROpenCV_types.h:1132:10: warning: unused variable 'objptr' [-Wunused-variable] 1132 | SEXP objptr = ev[".pointer"]; | ^~~~~~ ROpenCV_types.h: In instantiation of 'bool isItMatx(SEXP) [with T = float; int m = 4; int n = 4; SEXP = SEXPREC*]': ROpenCV_types.h:4057:31: required from 'cv::Affine3* newcvAffine3(SEXP) [with T = float; SEXP = SEXPREC*]' cv_core_affine.cpp:6:17: required from here ROpenCV_types.h:1132:10: warning: unused variable 'objptr' [-Wunused-variable] ROpenCV_types.h: In instantiation of 'bool isItMatx(SEXP) [with T = double; int m = 3; int n = 3; SEXP = SEXPREC*]': ROpenCV_types.h:4053:31: required from 'cv::Affine3* newcvAffine3(SEXP) [with T = double; SEXP = SEXPREC*]' cv_core_affine.cpp:22:19: required from here ROpenCV_types.h:1132:10: warning: unused variable 'objptr' [-Wunused-variable] ROpenCV_types.h: In instantiation of 'bool isItMatx(SEXP) [with T = double; int m = 4; int n = 4; SEXP = SEXPREC*]': ROpenCV_types.h:4057:31: required from 'cv::Affine3* newcvAffine3(SEXP) [with T = double; SEXP = SEXPREC*]' cv_core_affine.cpp:22:19: required from here ROpenCV_types.h:1132:10: warning: unused variable 'objptr' [-Wunused-variable] ROpenCV_types.h: In function 'cv::Affine3 cv_Affine3_rotate(cv::Affine3*, SEXP) [with T = double]': ROpenCV_types.h:4130:1: warning: control reaches end of non-void function [-Wreturn-type] 4130 | } | ^ ROpenCV_types.h: In function 'cv::Affine3 cv_Affine3_rotate(cv::Affine3*, SEXP) [with T = float]': ROpenCV_types.h:4130:1: warning: control reaches end of non-void function [-Wreturn-type] g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_cuda.cpp -o cv_core_cuda.o In file included from cv_core_cuda.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_mat.cpp -o cv_core_mat.o In file included from cv_core_mat.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ ROpenCV_types.h:1960:3: warning: control reaches end of non-void function [-Wreturn-type] 1960 | } | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_matx.cpp -o cv_core_matx.o In file included from cv_core_matx.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_persistence.cpp -o cv_core_persistence.o In file included from cv_core_persistence.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_types.cpp -o cv_core_types.o In file included from cv_core_types.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ cv_core_types.cpp: In function 'cv::Point point_mul(const cv::Point&, SEXP)': cv_core_types.cpp:974:1: warning: control reaches end of non-void function [-Wreturn-type] 974 | } | ^ cv_core_types.cpp: In function 'cv::Point2f point2f_mul(const cv::Point2f&, SEXP)': cv_core_types.cpp:1005:1: warning: control reaches end of non-void function [-Wreturn-type] 1005 | } | ^ cv_core_types.cpp: In function 'cv::Point2d point2d_mul(const cv::Point2d&, SEXP)': cv_core_types.cpp:1029:1: warning: control reaches end of non-void function [-Wreturn-type] 1029 | } | ^ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_core_utility.cpp -o cv_core_utility.o In file included from cv_core_utility.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_features2d.cpp -o cv_features2d.o In file included from cv_features2d.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_highgui.cpp -o cv_highgui.o In file included from cv_highgui.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_imgcodecs.cpp -o cv_imgcodecs.o In file included from cv_imgcodecs.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_imgproc.cpp -o cv_imgproc.o In file included from cv_imgproc.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ cv_imgproc.cpp: In function 'void cv_imgproc_calcBackProject01(Rcpp::XPtr >, int, Rcpp::XPtr >, cv::SparseMat, SEXP, Rcpp::XPtr > >, double, bool)': cv_imgproc.cpp:354:18: warning: ISO C++ forbids variable length array '_ranges' [-Wvla] 354 | const float* _ranges[ranges->size()]; | ^~~~~~~ cv_imgproc.cpp: In function 'void cv_imgproc_calcBackProject02(Rcpp::XPtr >, int, Rcpp::XPtr >, cv::InputArray, SEXP, Rcpp::XPtr > >, double, bool)': cv_imgproc.cpp:384:18: warning: ISO C++ forbids variable length array '_ranges' [-Wvla] 384 | const float* _ranges[ranges->size()]; | ^~~~~~~ cv_imgproc.cpp: In function 'void cv_imgproc_calcHist01(Rcpp::XPtr >, int, Rcpp::XPtr >, cv::InputArray, SEXP, int, Rcpp::XPtr >, Rcpp::XPtr > >, bool, bool)': cv_imgproc.cpp:435:18: warning: ISO C++ forbids variable length array '_ranges' [-Wvla] 435 | const float* _ranges[ranges->size()]; | ^~~~~~~ cv_imgproc.cpp: In function 'void cv_imgproc_calcHist02(Rcpp::XPtr >, int, Rcpp::XPtr >, cv::InputArray, SEXP, int, Rcpp::XPtr >, Rcpp::XPtr > >, bool, bool)': cv_imgproc.cpp:467:18: warning: ISO C++ forbids variable length array '_ranges' [-Wvla] 467 | const float* _ranges[ranges->size()]; | ^~~~~~~ cv_imgproc.cpp: In function 'void cv_imgproc_fillPoly01(cv::InputOutputArray, Rcpp::XPtr > > >, Rcpp::XPtr >, int, cv::Scalar, int, int, cv::Point)': cv_imgproc.cpp:1208:22: warning: ISO C++ forbids variable length array '_pts' [-Wvla] 1208 | const cv::Point* _pts[pts->size()]; | ^~~~ cv_imgproc.cpp: In function 'void cv_imgproc_polylines01(cv::InputOutputArray, Rcpp::XPtr > > >, Rcpp::XPtr >, int, bool, cv::Scalar, int, int, int)': cv_imgproc.cpp:2281:16: warning: ISO C++ forbids variable length array '_pts' [-Wvla] 2281 | cv::Point* _pts[pts->size()]; | ^~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_mat.cpp -o cv_mat.o In file included from cv_mat.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_objtrack.cpp -o cv_objtrack.o In file included from cv_objtrack.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ cv_objtrack.cpp: In function 'cv::Mat cv_objtrack_estimateRigidTransform(cv::InputArray, cv::InputArray, bool)': cv_objtrack.cpp:117:49: warning: 'cv::Mat cv::estimateRigidTransform(InputArray, InputArray, bool)' is deprecated [-Wdeprecated-declarations] 117 | cv::Mat rreszzz = cv::estimateRigidTransform(src,dst,fullAffine); | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ In file included from ../windows/opencv-5.0.0/include/opencv5/opencv2/video.hpp:55, from ../windows/opencv-5.0.0/include/opencv5/opencv2/opencv.hpp:92, from ROpenCV_types.h:12: ../windows/opencv-5.0.0/include/opencv5/opencv2/video/tracking.hpp:267:30: note: declared here 267 | CV_DEPRECATED CV_EXPORTS Mat estimateRigidTransform( InputArray src, InputArray dst, bool fullAffine ); | ^~~~~~~~~~~~~~~~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_photo.cpp -o cv_photo.o In file included from cv_photo.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_types.cpp -o cv_types.o In file included from cv_types.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_videoio.cpp -o cv_videoio.o In file included from cv_videoio.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ In file included from ../windows/opencv-5.0.0/include/opencv5/opencv2/highgui.hpp:51, from ../windows/opencv-5.0.0/include/opencv5/opencv2/opencv.hpp:71, from ROpenCV_types.h:12: ../windows/opencv-5.0.0/include/opencv5/opencv2/videoio.hpp: At global scope: ../windows/opencv-5.0.0/include/opencv5/opencv2/videoio.hpp:887:26: warning: 'virtual bool cv::VideoCapture::retrieve(cv::OutputArray, int)' was hidden [-Woverloaded-virtual=] 887 | CV_WRAP virtual bool retrieve(OutputArray image, int flag = 0); | ^~~~~~~~ cv_videoio.cpp:254:8: note: by 'bool cvVideoCapture::retrieve(SEXP, int)' 254 | bool retrieve(SEXP dst, int flag){ | ^~~~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_ximgproc.cpp -o cv_ximgproc.o In file included from cv_ximgproc.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c cv_xobjdetect.cpp -o cv_xobjdetect.o In file included from cv_xobjdetect.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c interface.cpp -o interface.o g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I../windows/opencv-5.0.0/include/opencv5 -DHAVE_XFEATURES2D -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include' -I'D:/RCompile/CRANpkg/lib/4.5/RcppArmadillo/include' -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include" -pedantic -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -DR_NO_REMAP -c stdVector.cpp -o stdVector.o In file included from stdVector.cpp:1: ROpenCV_types.h:3: warning: "R_NO_REMAP" redefined 3 | #define R_NO_REMAP | : note: this is the location of the previous definition ROpenCV_types.h: In member function 'cv::MatSize Rcpp::traits::Exporter::get()': ROpenCV_types.h:1945:23: warning: variable 'result' set but not used [-Wunused-but-set-variable] 1945 | cv::MatSize result = *ptr; | ^~~~~~ g++ -std=gnu++17 -shared -s -static-libgcc -o ROpenCV.dll tmp.def ROpenCV_types.o RcppExports.o cv_3d.o cv_backgroundsegm.o cv_calib.o cv_core.o cv_core_affine.o cv_core_cuda.o cv_core_mat.o cv_core_matx.o cv_core_persistence.o cv_core_types.o cv_core_utility.o cv_features2d.o cv_highgui.o cv_imgcodecs.o cv_imgproc.o cv_mat.o cv_objtrack.o cv_photo.o cv_types.o cv_videoio.o cv_ximgproc.o cv_xobjdetect.o interface.o stdVector.o -L../windows/opencv-5.0.0/lib/x64 -lopencv_alphamat -lopencv_bgsegm -lopencv_bioinspired -lopencv_calib -lopencv_ccalib -lopencv_3d -lopencv_datasets -lopencv_dnn -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_features2d -lopencv_video -lopencv_videoio -lopencv_videostab -lopencv_flann -lopencv_fuzzy -lopencv_gapi -lopencv_hfs -lopencv_img_hash -lopencv_highgui -lopencv_imgcodecs -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_ml -lopencv_objdetect -lopencv_optflow -lopencv_phase_unwrapping -lopencv_photo -lopencv_plot -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_signal -lopencv_stereo -lopencv_stitching -lopencv_structured_light -lopencv_superres -lopencv_surface_matching -lopencv_text -lopencv_tracking -lopencv_wechat_qrcode -lopencv_xfeatures2d -lopencv_ximgproc -lopencv_xobjdetect -lopencv_xphoto -lopencv_xstereo -lopencv_imgproc -lopencv_core -lade -llibclapack -lIlmImf -llibjpeg-turbo -llibpng -llibprotobuf -llibtiff -llibwebp -lz -lzlib -lstdc++ -lopenjp2 -lcomctl32 -lgdi32 -lole32 -lsetupapi -lws2_32 -lavifil32 -lavicap32 -lwinmm -lmsvfw32 -lopengl32 -lglu32 -lcomdlg32 -lOleAut32 -luuid -lgfortran -lquadmath -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools44/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R/bin/x64 -lR installing to d:/RCompile/CRANincoming/R-devel/lib/00LOCK-ROpenCV/00new/ROpenCV/libs/x64 ** R ** inst ** byte-compile and prepare package for lazy loading ** help No man pages found in package 'ROpenCV' *** installing help indices ** building package indices ** 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 (ROpenCV)