found 7zip in C:\Program Files\7-Zip\7z.exe cd src\mapcache-branch-1-14-vc16 cd lib powershell -Command "(gc util.c) -replace 'typedef unsigned long int uint64_t', 'typedef unsigned long long uint64_t' | Out-File -encoding ASCII util.c" cd .. if exist vc16 rd /Q /S vc16 if not exist vc16 mkdir vc16 cd vc16 E:\buildsystem\cmake\bin\cmake.exe ..\ -G "Visual Studio 16 2019" -A Win32 "-DCMAKE_PREFIX_PATH=E:\buildsystem\release-1928" "-DCMAKE_INSTALL_PREFIX=E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\install" -DCMAKE_BUILD_TYPE=Release -DFCGI_LIBRARY=E:\buildsystem\release-1928\lib\libfcgi.lib -DAPR_LIBRARY=E:/buildsystem/release-1928/lib/libapr-1.lib -DAPU_LIBRARY=E:/buildsystem/release-1928/lib/libaprutil-1.lib -DAPACHE_LIBRARY=E:/buildsystem/release-1928/lib/libhttpd.lib -DWITH_POSTGRESQL=1 -DWITH_TIFF=1 -DWITH_TIFF_WRITE_SUPPORT=1 -DWITH_PCRE=1 -- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19045. -- The C compiler identification is MSVC 19.29.30154.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x86/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Looking for strncasecmp -- Looking for strncasecmp - not found -- Looking for symlink -- Looking for symlink - not found -- Looking for timegm -- Looking for timegm - not found -- Looking for strptime -- Looking for strptime - not found -- Found ZLIB: E:/buildsystem/release-1928/lib/zlib.lib (found version "1.3.1") -- Found PNG: E:/buildsystem/release-1928/lib/libpng16.lib (found version "1.6.37") -- Found JPEG: E:/buildsystem/release-1928/lib/libjpeg.lib (found version "90") -- Found CURL: E:/buildsystem/release-1928/lib/libcurl_imp.lib (found version "8.7.0-DEV") -- Found APR: E:/buildsystem/release-1928/lib/libapr-1.lib -- Found APU: E:/buildsystem/release-1928/lib/libaprutil-1.lib -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found Pixman: E:/buildsystem/release-1928/lib/pixman-1.lib -- Found GDAL: E:/buildsystem/release-1928/lib/gdal_i.lib -- Found PCRE: E:/buildsystem/release-1928/lib/pcre.lib -- Found SQLITE: E:/buildsystem/release-1928/lib/sqlite3.lib -- Found PostgreSQL: E:/buildsystem/release-1928/lib/libpq.lib -- Found TIFF: E:/buildsystem/release-1928/lib/tiff.lib (found version "4.6.0") -- * Configured options for the mapcache library -- * Mandatory components -- * png: E:/buildsystem/release-1928/lib/libpng16.lib -- * jpeg: E:/buildsystem/release-1928/lib/libjpeg.lib -- * Curl: E:/buildsystem/release-1928/lib/libcurl_imp.lib -- * Apr: E:/buildsystem/release-1928/lib/libapr-1.lib -- * Optional components -- * PIXMAN: E:/buildsystem/release-1928/lib/pixman-1.lib -- * SQLITE: E:/buildsystem/release-1928/lib/sqlite3.lib -- * POSTGRESQL: E:/buildsystem/release-1928/lib/libpq.lib -- * Berkeley DB: disabled -- * LMDB: disabled -- * Memcache: disabled -- * Redis: disabled -- * TIFF: E:/buildsystem/release-1928/lib/tiff.lib -- * GeoTIFF: disabled -- * Experimental TIFF write support: E:/buildsystem/release-1928/lib/tiff.lib -- * PCRE: E:/buildsystem/release-1928/lib/pcre.lib -- * PCRE2: disabled -- * Experimental mapserver support: disabled -- * RIAK: disabled -- * GDAL: E:/buildsystem/release-1928/lib/gdal_i.lib -- * Optional features -- * MAPCACHE_DETAIL: ENABLED -- Found GEOS: E:/buildsystem/release-1928/lib/geos_c.lib -- * Seeder Configuration Options: -- * GEOS: E:/buildsystem/release-1928/lib/geos_c.lib -- * OGR: E:/buildsystem/release-1928/lib/gdal_i.lib -- Found FCGI: E:/buildsystem/release-1928/lib/libfcgi.lib -- * CGI Configuration Options: -- * FastCGI: E:/buildsystem/release-1928/lib/libfcgi.lib -- Found APACHE: E:/buildsystem/release-1928/include -- * Apache Module support status: -- * Mapcache Version String: mod_mapcache/1.14.1 -- * mapcache_detail Configuration Options: -- * Mandatory components -- * SQLite: E:/buildsystem/release-1928/lib/sqlite3.lib -- * Optional components -- * GEOS: E:/buildsystem/release-1928/lib/geos_c.lib -- * OGR: E:/buildsystem/release-1928/lib/gdal_i.lib -- Configuring done -- Generating done -- Build files have been written to: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16 E:\buildsystem\cmake\bin\cmake.exe --build . --config Release --target install Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/CMakeLists.txt axisorder.c buffer.c cJSON.c cache.c cache_bdb.c cache_composite.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\cache_composite.c(146,52): warning C4098: '_mapcache_cache_composite_tile_set': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\cache_composite.c(155,66): warning C4098: '_mapcache_cache_composite_tile_multi_set': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] cache_couchbase.c cache_disk.c cache_fallback.c cache_lmdb.c cache_memcache.c cache_multitier.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\cache_multitier.c(103,54): warning C4098: '_mapcache_cache_multitier_tile_set': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\cache_multitier.c(110,69): warning C4098: '_mapcache_cache_multitier_tile_multi_set': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] cache_redis.c cache_rest.c cache_riak.c cache_sqlite.c cache_tiff.c cache_tokyocabinet.c configuration.c configuration_xml.c Generating Code... Compiling... connection_pool.c core.c dimension.c dimension_es.c dimension_pg.c dimension_sqlite.c dimension_time.c ezxml.c grid.c hmac-sha.c http.c image.c image_error.c imageio.c imageio_jpeg.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\imageio_jpeg.c(115,68): warning C4133: '=': incompatible types - from 'int (__cdecl *)(j_decompress_ptr)' to 'boolean (__cdecl *)(j_decompress_ptr)' [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\imageio_jpeg.c(170,124): warning C4133: '=': incompatible types - from 'int (__cdecl *)(j_compress_ptr)' to 'boolean (__cdecl *)(j_compress_ptr)' [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] imageio_mixed.c imageio_png.c imageio_raw.c lock.c ruleset.c Generating Code... Compiling... service_demo.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1079,54): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1083,56): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1085,56): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1087,57): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1089,55): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1091,58): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1093,56): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\service_demo.c(1095,61): warning C4098: '_create_capabilities_demo': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] service_kml.c service_mapguide.c service_tms.c service_ve.c service_wms.c service_wmts.c services.c source.c source_dummy.c source_fallback.c source_gdal.c source_mapserver.c source_wms.c strptime.c tileset.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\tileset.c(1092,68): warning C4098: 'mapcache_tileset_tile_get_with_subdimensions': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\tileset.c(1232,68): warning C4098: 'mapcache_tileset_tile_get': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\tileset.c(1257,123): warning C4098: 'mapcache_tileset_tile_get': 'void' function returning a value [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] util.c E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\util.c(612,5): warning C4028: formal parameter 3 different from declaration [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] E:\buildsystem\src\mapcache-branch-1-14-vc16\lib\util.c(613,1): warning C4273: 'strnicmp': inconsistent dll linkage [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] C:\Program Files (x86)\Windows Kits\10\Include\10.0.19041.0\ucrt\string.h(556,26): message : see previous definition of 'strnicmp' [E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\mapcache.vcxproj] Generating Code... Creating library E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/Release/mapcache.lib and object E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/Release/mapcache.exp mapcache.vcxproj -> E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\Release\mapcache.dll Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/apache/CMakeLists.txt mod_mapcache.c Creating library E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/apache/Release/mod_mapcache.lib and object E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/apache/Release/mod_mapcache.exp mod_mapcache.vcxproj -> E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\apache\Release\mod_mapcache.dll Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/cgi/CMakeLists.txt mapcache.c mapcache.fcgi.vcxproj -> E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\cgi\Release\mapcache.fcgi.exe Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/contrib/mapcache_detail/CMakeLists.txt mapcache_detail.c mapcache_detail.vcxproj -> E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\contrib\mapcache_detail\Release\mapcache_detail.exe Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/util/CMakeLists.txt mapcache_seed.c mapcache_seed.vcxproj -> E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\util\Release\mapcache_seed.exe Building Custom Rule E:/buildsystem/src/mapcache-branch-1-14-vc16/CMakeLists.txt -- Install configuration: "Release" -- Installing: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/install/lib/mapcache.lib -- Installing: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/install/lib/mapcache.dll -- Installing: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/install/bin/mapcache_seed.exe -- Installing: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/install/bin/mapcache.fcgi.exe -- Installing: E:/buildsystem/src/mapcache-branch-1-14-vc16/vc16/install/bin/mapcache_detail.exe if not exist E:\buildsystem\release-1928\bin\ms mkdir E:\buildsystem\release-1928\bin\ms if not exist E:\buildsystem\release-1928\bin\ms\apps mkdir E:\buildsystem\release-1928\bin\ms\apps cd E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\install xcopy /Y lib\*.dll E:\buildsystem\release-1928\bin lib\mapcache.dll 1 File(s) copied xcopy /Y bin\*.exe E:\buildsystem\release-1928\bin\ms\apps bin\mapcache.fcgi.exe bin\mapcache_detail.exe bin\mapcache_seed.exe 3 File(s) copied xcopy /Y lib\*.lib E:\buildsystem\release-1928\lib lib\mapcache.lib 1 File(s) copied cd E:\buildsystem\src\mapcache-branch-1-14-vc16\vc16\apache\Release xcopy /Y *.dll E:\buildsystem\release-1928\bin E:mod_mapcache.dll 1 File(s) copied cd E:\buildsystem