Bjørn,
cf https://gdal.org/development/dev_environment.html . PROJ
(https://proj.org) is a required build dependency for GDAL
Even
Le 10/02/2023 à 13:28, Bjørn Ruff a écrit :
Hello,
I have following problem building gdal with cmake under Windows
(having newest version of all)
Can someone tell me what i am doing wrong?
C:\externLibs\gdal\build>cmake -G "Visual Studio 17 2022" ..
-- Selecting Windows SDK version 10.0.22000.0 to target Windows
10.0.19044.
-- GDAL_VERSION = 3.7.0dev
-- GDAL_ABI_FULL_VERSION = 37
-- GDAL_SOVERSION =
-- Could NOT find ODBCCPP (missing: ODBCCPP_LIBRARY ODBCCPP_INCLUDE_DIR)
-- Could NOT find MSSQL_NCLI (missing: MSSQL_NCLI_LIBRARY
MSSQL_NCLI_INCLUDE_DIR) (found version "11")
-- Could NOT find MySQL (missing: MYSQL_LIBRARY MYSQL_INCLUDE_DIR)
-- Could NOT find Iconv (missing: Iconv_LIBRARY Iconv_CHARSET_LIBRARY)
-- Could NOT find LibXml2 (missing: LIBXML2_INCLUDE_DIR)
-- Could NOT find EXPAT (missing: EXPAT_DIR)
-- Could NOT find EXPAT (missing: EXPAT_LIBRARY EXPAT_INCLUDE_DIR)
-- Failed to find XercesC (missing: XercesC_LIBRARY
XercesC_INCLUDE_DIR XercesC_VERSION)
-- Could NOT find Deflate (missing: Deflate_LIBRARY Deflate_INCLUDE_DIR)
-- Could NOT find CryptoPP (missing: CRYPTOPP_LIBRARY
CRYPTOPP_TEST_KNOWNBUG CRYPTOPP_INCLUDE_DIR)
CMake Error at C:/Program
Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230
(message):
Could NOT find PROJ (missing: PROJ_INCLUDE_DIR) (Required is at least
version "6.0")
Call Stack (most recent call first):
C:/Program
Files/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600
(_FPHSA_FAILURE_MESSAGE)
cmake/modules/packages/FindPROJ.cmake:57
(find_package_handle_standard_args)
cmake/helpers/CheckDependentLibraries.cmake:356 (find_package)
gdal.cmake:265 (include)
CMakeLists.txt:224 (include)
Thanks,
Björn Ruff
Forstware Informationssysteme
Von Lassbergstr. 35
D 88709 Meersburg
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev