[gdal-dev] compiling gdal from source for Windows ARM64 failed

Reiner Schlitzer Reiner.Schlitzer at awi.de
Mon Nov 4 07:38:50 PST 2024


Hi,
I am trying to compile the GDAL library for the Windows ARM64 architecture but fail during the build step because of undefined CPL_CPUID in the port\cpl_cpu_features.cpp file. The Windows ARM64 case seems not to be covered in the definition block at the top.
Can you please give advice on how to fix this issue, or can you please get me into contact with people working on creating GDAL binaries for Windows ARM64. If GDAL binaries for Windows ARM64 already exist, please point me to the download location. Thank you very much in advance.
Here are details on what I have done:

  *   The GDAL source was downloaded from the master branch at https://github.com/OSGeo/GDAL.
  *   CMAKE configuration command: cmake -DCMAKE_PREFIX_PATH=c:/develop -DBUILD_APPS=OFF -DGDAL_BUILD_OPTIONAL_DRIVERS=OFF -DOGR_BUILD_OPTIONAL_DRIVERS=OFF -DCMAKE_BUILD_TYPE=Release ..
  *   CMAKE build command: cmake --build .
The output from the config and build steps are attached. Dependencies, such as proj, hdf5, netcdf, sqlite3, expat, openssl, zlib and others had been compiled successfully previously and are accessible at compile time at C:\develop. I am working on a Windows on Arm system with Snapdragon(R) X Elite processor and 32GB of RAM.
Any advice on how to make progress is greatly appreciated. Thanks in advance.

Best regards,
Reiner Schlitzer

------------------------------------------------
Prof. Dr. Reiner Schlitzer
Alfred-Wegener-Institut
Helmholtz-Zentrum für Polar- und Meeresforschung
Am Alten Hafen 26
27568 Bremerhaven
GERMANY

e-mail: Reiner.Schlitzer at awi.de<mailto:Reiner.Schlitzer at awi.de>
https://www.awi.de/en/about-us/organisation/staff/single-view/reiner-schlitzer.html

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241104/84ed7b34/attachment-0001.htm>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMAKE_build_output.txt
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241104/84ed7b34/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: CMAKE_config_output.txt
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20241104/84ed7b34/attachment-0003.txt>


More information about the gdal-dev mailing list