* installing *source* package 'vapour' ...
** package 'vapour' successfully unpacked and MD5 sums checked
** using staged installation

   **********************************************
   WARNING: this package has a configure script
         It probably needs manual configuration
   **********************************************


** libs
using C++ compiler: 'g++.exe (GCC) 13.2.0'
make[1]: Entering directory '/d/temp/RtmpcNCiHK/R.INSTALL245f46ca54d30/vapour/src'
rm -f vapour.dll 000-stream.o 000-warpgeneral.o 00_config.o 00_gdal.o 00_geometry.o 00_raster.o 00_raster_block_io.o 00_utils.o 00_vrt.o RcppExports.o warp_file.o
cp -r "d:/rtools44/x86_64-w64-mingw32.static.posix/share/gdal" ../inst/
cp -r "d:/rtools44/x86_64-w64-mingw32.static.posix/share/proj" ../inst/
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 000-stream.cpp -o 000-stream.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 000-warpgeneral.cpp -o 000-warpgeneral.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_config.cpp -o 00_config.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_gdal.cpp -o 00_gdal.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_geometry.cpp -o 00_geometry.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_raster.cpp -o 00_raster.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_raster_block_io.cpp -o 00_raster_block_io.o
00_raster_block_io.cpp: In function 'Rcpp::NumericVector vapour_read_raster_value_cpp(Rcpp::CharacterVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::IntegerVector, Rcpp::CharacterVector)':
00_raster_block_io.cpp:69:10: warning: variable 'err' set but not used [-Wunused-but-set-variable]
   69 |   CPLErr err;
      |          ^~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_utils.cpp -o 00_utils.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c 00_vrt.cpp -o 00_vrt.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/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/include" -DNDEBUG -I/include -I../inst/include -DHAVE_PROJ_H -I'D:/RCompile/CRANpkg/lib/4.5/Rcpp/include'   -I"d:/rtools44/x86_64-w64-mingw32.static.posix/include"     -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c warp_file.cpp -o warp_file.o
g++ -std=gnu++17 -shared -s -static-libgcc -o vapour.dll tmp.def 000-stream.o 000-warpgeneral.o 00_config.o 00_gdal.o 00_geometry.o 00_raster.o 00_raster_block_io.o 00_utils.o 00_vrt.o RcppExports.o warp_file.o -fopenmp -lgdal -larmadillo -lopenblas -lgfortran -lquadmath -lpq -lpgcommon -lpgport -lodbc32 -lodbccp32 -lblosc -lkea -lhdf5_cpp -lhdf5 -lpoppler -llcms2 -lfreetype -lharfbuzz -lfreetype -llz4 -lpcre2-8 -lxml2 -lopenjp2 -lnetcdf -lmysqlclient -lspatialite -lgeos_c -lgeos -lminizip -lgeos -ljson-c -lgta -lfreexl -lexpat -lssl -lpsapi -lgif -lmfhdf -lhdf5_hl -lcrypto -lportablexdr -ldf -lhdf5 -lsz -lpng16 -lpng -lpoppler -llcms2 -lfreetype -lharfbuzz -lfreetype -llz4 -lpcre2-8 -lpcre -lcurl -lbcrypt -lrtmp -lssl -lssh2 -lidn2 -lunistring -liconv -lgcrypt -lcrypto -lgpg-error -lws2_32 -ltiff -llzma -ljpeg -lz -lcfitsio -lzstd -lwebpdecoder -lwebp -lsharpyuv -lsbml-static -lgeotiff -lproj -lsqlite3 -lbz2 -lcrypt32 -lwldap32 -lsecur32 -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
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libgdal.a(LERC_band.cpp.obj):LERC_band.cpp:(.text+0x343): undefined reference to `lerc_getBlobInfo'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libgdal.a(LERC_band.cpp.obj):LERC_band.cpp:(.text+0x714): undefined reference to `lerc_decode'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libgdal.a(LERC_band.cpp.obj):LERC_band.cpp:(.text+0x3313): undefined reference to `lerc_encodeForVersion'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libfreetype.a(sfnt.o): in function `woff2_decompress':
/root/mxe/tmp-freetype-x86_64-w64-mingw32.static.posix/freetype-2.13.2/src/sfnt/sfwoff2.c:326:(.text+0xf35b): undefined reference to `BrotliDecoderDecompress'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-psl.o):psl.c:(.text+0x31): undefined reference to `psl_free'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-psl.o):psl.c:(.text+0xcd): undefined reference to `psl_latest'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-psl.o):psl.c:(.text+0x107): undefined reference to `psl_free'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-psl.o):psl.c:(.text+0x177): undefined reference to `psl_builtin'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-version.o):version.c:(.text+0x122): undefined reference to `BrotliDecoderVersion'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-version.o):version.c:(.text+0x209): undefined reference to `psl_check_version_number'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-version.o):version.c:(.text+0x357): undefined reference to `BrotliDecoderVersion'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-version.o):version.c:(.text+0x362): undefined reference to `BrotliDecoderVersion'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-content_encoding.o):content_encodi:(.text+0x222): undefined reference to `BrotliDecoderDestroyInstance'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-content_encoding.o):content_encodi:(.text+0x2dc): undefined reference to `BrotliDecoderDecompressStream'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-content_encoding.o):content_encodi:(.text+0x339): undefined reference to `BrotliDecoderDestroyInstance'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-content_encoding.o):content_encodi:(.text+0x385): undefined reference to `BrotliDecoderGetErrorCode'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-content_encoding.o):content_encodi:(.text+0x410): undefined reference to `BrotliDecoderCreateInstance'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libcurl.a(libcurl_la-cookie.o):cookie.c:(.text+0x1166): undefined reference to `psl_is_cookie_domain_acceptable'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_lerc.o): in function `LERCCleanup':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:966:(.text+0xf1): undefined reference to `libdeflate_free_decompressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:968:(.text+0xff): undefined reference to `libdeflate_free_compressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_lerc.o): in function `LERCPostEncode':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:801:(.text+0x56f): undefined reference to `lerc_encodeForVersion'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:837:(.text+0x7ad): undefined reference to `libdeflate_zlib_compress_bound'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:845:(.text+0x7da): undefined reference to `libdeflate_zlib_compress'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:824:(.text+0x83e): undefined reference to `libdeflate_alloc_compressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_lerc.o): in function `LERCPreDecode':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:331:(.text+0xeff): undefined reference to `libdeflate_zlib_decompress'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:403:(.text+0xf3d): undefined reference to `lerc_getBlobInfo'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:476:(.text+0x1037): undefined reference to `lerc_decode'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:323:(.text+0x1269): undefined reference to `libdeflate_alloc_decompressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:476:(.text+0x1382): undefined reference to `lerc_decode'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_lerc.o): in function `LERCVSetField':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_lerc.c:1103:(.text+0x16a4): undefined reference to `libdeflate_free_compressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_zip.o): in function `ZIPCleanup':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:551:(.text+0xbd): undefined reference to `libdeflate_free_decompressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:553:(.text+0xce): undefined reference to `libdeflate_free_compressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_zip.o): in function `ZIPEncode':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:423:(.text+0x2d7): undefined reference to `libdeflate_zlib_compress_bound'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:430:(.text+0x312): undefined reference to `libdeflate_zlib_compress'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:405:(.text+0x3a3): undefined reference to `libdeflate_alloc_compressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_zip.o): in function `ZIPDecode':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:215:(.text+0x832): undefined reference to `libdeflate_zlib_decompress'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: /root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:206:(.text+0x948): undefined reference to `libdeflate_alloc_decompressor'
D:\rtools44\x86_64-w64-mingw32.static.posix\bin/ld.exe: d:/rtools44/x86_64-w64-mingw32.static.posix/lib/libtiff.a(tif_zip.o): in function `ZIPVSetField':
/root/mxe/tmp-tiff-x86_64-w64-mingw32.static.posix/tiff-4.6.0/libtiff/tif_zip.c:597:(.text+0xb9b): undefined reference to `libdeflate_free_compressor'
collect2.exe: error: ld returned 1 exit status
make[1]: Leaving directory '/d/temp/RtmpcNCiHK/R.INSTALL245f46ca54d30/vapour/src'
make[1]: Entering directory '/d/temp/RtmpcNCiHK/R.INSTALL245f46ca54d30/vapour/src'
make[1]: Leaving directory '/d/temp/RtmpcNCiHK/R.INSTALL245f46ca54d30/vapour/src'
no DLL was created
ERROR: compilation failed for package 'vapour'
* removing 'd:/Rcompile/CRANpkg/lib/4.5/vapour'
* restoring previous 'd:/Rcompile/CRANpkg/lib/4.5/vapour'