* installing *source* package ‘image.textlinedetector’ ... ** using staged installation This is pkg-config 1.8.1 Found pkg-config cflags and libs! Using PKG_CFLAGS=-I/usr/include/opencv4 -D_DATA_PREFIX=/usr Using PKG_LIBS=-lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_barcode -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core Found C++17 compiler: clang++-16 ** libs using C++ compiler: ‘Debian clang version 16.0.6 (16)’ using C++17 rm -f image.textlinedetector.so Binarization.o DeslantImgCPU.o LineSegmentation.o RcppExports.o Scanner.o WordSegmentation.o base-extra.o base.o rcpp-deslant.o rcpp-linelocalization.o rcpp-textline.o sieve.o clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Binarization.cpp -o Binarization.o In file included from Binarization.cpp:1: In file included from ./Binarization.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from Binarization.cpp:1: In file included from ./Binarization.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 2 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c DeslantImgCPU.cpp -o DeslantImgCPU.o In file included from DeslantImgCPU.cpp:1: In file included from ./DeslantImgCPU.hpp:2: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from DeslantImgCPU.cpp:1: In file included from ./DeslantImgCPU.hpp:2: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 2 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c LineSegmentation.cpp -o LineSegmentation.o In file included from LineSegmentation.cpp:1: In file included from ./LineSegmentation.hpp:3: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from LineSegmentation.cpp:1: In file included from ./LineSegmentation.hpp:3: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ LineSegmentation.cpp:290:9: warning: variable 'n' set but not used [-Wunused-but-set-variable] int n = 0; ^ 3 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c RcppExports.cpp -o RcppExports.o In file included from RcppExports.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from RcppExports.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from RcppExports.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from RcppExports.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c Scanner.cpp -o Scanner.o In file included from Scanner.cpp:1: In file included from ./Scanner.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from Scanner.cpp:1: In file included from ./Scanner.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 2 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c WordSegmentation.cpp -o WordSegmentation.o In file included from WordSegmentation.cpp:1: In file included from ./WordSegmentation.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from WordSegmentation.cpp:1: In file included from ./WordSegmentation.hpp:2: In file included from /usr/include/opencv4/opencv2/imgproc/imgproc.hpp:48: In file included from /usr/include/opencv4/opencv2/imgproc.hpp:46: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 2 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c base-extra.cpp -o base-extra.o In file included from base-extra.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base-extra.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base-extra.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base-extra.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c base.cpp -o base.o In file included from base.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from base.cpp:1: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp-deslant.cpp -o rcpp-deslant.o In file included from rcpp-deslant.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-deslant.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-deslant.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-deslant.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp-linelocalization.cpp -o rcpp-linelocalization.o In file included from rcpp-linelocalization.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-linelocalization.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-linelocalization.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-linelocalization.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c rcpp-textline.cpp -o rcpp-textline.o In file included from rcpp-textline.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2116:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(&this->hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-textline.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:52: In file included from /usr/include/opencv4/opencv2/core.hpp:58: In file included from /usr/include/opencv4/opencv2/core/mat.hpp:3773: /usr/include/opencv4/opencv2/core/mat.inl.hpp:2131:21: warning: '_Atomic' is a C11 extension [-Wc11-extensions] if( m.hdr ) CV_XADD(&m.hdr->refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-textline.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:105:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ In file included from rcpp-textline.cpp:3: In file included from ./opencv_types.h:5: In file included from /usr/include/opencv4/opencv2/opencv.hpp:86: In file included from /usr/include/opencv4/opencv2/stitching.hpp:48: In file included from /usr/include/opencv4/opencv2/stitching/warpers.hpp:46: In file included from /usr/include/opencv4/opencv2/stitching/detail/warpers.hpp:47: In file included from /usr/include/opencv4/opencv2/core/cuda.hpp:1269: /usr/include/opencv4/opencv2/core/cuda.inl.hpp:487:9: warning: '_Atomic' is a C11 extension [-Wc11-extensions] CV_XADD(refcount, 1); ^ /usr/include/opencv4/opencv2/core/cvdef.h:670:60: note: expanded from macro 'CV_XADD' # define CV_XADD(addr, delta) __c11_atomic_fetch_add((_Atomic(int)*)(addr), delta, __ATOMIC_ACQ_REL) ^ 4 warnings generated. clang++-16 -std=gnu++17 -I"/home/hornik/tmp/R-d-clang-16/include" -DNDEBUG -I/usr/include/opencv4 -D_DATA_PREFIX=/usr -I'/home/hornik/lib/R/Library/4.4/x86_64-linux-gnu/Rcpp/include' -I/usr/local/include -DUSE_TYPE_CHECKING_STRICT -D_FORTIFY_SOURCE=3 -fpic -g -O3 -Wall -pedantic -c sieve.cpp -o sieve.o clang++-16 -std=gnu++17 -shared -L/home/hornik/tmp/R-d-clang-16/lib -Wl,-O1 -o image.textlinedetector.so Binarization.o DeslantImgCPU.o LineSegmentation.o RcppExports.o Scanner.o WordSegmentation.o base-extra.o base.o rcpp-deslant.o rcpp-linelocalization.o rcpp-textline.o sieve.o -lopencv_stitching -lopencv_alphamat -lopencv_aruco -lopencv_barcode -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_transform -lopencv_line_descriptor -lopencv_mcc -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_highgui -lopencv_datasets -lopencv_text -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_dnn -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -L/home/hornik/tmp/R-d-clang-16/lib -lR installing to /srv/hornik/tmp/CRAN/image.textlinedetector.Rcheck/00LOCK-image.textlinedetector/00new/image.textlinedetector/libs ** R ** inst ** byte-compile and prepare package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded from temporary location ** checking absolute paths in shared objects and dynamic libraries ** testing if installed package can be loaded from final location ** testing if installed package keeps a record of temporary installation path * DONE (image.textlinedetector)