Probably that you started doing a "cmake ." , and then created a Debug
subdirectory, and then ran "cmake .." from it ?
Just remove C:/externLibs/gdal_new/gcore/gdal_version.h and that should work
Le 08/05/2022 à 10:47, Bjørn Ruff a écrit :
Hello,
can someone help building gdal with cmake?
I end up with
....
-- Looking for C++ include atlbase.h
-- Looking for C++ include atlbase.h - found
CMake Error at cmake/helpers/GdalVersion.cmake:40 (message):
C:/externLibs/gdal_new/gcore/gdal_version.h was found, and likely
conflicts
with C:/externLibs/gdal_new/Debug/gcore/gdal_version.h
Call Stack (most recent call first):
gdal.cmake:220 (include)
CMakeLists.txt:218 (include)
-- Configuring incomplete, errors occurred!
See also "C:/externLibs/gdal_new/Debug/CMakeFiles/CMakeOutput.log".
See also "C:/externLibs/gdal_new/Debug/CMakeFiles/CMakeError.log".
--
http://www.spatialys.com
My software is free, but my time generally not.
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev