[gdal-dev] building gdal problems

Joaquim Manuel Freire Luís jluis at ualg.pt
Fri Feb 10 05:24:44 PST 2023


> Could NOT find PROJ (missing: PROJ_INCLUDE_DIR) (Required is at least
   version "6.0")


Linking to PROJ lib is mandatory.

All other dependencies are optional (though many are strongly recommended).

Joaquim

-----Original Message-----
From: gdal-dev <gdal-dev-bounces at lists.osgeo.org> On Behalf Of Bjørn Ruff
Sent: Friday, February 10, 2023 12:29 PM
To: gdal-dev at lists.osgeo.org
Subject: [gdal-dev] building gdal problems

[Não costuma receber e-mails de br at forstware.de. Saiba por que motivo isto é importante em https://aka.ms/LearnAboutSenderIdentification. ]

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 at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the gdal-dev mailing list