Greg Troxel writes:
> The problem is that there are no instructions for building with cmake,
> and something that normally works with cmake does not. By 'there are no
> instructions', I mean that I looked at README.md (which is hard to read
> in text because of all the CI stuff), and looked for
Ok, I compiled the old way (no cmake).
Thank you all for responding
Bjørn
-Original Message-
From: gdal-dev On Behalf Of
gdal-dev-boun...@lists.osgeo.org Sun May 8 14:14:13 2022
Sent: Sunday, May 8, 2022 2:14 PM
To: Even Rouault
Cc: gdal-dev
Subject: Re: [gdal-dev] Building with cmake
https://gdal.org/build_hints.html#build-hints
??
On Sun, 8 May 2022, 13:13 Greg Troxel, wrote:
>
> Even Rouault writes:
>
> > In-tree CMake builds are only partly supported currently, because of
> > the continued support of autoconf/nmake and conflicts between
> > generated files of CMake wit
Even Rouault writes:
> In-tree CMake builds are only partly supported currently, because of
> the continued support of autoconf/nmake and conflicts between
> generated files of CMake with files used by autoconf/nmake. We should
> be able to fix that once support for autoconf/nmake is gone
>
> An
Le 08/05/2022 à 12:37, Greg Troxel a écrit :
Paul Harwood writes:
I get that error message when I try to use the source directory as the
build directory.
With cmake, it is better to use a different folder structure for the build
- if I remember correctly something like running cmake in a cle
Paul Harwood writes:
> I get that error message when I try to use the source directory as the
> build directory.
>
> With cmake, it is better to use a different folder structure for the build
> - if I remember correctly something like running cmake in a clean version
> of the repository but usin
I get that error message when I try to use the source directory as the
build directory.
With cmake, it is better to use a different folder structure for the build
- if I remember correctly something like running cmake in a clean version
of the repository but using ..
cmake -S . -B ../build
On Su
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
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
w