OSGeo / gdal

GDAL is an open source MIT licensed translator library for raster and vector geospatial data formats.
https://gdal.org
Other
4.94k stars 2.57k forks source link

When compiled GDAL, it encountered that cpl_azure.obj could not be found. #8329

Closed Jozoooooo closed 1 year ago

Jozoooooo commented 1 year ago

I'm having trouble compiling GDAL with CMake and VS2022 that it can't find cpl_azure.obj. I have tried some solutions but without success. Please can anyone help me to solve this problem?

LINK : fatal error LNK1104: cannot open file “D:\GDAL_build\port\cpl.dir\Debug\cpl_azure.obj”

rouault commented 1 year ago

Likely an issue on your end. GDAL should build fine with this environment, and we have CI configurations very close to this. I'd suggest cleaning your build directory, and restart. Please provide how you invoke cmake and the output of the cmake command.

Jozoooooo commented 1 year ago

Thank you for your reply. I just input the source code and build path in the CMake-gui, and then generate the VS solution. Then the "ALL-BUILD" process in VS generated the above error. The output of CMake is as follows:

The C compiler identification is MSVC 19.37.32822.0
The CXX compiler identification is MSVC 19.37.32822.0
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working C compiler: D:/Application/Microsoft Visual Studio/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
Detecting C compile features
Detecting C compile features - done
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Check for working CXX compiler: D:/Application/Microsoft Visual Studio/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe - skipped
Detecting CXX compile features
Detecting CXX compile features - done
Performing Test test_AVX
Performing Test test_AVX - Success
Performing Test test_AVX2
Performing Test test_AVX2 - Success
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR) 
Found Python: D:/Application/Miniconda3/python.exe (found suitable version "3.11.4", minimum required is "3.6") found components: Interpreter Development NumPy Development.Module Development.Embed 
Looking for vsnprintf
Looking for vsnprintf - not found
Looking for getcwd
Looking for getcwd - found
Looking for fcntl.h
Looking for fcntl.h - found
Looking for unistd.h
Looking for unistd.h - not found
Looking for sys/types.h
Looking for sys/types.h - found
Looking for locale.h
Looking for locale.h - found
Looking for xlocale.h
Looking for xlocale.h - not found
Looking for direct.h
Looking for direct.h - found
Looking for dlfcn.h
Looking for dlfcn.h - not found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of int
Check size of int - done
Check size of unsigned long
Check size of unsigned long - done
Check size of long int
Check size of long int - done
Check size of void*
Check size of void* - done
Check size of size_t
Check size of size_t - done
Looking for C++ include atlbase.h
Looking for C++ include atlbase.h - found
GDAL_VERSION          = 3.8.0dev
GDAL_ABI_FULL_VERSION = 38
GDAL_SOVERSION        = 
Found ODBC: odbc32.lib   
Could NOT find ODBCCPP (missing: ODBCCPP_LIBRARY ODBCCPP_INCLUDE_DIR) 
Could NOT find MSSQL_NCLI (missing: MSSQL_NCLI_LIBRARY MSSQL_NCLI_INCLUDE_DIR MSSQL_NCLI_VERSION) 
Could NOT find MSSQL_ODBC (missing: MSSQL_ODBC_LIBRARY MSSQL_ODBC_INCLUDE_DIR MSSQL_ODBC_VERSION) 
Could NOT find MySQL (missing: MYSQL_LIBRARY MYSQL_INCLUDE_DIR) 
Found CURL: D:/Application/Miniconda3/Library/lib/libcurl.lib (found version "8.1.1")  
Found Iconv: D:/Application/Miniconda3/Library/lib/iconv.lib  
Performing Test _ICONV_SECOND_ARGUMENT_IS_NOT_CONST
Performing Test _ICONV_SECOND_ARGUMENT_IS_NOT_CONST - Success
Performing Test ICONV_HAS_EXTRA_CHARSETS
Performing Test ICONV_HAS_EXTRA_CHARSETS - Success
Found LibXml2: D:/Application/Miniconda3/Library/lib/libxml2.lib (found version "2.10.4") 
Found XercesC: D:/Application/Miniconda3/Library/lib/xerces-c_3.lib (found version "3.2.4") 
Found ZLIB: D:/Application/Miniconda3/Library/lib/z.lib (found version "1.2.13")  
Found Deflate: D:/Application/Miniconda3/Library/lib/deflate.lib  
Found OpenSSL: D:/Application/Miniconda3/Library/lib/libcrypto.lib (found version "1.1.1v") found components: SSL Crypto 
Could NOT find CryptoPP (missing: CRYPTOPP_LIBRARY CRYPTOPP_TEST_KNOWNBUG CRYPTOPP_INCLUDE_DIR) 
Found PROJ: D:/Application/Miniconda3/Library/lib/proj.lib (found suitable version "6.2.1", minimum required is "6.0") 
Found TIFF: D:/Application/Miniconda3/Library/lib/tiff.lib (found suitable version "4.5.1", minimum required is "4.0")  
Could NOT find SFCGAL (missing: SFCGAL_LIBRARY SFCGAL_INCLUDE_DIR) 
Reading D:/Application/Miniconda3/Library/cmake/geotiff-config.cmake
GeoTIFF configuration, version 1.7.0
  include directory: ${GeoTIFF_INCLUDE_DIRS}
  ${GeoTIFF_LIBRARIES} set to shared library
Found PNG: D:/Application/Miniconda3/Library/lib/libpng.lib (found version "1.6.39") 
Found JPEG: D:/Application/Miniconda3/Library/lib/jpeg.lib (found version "90") 
Performing Test HAVE_JPEGTURBO_DUAL_MODE_8_12
Performing Test HAVE_JPEGTURBO_DUAL_MODE_8_12 - Failed
Found GIF: D:/Application/Miniconda3/Library/lib/gif.lib (found version "5.2.1") 
Could NOT find JSONC (missing: JSONC_DIR)
Could NOT find JSONC (missing: JSONC_LIBRARY JSONC_INCLUDE_DIR) 
Could NOT find OpenCAD (missing: OPENCAD_LIBRARY OPENCAD_INCLUDE_DIR) 
Found QHULL: D:/Application/Miniconda3/Library/lib/qhull_r.lib  
Found LERC: D:/Application/Miniconda3/Library/lib/Lerc.lib  
Could NOT find BRUNSLI (missing: BRUNSLI_ENC_LIB BRUNSLI_DEC_LIB BRUNSLI_INCLUDE_DIR) 
Could NOT find libQB3 (missing: libQB3_DIR)
Could NOT find Shapelib (missing: Shapelib_INCLUDE_DIR Shapelib_LIBRARY) 
Found PCRE2: D:/Application/Miniconda3/Library/lib/pcre2-8.lib  
Looking for sqlite3_mutex_alloc
Looking for sqlite3_mutex_alloc - found
Looking for sqlite3_column_table_name
Looking for sqlite3_column_table_name - found
Looking for sqlite3_rtree_query_callback
Looking for sqlite3_rtree_query_callback - found
Looking for sqlite3_load_extension
Looking for sqlite3_load_extension - found
Looking for sqlite3_progress_handler
Looking for sqlite3_progress_handler - found
Performing Test SQLite3_HAS_NON_DEPRECATED_AUTO_EXTENSION
Performing Test SQLite3_HAS_NON_DEPRECATED_AUTO_EXTENSION - Success
Found SQLite3: D:/Application/Miniconda3/Library/lib/sqlite3.lib (found version "3.41.2") 
Found SPATIALITE: D:/Application/Miniconda3/Library/lib/spatialite_i.lib (found suitable version "4.3", minimum required is "4.1.2") 
Could NOT find RASTERLITE2 (missing: RASTERLITE2_LIBRARY RASTERLITE2_INCLUDE_DIR) (Required is at least version "1.1.0")
Found LibKML: D:/Application/Miniconda3/Library/lib/kmlbase.lib (found version "1.3.0") 
Found HDF5: D:/Application/Miniconda3/Library/lib/hdf5.lib (found version "1.10.6") found components: C 
Found WebP: D:/Application/Miniconda3/Library/lib/libwebp.lib  
Found FreeXL: D:/Application/Miniconda3/Library/lib/freexl_i.lib  
Could NOT find MRSID (missing: MRSID_LIBRARY MRSID_INCLUDE_DIR) 
Could NOT find Armadillo (missing: ARMADILLO_INCLUDE_DIR) 
Found HDF4: D:/Application/Miniconda3/Library/lib/hdf.lib (found version "4.2.13")  
Could NOT find ECW (missing: ECW_LIBRARY ECWnet_LIBRARY ECWC_LIBRARY NCSUtil_LIBRARY ECW_INCLUDE_DIR) 
Could NOT find OGDI (missing: OGDI_LIBRARY OGDI_INCLUDE_DIRS) 
Looking for CL_VERSION_3_0
Looking for CL_VERSION_3_0 - not found
Looking for CL_VERSION_2_2
Looking for CL_VERSION_2_2 - not found
Looking for CL_VERSION_2_1
Looking for CL_VERSION_2_1 - not found
Looking for CL_VERSION_2_0
Looking for CL_VERSION_2_0 - not found
Looking for CL_VERSION_1_2
Looking for CL_VERSION_1_2 - not found
Looking for CL_VERSION_1_1
Looking for CL_VERSION_1_1 - not found
Looking for CL_VERSION_1_0
Looking for CL_VERSION_1_0 - not found
Could NOT find OpenCL (missing: OpenCL_LIBRARY OpenCL_INCLUDE_DIR) 
Found PostgreSQL: D:/Application/Miniconda3/Library/lib/libpq.lib (found version "12.15")  
Could NOT find FYBA (missing: FYBA_FYBA_LIBRARY FYBA_FYGM_LIBRARY FYBA_FYUT_LIBRARY FYBA_INCLUDE_DIR) 
Found LibLZMA: D:/Application/Miniconda3/Library/lib/liblzma.lib (found version "5.4.2") 
Found LZ4: D:/Application/Miniconda3/Library/lib/liblz4.lib  
Found Blosc: D:/Application/Miniconda3/Library/lib/blosc.lib (found version "1.21.3") 
Could NOT find basisu (missing: basisu_DIR)
Could NOT find IDB (missing: IDB_INCLUDE_DIR IDB_IFCPP_LIBRARY IDB_IFDMI_LIBRARY IDB_IFSQL_LIBRARY IDB_IFCLI_LIBRARY) 
Could NOT find rdb (missing: rdb_DIR)
CMake Warning at cmake/helpers/CheckDependentLibraries.cmake:174 (message):
  Ignoring TileDB because it is at version 2.3, whereas the minimum version
  required is 2.7
Call Stack (most recent call first):
  cmake/helpers/CheckDependentLibraries.cmake:730 (gdal_check_package)
  gdal.cmake:265 (include)
  CMakeLists.txt:246 (include)

Could NOT find OpenEXR (missing: OpenEXR_LIBRARY OpenEXR_UTIL_LIBRARY OpenEXR_HALF_LIBRARY OpenEXR_IEX_LIBRARY OpenEXR_INCLUDE_DIR Imath_INCLUDE_DIR) 
Could NOT find MONGOCXX (missing: MONGOCXX_INCLUDE_DIR BSONCXX_INCLUDE_DIR MONGOCXX_LIBRARY BSONCXX_LIBRARY) 
Found OpenJPEG: D:/Application/Miniconda3/Library/lib/openjp2.lib (found version "2.4.0") 
Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) 
Could NOT find HDFS (missing: HDFS_LIBRARY HDFS_INCLUDE_DIR) 
Found Poppler: D:/Application/Miniconda3/Library/lib/poppler.lib (found version "22.12.0")  
Could NOT find Podofo (missing: PODOFO_LIBRARY PODOFO_INCLUDE_DIR) 
Could NOT find Oracle (missing: Oracle_LIBRARY Oracle_INCLUDE_DIR) 
Could NOT find FileGDB (missing: FileGDB_LIBRARY FileGDB_INCLUDE_DIR) 
Could NOT find KDU (missing: KDU_INCLUDE_DIR KDU_LIBRARY KDU_AUX_LIBRARY) (found version "")
Could NOT find LURATECH (missing: LURATECH_LIBRARY LURATECH_INCLUDE_DIR) 
Could NOT find Arrow (missing: Arrow_DIR)
Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 AWT JVM) 
Could NOT find Java (missing: Java_JAVA_EXECUTABLE Java_JAVAC_EXECUTABLE Java_JAR_EXECUTABLE Java_JAVADOC_EXECUTABLE Java_JAVAH_EXECUTABLE Runtime Development) 
-- Found nuget: D:/Application/CPlusPlusLib/A_SourceCode/GDAL_source/build/tools/nuget.exe
-- Found .NET toolchain: C:/Program Files/dotnet/dotnet.exe (version 7.0.400)
Found CSharp: .NET  
Performing Test COMPILER_SUPPORTS_CXX17
Performing Test COMPILER_SUPPORTS_CXX17 - Failed
Looking for blosc_cbuffer_validate
Looking for blosc_cbuffer_validate - found
Could NOT find BISON (missing: BISON_EXECUTABLE) 
CMake Warning at frmts/hdf5/CMakeLists.txt:59 (message):
  HDF5 library status regarding thread-safety is unknown (set
  GDAL_ENABLE_HDF5_GLOBAL_LOCK=NO if it is known to be thread-safe).  Adding
  a global lock on GDAL side

Performing Test HDF4_HAS_MAXOPENFILES
Performing Test HDF4_HAS_MAXOPENFILES - Success
Looking for sqlite3ext.h
Looking for sqlite3ext.h - found
Could NOT find BISON (missing: BISON_EXECUTABLE) 
Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
  Target system:             Windows
  Installation directory:    C:/Program Files/gdal
  C++ Compiler type:         MSVC
  C compile command line:     D:/Application/Microsoft Visual Studio/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe
  C++ compile command line:   D:/Application/Microsoft Visual Studio/VC/Tools/MSVC/14.37.32822/bin/Hostx64/x64/cl.exe

  CMAKE_C_FLAGS:              /DWIN32 /D_WINDOWS
  CMAKE_CXX_FLAGS:              /DWIN32 /D_WINDOWS /EHsc
  CMAKE_CXX11_STANDARD_COMPILE_OPTION:              
  CMAKE_CXX11_EXTENSION_COMPILE_OPTION:              
  CMAKE_EXE_LINKER_FLAGS:              /machine:x64
  CMAKE_MODULE_LINKER_FLAGS:              /machine:x64
  CMAKE_SHARED_LINKER_FLAGS:              /machine:x64
  CMAKE_STATIC_LINKER_FLAGS:              /machine:x64
  CMAKE_C_FLAGS_DEBUG:              /Ob0 /Od /RTC1
  CMAKE_CXX_FLAGS_DEBUG:              /Ob0 /Od /RTC1
  CMAKE_EXE_LINKER_FLAGS_DEBUG:              /debug /INCREMENTAL
  CMAKE_MODULE_LINKER_FLAGS_DEBUG:              /debug /INCREMENTAL
  CMAKE_SHARED_LINKER_FLAGS_DEBUG:              /debug /INCREMENTAL
  CMAKE_STATIC_LINKER_FLAGS_DEBUG:              
  CMAKE_C_FLAGS_RELEASE:              /O2 /Ob2 /DNDEBUG
  CMAKE_CXX_FLAGS_RELEASE:              /O2 /Ob2 /DNDEBUG
  CMAKE_EXE_LINKER_FLAGS_RELEASE:              /INCREMENTAL:NO
  CMAKE_MODULE_LINKER_FLAGS_RELEASE:              /INCREMENTAL:NO
  CMAKE_SHARED_LINKER_FLAGS_RELEASE:              /INCREMENTAL:NO
  CMAKE_STATIC_LINKER_FLAGS_RELEASE:              
  CMAKE_C_FLAGS_MINSIZEREL:              /O1 /Ob1 /DNDEBUG
  CMAKE_CXX_FLAGS_MINSIZEREL:              /O1 /Ob1 /DNDEBUG
  CMAKE_EXE_LINKER_FLAGS_MINSIZEREL:              /INCREMENTAL:NO
  CMAKE_MODULE_LINKER_FLAGS_MINSIZEREL:              /INCREMENTAL:NO
  CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL:              /INCREMENTAL:NO
  CMAKE_STATIC_LINKER_FLAGS_MINSIZEREL:              
  CMAKE_C_FLAGS_RELWITHDEBINFO:              /O2 /Ob1 /DNDEBUG
  CMAKE_CXX_FLAGS_RELWITHDEBINFO:              /O2 /Ob1 /DNDEBUG
  CMAKE_EXE_LINKER_FLAGS_RELWITHDEBINFO:              /debug /INCREMENTAL
  CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO:              /debug /INCREMENTAL
  CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO:              /debug /INCREMENTAL
  CMAKE_STATIC_LINKER_FLAGS_RELWITHDEBINFO:              

Enabled drivers and features and found dependency packages
-- The following features have been enabled:

 * gdal_JPEG, JPEG image format
 * gdal_RAW, Raw formats:EOSAT FAST Format, FARSITE LCP and Vexcel MFF2 Image
 * gdal_GTIFF, GeoTIFF image format
 * gdal_MEM, Read/write data in Memory
 * gdal_VRT, Virtual GDAL Datasets
 * gdal_HFA, Erdas Imagine .img
 * gdal_SDTS, SDTS translator
 * gdal_NITF, National Imagery Transmission Format
 * gdal_GXF, GXF
 * gdal_AAIGRID, Arc/Info ASCII Grid Format.
 * gdal_CEOS, CEOS translator
 * gdal_SAR_CEOS, ASI CEOS translator
 * gdal_XPM, XPM image format
 * gdal_DTED, Military Elevation Data
 * gdal_JDEM, JDEM driver
 * gdal_ENVISAT, Envisat
 * gdal_ELAS, Earth Resources Laboratory Applications Software
 * gdal_FIT, FIT driver
 * gdal_L1B, NOAA Polar Orbiter Level 1b Data Set (AVHRR)
 * gdal_RS2, RS2 -- RadarSat 2 XML Product
 * gdal_ILWIS, Raster Map
 * gdal_RMF, RMF --- Raster Matrix Format
 * gdal_LEVELLER, Daylon Leveller heightfield
 * gdal_SGI, SGI Image driver
 * gdal_SRTMHGT, SRTM HGT File Read Support
 * gdal_IDRISI, Idrisi Raster Format
 * gdal_GSG, Implements the Golden Software Surfer 7 Binary Grid Format.
 * gdal_ERS, ERMapper .ERS
 * gdal_JAXAPALSAR, JAXA PALSAR Level 1.1 and Level 1.5 processed products support
 * gdal_DIMAP, SPOT Dimap Driver
 * gdal_GFF, Ground-based SAR Applitcations Testbed File Format driver
 * gdal_COSAR, COSAR -- TerraSAR-X Complex SAR Data Product
 * gdal_PDS, USGS Astrogeology ISIS Cube (Version 2)
 * gdal_ADRG, ADRG reader and ASRP/USRP Reader
 * gdal_COASP, DRDC Configurable Airborne SAR Processor (COASP) data reader
 * gdal_TSX, TerraSAR-X XML Product Support
 * gdal_TERRAGEN, Terragen™ Terrain File
 * gdal_BLX, Magellan BLX Topo File Format
 * gdal_MSGN, Meteosat Second Generation (MSG) Native Archive Format (.nat)
 * gdal_TIL, EarthWatch .TIL Driver
 * gdal_R, R Object Data Store
 * gdal_NORTHWOOD, NWT_GRD/NWT_GRC -- Northwood/Vertical Mapper File Format
 * gdal_SAGA, SAGA GIS Binary Driver
 * gdal_XYZ, ASCII Gridded XYZ
 * gdal_ESRIC, ESRI compact cache
 * gdal_HF2, HF2/HFZ heightfield raster
 * gdal_KMLSUPEROVERLAY
 * gdal_CTG, CTG driver
 * gdal_ZMAP, ZMAP
 * gdal_NGSGEOID, NOAA NGS Geoid Height Grids
 * gdal_IRIS, IRIS driver
 * gdal_MAP, OziExplorer .MAP
 * gdal_CALS, CALS type 1
 * gdal_SAFE, SAFE -- Sentinel-1 SAFE XML Product
 * gdal_SENTINEL2, Driver for Sentinel-2 Level-1B, Level-1C and Level-2A products.
 * gdal_PRF, PHOTOMOD Raster File
 * gdal_MRF, Meta raster format
 * gdal_WMTS, OGC Web Map Tile Service
 * gdal_GRIB, WMO General Regularly-distributed Information in Binary form
 * gdal_BMP, Microsoft Windows Device Independent Bitmap
 * gdal_TGA, TGA
 * gdal_STACTA, STACTA
 * gdal_BSB, Maptech/NOAA BSB Nautical Chart Format
 * gdal_AIGRID, Arc/Info Binary Grid Format
 * gdal_ARG, ARG: Azavea Raster Grid
 * gdal_USGSDEM, USGS ASCII DEM (and CDED)
 * gdal_AIRSAR, AirSAR Polarimetric Format
 * gdal_OZI, OZF2/OZFX3 raster
 * gdal_PCIDSK, PCI Geomatics Database File
 * gdal_SIGDEM, Scaled Integer Gridded DEM .sigdem Driver
 * gdal_RIK, RIK -- Swedish Grid Maps
 * gdal_STACIT, STACIT
 * gdal_PDF, Geospatial PDF
 * gdal_PNG, PNG image format
 * gdal_GIF, Graphics Interchange Format
 * gdal_WCS, OGC Web Coverage Service
 * gdal_HTTP, HTTP driver
 * gdal_NETCDF, NetCDF network Common Data Form
 * gdal_ZARR, ZARR
 * gdal_DAAS, Airbus DS Intelligence Data As A Service(DAAS)
 * gdal_EEDA, Earth Engine Data API
 * gdal_FITS, FITS Driver
 * gdal_HDF5, Hierarchical Data Format Release 5 (HDF5)
 * gdal_PLMOSAIC, PLMosaic (Planet Labs Mosaics API)
 * gdal_WMS, Web Map Services
 * gdal_OGCAPI, OGCAPI
 * gdal_WEBP, WebP
 * gdal_HDF4, Hierarchical Data Format Release 4 (HDF4)
 * gdal_RASTERLITE, Rasterlite - Rasters in SQLite DB
 * gdal_MBTILES, MBTile
 * gdal_POSTGISRASTER, PostGIS Raster driver
 * gdal_JP2OPENJPEG, JPEG2000 driver based on OpenJPEG library
 * gdal_PCRASTER, PCRaster CSF 2.0 raster file driver
 * ogr_MEM, Read/write driver for MEMORY virtual files
 * ogr_GEOJSON, GeoJSON/ESRIJSON/TopoJSON driver
 * ogr_TAB, MapInfo TAB and MIF/MID
 * ogr_SHAPE, ESRI shape-file
 * ogr_KML, KML
 * ogr_VRT, VRT - Virtual Format
 * ogr_AVC, AVC
 * ogr_GML, GML
 * ogr_CSV, CSV
 * ogr_DGN, DGN
 * ogr_GMT, GMT
 * ogr_NTF, NTF
 * ogr_S57, S57
 * ogr_TIGER, U.S. Census TIGER/Line
 * ogr_GEOCONCEPT, GEOCONCEPT
 * ogr_GEORSS, GEORSS
 * ogr_DXF, DXF
 * ogr_PGDUMP, PGDump
 * ogr_GPSBABEL, GPSBABEL
 * ogr_EDIGEO, EDIGEO
 * ogr_SXF, SXF
 * ogr_OPENFILEGDB, OPENFILEGDB
 * ogr_WASP, WAsP .map format
 * ogr_SELAFIN, OSELAFIN
 * ogr_JML, JML
 * ogr_VDV, VDV-451/VDV-452/INTREST Data Format
 * ogr_FLATGEOBUF, FlatGeobuf
 * ogr_MAPML, MapML
 * ogr_JSONFG, JSONFG
 * ogr_SDTS, SDTS
 * ogr_GPX, GPX - GPS Exchange Format
 * ogr_GMLAS, GMLAS
 * ogr_SVG, Scalable Vector Graphics
 * ogr_CSW, CSW
 * ogr_LIBKML, LibKML
 * ogr_NAS, NAS/ALKIS
 * ogr_PLSCENES, PLSCENES
 * ogr_WFS, OGC WFS service
 * ogr_NGW, NextGIS Web
 * ogr_ELASTIC, ElasticSearch
 * ogr_IDRISI, IDRISI
 * ogr_PDS, Planetary Data Systems TABLE
 * ogr_SQLITE, SQLite3 / Spatialite RDBMS
 * ogr_GPKG, GeoPackage
 * ogr_OSM, OpenStreetMap XML and PBF
 * ogr_VFK, Czech Cadastral Exchange Data Format
 * ogr_MVT, MVT
 * ogr_PMTILES, PMTiles
 * ogr_AMIGOCLOUD, AMIGOCLOUD
 * ogr_CARTO, CARTO
 * ogr_ILI, ILI
 * ogr_PG, PostGIS
 * ogr_MSSQLSPATIAL, MSSQLSPATIAL
 * ogr_ODBC, ODBC
 * ogr_PGEO, PGEO
 * ogr_XLSX, Microsoft Office Excel(xlsx)
 * ogr_XLS, Microsoft Office Excel(xls)
 * ogr_CAD, OpenCAD
 * ogr_GTFS, GTFS
 * ogr_ODS, ODS
 * ogr_LVBAG, LVBAG

-- The following OPTIONAL packages have been found:

 * Python (required version >= 3.6)
   SWIG_PYTHON: Python binding
 * ODBC
   Enable DB support through ODBC
 * Iconv
   Character set recoding (used in GDAL portability library)
 * LibXml2
   Read and write XML formats
 * XercesC
   Read and write XML formats (needed for GMLAS and ILI drivers)
 * Deflate
   Enable libdeflate compression library (complement to ZLib)
 * OpenSSL
   Use OpenSSL library
 * ZSTD
   ZSTD compression library
 * ZLIB
   zlib (external)
 * GIF
   GIF compression library (external)
 * PCRE2
   Enable PCRE2 support for sqlite3
 * SPATIALITE (required version >= 4.1.2)
   Enable spatialite support for sqlite3
 * LibKML
 * HDF5
   Enable HDF5
 * WebP
   WebP compression
 * FreeXL
   Enable XLS driver
 * CFITSIO
   C FITS I/O library
 * HDF4
   Enable HDF4 driver
 * NetCDF
   Enable netCDF driver
 * PostgreSQL
 * LibLZMA
   LZMA compression
 * LZ4
   LZ4 compression
 * Blosc
   Blosc compression
 * ARCHIVE
   Multi-format archive and compression library library (used for /vsi7z/
 * TileDB
   enable TileDB driver
 * OpenJPEG
 * Poppler, A PDF rendering library, <http://poppler.freedesktop.org>
   Enable PDF driver with Poppler (read side)
 * Dotnet
 * CSharp
   SWIG_CSharp: CSharp binding

-- The following RECOMMENDED packages have been found:

 * CURL
   Enable drivers to use web API
 * EXPAT
   Read and write XML formats
 * TIFF (required version >= 4.0), Support for the Tag Image File Format (TIFF)., <https://libtiff.gitlab.io/libtiff/>
   Support for the Tag Image File Format (TIFF).
   gdal_GTIFF: GeoTIFF image format
   gdal_CALS: CALS type 1 driver
 * GeoTIFF
   libgeotiff library (external)
 * PNG
   PNG compression library (external)
 * JPEG
   JPEG compression library (external)
 * QHULL
   Enable QHULL (external)
 * LERC
   Enable LERC (external)
 * SQLite3
   Enable SQLite3 support (used by SQLite/Spatialite, GPKG, Rasterlite, MBTiles, etc.)
 * GEOS
   Geometry Engine - Open Source (GDAL core dependency)

-- The following REQUIRED packages have been found:

 * PROJ (required version >= 6.0)

-- The following features have been disabled:

 * gdal_HEIF, HEIF
 * gdal_MSG, Meteosat Second Generation
 * gdal_GTA, Generic Tagged Arrays
 * gdal_DDS, DirectDraw Surface
 * gdal_KEA, Kea
 * gdal_TILEDB, TileDB tiledb.io
 * gdal_EXR, EXR support via OpenEXR library
 * gdal_RDB, RIEGL RDB Map Pixel (.mpx) driver
 * gdal_JPEGXL, JPEG-XL
 * gdal_BASISU_KTX2, Basis Universal and KTX2 texture formats
 * gdal_JP2KAK, JPEG-2000 (based on Kakadu)
 * gdal_JPIPKAK, JPIP Streaming
 * gdal_JP2LURA, JPEG-2000 (based on Luratech)
 * gdal_SDE, ESRI ArcSDE Raster
 * gdal_MRSID, Multi-resolution Seamless Image Database
 * gdal_GEOR, Oracle Spatial GeoRaster
 * gdal_ECW, ERDAS JPEG2000 (.jp2)
 * ogr_DWG, DWG
 * ogr_FILEGDB, FileGDB
 * ogr_SOSI, SOSI:Systematic Organization of Spatial Information
 * ogr_MYSQL, MySQL
 * ogr_MONGODBV3, MongoDB V3
 * ogr_PARQUET, Parquet
 * ogr_ARROW, Arrow
 * ogr_OCI, Oracle OCI
 * ogr_IDB, IDB
 * ogr_OGDI, OGDI
 * ogr_HANA, SAP HANA

-- The following OPTIONAL packages have not been found:

 * ODBCCPP
   odbc-cpp library (external)
 * MSSQL_NCLI
   MSSQL Native Client to enable bulk copy
 * MSSQL_ODBC
   MSSQL ODBC driver to enable bulk copy
 * MySQL
   MySQL
 * CryptoPP
   Use crypto++ library for CPL.
 * SFCGAL
   gdal core supports ISO 19107:2013 and OGC Simple Features Access 1.2 for 3D operations
 * JSONC
   json-c library (external)
 * OpenCAD
   libopencad (external, used by OpenCAD driver)
 * BRUNSLI
   Enable BRUNSLI for JPEG packing in MRF
 * libQB3
   Enable QB3 compression in MRF
 * RASTERLITE2 (required version >= 1.1.0)
   Enable RasterLite2 support for sqlite3
 * KEA
   Enable KEA driver
 * GTA
   Enable GTA driver
 * MRSID
   MrSID raster SDK
 * Armadillo
   C++ library for linear algebra (used for TPS transformation)
 * ECW
   Enable ECW driver
 * OGDI
   Enable ogr_OGDI driver
 * OpenCL
   Enable OpenCL (may be used for warping)
 * FYBA
   enable ogr_SOSI driver
 * LIBAEC
   Adaptive Entropy Coding implementing Golomb-Rice algorithm (used by GRIB)
 * JXL
   JPEG-XL compression
 * JXL_THREADS
   JPEG-XL threading
 * Crnlib
   enable gdal_DDS driver
 * basisu
   Enable BASISU driver
 * IDB
   enable ogr_IDB driver
 * rdb
   enable RIEGL RDB library
 * OpenEXR
   OpenEXR >=2.2
 * MONGOCXX
   Enable MongoDBV3 driver
 * HEIF
   HEIF >= 1.1
 * HDFS
   Enable Hadoop File System through native library
 * PDFIUM
   Enable PDF driver with Pdfium (read side)
 * Oracle
   Enable Oracle OCI driver
 * TEIGHA
   Enable DWG and DGNv8 drivers
 * FileGDB
   Enable FileGDB (based on closed-source SDK) driver
 * KDU
   Enable KAKADU
 * LURATECH
   Enable JP2Lura driver
 * Arrow
   Apache Arrow C++ library
 * JNI
   SWIG_JAVA: Java binding
 * Java
 * BISON
 * Doxygen

-- The following RECOMMENDED packages have not been found:

 * SWIG, Software development tool that connects programs written in C and C++ with a variety of high-level programming languages., <http://swig.org/>

Disabled components:

 * TILEDB component has been detected, but is disabled with GDAL_USE_TILEDB=OFF

Internal libraries enabled:

 * JSONC internal library enabled
 * OPENCAD internal library enabled

Found GTest: D:/Application/Miniconda3/Library/lib/cmake/GTest/GTestConfig.cmake (found suitable version "1.10.0", minimum required is "1.10.0")  
Using external GTest
Configuring done (52.1s)

Thanks again for your reply.

rouault commented 1 year ago

I' note the version of the components in your Conda environment are not super recent (PROJ 6.2.1 for example), so you might want to update / re-create your Conda env to have something fresher. Although I don't think that's the cause of your issues

What if you try to build from the command line, with something like (from the build directory)?: cmake --build . --config Debug -j8

Jozoooooo commented 1 year ago

Thanks for your reply, I will retry compiling as you suggested.

Jozoooooo commented 1 year ago

Hello, I reinstalled the conda environment after taking your suggestion, and used the command line to compile, but I still reported an error and could not compile.

 D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj]

To solve this problem, I added the following code after https://github.com/OSGeo/gdal/blob/master/CMakeLists.txt#L53

add_definitions(-D_XKEYCHECK_H)

Then it compiles successfully!

I don't know if this problem is my case or it is common. I don't know if I can pull a PR for evaluation.

Thank you again!

rouault commented 1 year ago

It looks a bit like https://developercommunity.visualstudio.com/t/xkeycheckh-doesnt-properly-guard-for-cplusplus-bei/689330 . Perhaps you need to update your VS to a more recent patch release ?

But what you pointed it just a warning, not a fatal error. Can you paste more of the output log to see on which GDAL source file this occurs exactly and see the error mesage ?

Jozoooooo commented 1 year ago

Thank you for your reply. My version of VS is the latest version of Visual Studio Professional 2022 17.7.3. When canceling the addition of the above code "add_definitions(-D_XKEYCHECK_H)", the error message is as follows:

Build FAILED.

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj" (default target) (3) ->
(ClCompile target) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\alg\polygonize_polygonizer.cpp(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj" (default target) (5) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj" (default target) (7) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl_iconv.vcxproj" (default target) (8) ->
  D:\Application\Miniconda3\Library\include\iconv.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl_iconv.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj" (default target) (10) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Miniconda3\Library\include\iconv.h(1,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\gtiff\gdal_GTIFF.vcxproj" (default target) (39) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\gtiff\gdal_GTIFF.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\idrisi\gdal_IDRISI.vcxproj" (default target) (44) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\idrisi\gdal_IDRISI.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj" (default target) (48) ->#error
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj" (default target) (62) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad\libopencad\libopencad.vcxproj" (default target
) (112) ->
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\libopencad\libopencad.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj" (default target) (114) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad\ogr_CAD.vcxproj" (default target) (117) ->
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\ogr_CAD.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\ogr_CAD.vcxproj]
  D:\Application\CPlusPlusLib\A_SourceCode\GDAL\ogr\ogrsf_frmts\cad\libopencad\cadheader.h(525,1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\cad
\ogr_CAD.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj" (default target) (126) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj" (default target) (130
) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\mvt\ogr_MVT.vcxproj" (default target) (138) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\mvt\ogr_MVT.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\osm\ogr_OSM.vcxproj" (default target) (143) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\osm\ogr_OSM.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj" (default target) (146) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\vfk\ogr_VFK.vcxproj" (default target) (159) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(53,1): warning C4005: “bool”: macro redefinition [D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\vfk\ogr_VFK.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj" (default target) (3) ->
(ClCompile target) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\alg\alg.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj" (default target) (5) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\apps\appslib.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj" (default target) (7) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\port\cpl.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj" (default target) (10) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\gcore\gcore.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\gtiff\gdal_GTIFF.vcxproj" (default target) (39) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\gtiff\gdal_GTIFF.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\idrisi\gdal_IDRISI.vcxproj" (default target) (44) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\idrisi\gdal_IDRISI.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj" (default target) (48) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\jpeg\gdal_JPEG.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj" (default target) (62) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\frmts\pcidsk\gdal_PCIDSK.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj" (default target) (114) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogr.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj" (default target) (126) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gml\ogr_GML.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj" (default target) (130
) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\gpkg\ogr_GeoPackage.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\mvt\ogr_MVT.vcxproj" (default target) (138) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\mvt\ogr_MVT.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\osm\ogr_OSM.vcxproj" (default target) (143) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\osm\ogr_OSM.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj" (default target) (146) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\pg\ogr_PG.vcxproj]

"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ALL_BUILD.vcxproj" (default target) (1) ->
"D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\vfk\ogr_VFK.vcxproj" (default target) (159) ->
  D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h(55,1): fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define.
[D:\Application\CPlusPlusLib\A_SourceCode\GDAL\build\ogr\ogrsf_frmts\vfk\ogr_VFK.vcxproj]

    132 Warning(s)
    116 Error(s)

Time Elapsed 00:08:37.87

There are mainly three types of warnings and errors:

warning 1: warning C4005: “bool”: macro redefinition
warning 2: warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
error 1: fatal  error C1189: #error:  The C++ Standard Library forbids macroizing the keyword "bool". Enable warning C4005 to find the forbidden define. 

According to https://stackoverflow.com/questions/63418586 , I added the code "add_definitions(-D_XKEYCHECK_H)", the error disappeared and the compilation was successful.

Thanks again for your reply.

rouault commented 1 year ago

could you do a "grep -r "#define bool" D:/Application/Miniconda3/include" (assuming you have "grep" installed : conda install grep) to look for a potential header in conda that would define bool.

Jozoooooo commented 1 year ago

Thanks for your reply, I used Git Bash to run:

grep -r "#define bool" 

No results were found in D:\Application\Miniconda3\include.

rouault commented 1 year ago

can you attach this D:\Application\Microsoft Visual Studio\VC\Tools\MSVC\14.37.32822\include\xkeycheck.h file ? It might be that it is that file which does the #define bool

Jozoooooo commented 1 year ago

Thank you for your quick reply. In the document you mentioned, I found the following definition of bool:

#if defined(bool)
#define bool EMIT WARNING C4005
#error The C++ Standard Library forbids macroizing the keyword "bool". \
Enable warning C4005 to find the forbidden define.
#endif // bool
rouault commented 1 year ago

Hum weird, isn't there any C4005 warning in the build log that would stop where bool has been defined previously ? can't you try to compile on the command line and redirect the output to a file like

cmake --build . --config Debug -j8 > stdout.txt 2> stderr.txt

Jozoooooo commented 1 year ago

Thank you for your reply. According to your suggestion, I checked "stdout.txt" and found the "stdbool.h" file in "D:\Application\Miniconda3\Library\include" (in the above "D:\Application\Miniconda3\include" There is no such file), in which the bool type is redefined:

#ifndef _STDBOOL_H
#define _STDBOOL_H

#ifndef __cplusplus
#define bool  int
#define true  1
#define false 0
#else
#define bool  bool
#define false false
#define true  true
#endif

#define __bool_true_false_are_defined  1

#endif

I tried removing the file and recompiling, and it compiled successfully. I guess it is the conflict between the two files "xkeycheck.h" and "stdbool.h" that causes the compilation to fail. Thanks again for your reply.

rouault commented 1 year ago

found the "stdbool.h" file in "D:\Application\Miniconda3\Library\include"

hum, ok, that file is definitely suspicious. It should only be provided in the compiler headers, not in conda generic include directory. Maybe a remnant of an older install ? It could be useful that you recreate your conda env from scratch

Closing as not a GDAL bug

Jozoooooo commented 1 year ago

Thank you for your patience and advice.