[gdal-dev] Building GDAL on Windows 32 and 64 bit

alex alexhighviz at hotmail.com
Fri May 27 04:56:54 PDT 2016


>> [Alex]
>> Is there a convention about where to place and how to name the win32 and
>x64
>> libraries and include directories when building for both platforms on
>> Windows?
>>
>> Especially, I would like CMake's FindGDAL
>> (https://cmake.org/cmake/help/v3.0/module/FindGDAL.html) to be able to
>find
>> the correct paths automatically.
>>

> [Dmitry Baryshnikov] 
>
>Hi,
>It seems to me there is no standard install path on Windows, so search
>GDAL is tricky.
>CMake can register package in registry and so find GDAL, but GDAL have
>to be CMaked too.
>
>You may try our CMake GDAL (https://github.com/nextgis-borsch/lib_gdal).
>In your project only need to add find_anyproject(GDAL), see -
>https://github.com/nextgis-borsch/borsch.
>GDAL will be downloaded, build and linked with your project.
>

Hi Dmitry,

Thanks, that looks very useful and addresses a major headache. I am a bit reluctant to include further dependencies and straying from the 'official' GDAL repository and processes. 

Is there any chance that your efforts will make it to a future GDAL release?



More information about the gdal-dev mailing list