Re: [gdal-dev] Building with cmake

2022-05-08 Thread Paul Harwood
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

Re: [gdal-dev] GDAL 3.5.0 release candidate available

2022-05-08 Thread Greg Troxel
Even Rouault writes: > https://download.osgeo.org/gdal/3.5.0/gdal-3.5.0rc1.tar.xz All on NetBSD 9 amd64. I built this in pkgsrc, using autoconf (because that's how the package is from 3.4.x). It built fine, with minor changes in installed files. (In addition to what's in NEWS, include/gdalcac

Re: [gdal-dev] Building with cmake

2022-05-08 Thread Greg Troxel
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

Re: [gdal-dev] Building with cmake

2022-05-08 Thread Even Rouault
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

Re: [gdal-dev] Building with cmake

2022-05-08 Thread Greg Troxel
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

Re: [gdal-dev] Building with cmake

2022-05-08 Thread Paul Harwood
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

Re: [gdal-dev] Building with cmake

2022-05-08 Thread Even Rouault
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

[gdal-dev] Building with cmake

2022-05-08 Thread Bjørn Ruff
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