* installing *source* package 'ROpenCV' ... ** using staged installation ** libs using C++ compiler: 'g++.exe (GCC) 13.2.0' using C++17 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 mkdir -p ../inst cp -r ../windows/opencv-5.0.0/etc ../inst/ g++ -std=gnu++17 -I"D:/RCompile/recent/R/include" -DNDEBUG -I"D:/R/include" -DNDEBUG -I"F:/myMaterial/myBooks/ROpenCV/windows/opencv-5.0.0/include/opencv5" -DHAVE_XFEATURES2D -I"D:/R/library/Rcpp/include" -I"C:/rtools44/x86_64-w64-mingw32.static.posix/include" -I"D:/R/library/RcppArmadillo/include" -I"F:/myMaterial/myBooks/ROpenCV/src" -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c -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" -DSTRICT_R_HEADERS=1 -O2 -Wall -mfpmath=sse -msse2 -mstackrealign -c ROpenCV_types.cpp -o ROpenCV_types.o In file included from ROpenCV_types.cpp:1: ROpenCV_types.h:4: warning: "STRICT_R_HEADERS" redefined 4 | #define STRICT_R_HEADERS | : note: this is the location of the previous definition ROpenCV_types.h:12:10: fatal error: opencv2/opencv.hpp: No such file or directory 12 | #include | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [D:/RCompile/recent/R/etc/x64/Makeconf:297: ROpenCV_types.o] Error 1 ERROR: compilation failed for package 'ROpenCV' * removing 'd:/RCompile/CRANincoming/R-devel/lib/ROpenCV'