gdal
GDAL is a translator library for raster and vector geospatial data formats by the Open Source Geospatial Foundation
Latest version: 3.13.3
Add to xmake.lua
add_requires("gdal 3.13.3")Learn how to add and link packages with Xmake →
Information
- License
- MIT
- Recipe updated
- 2026-09-16T06:55:35.000Z
Platforms
- linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
- macosx: x86_64, arm64
- windows: x86, x64
Options
apps- Build GDAL applications. · Type: boolean · Default: false
curl- Use CURL. · Type: boolean · Default: false
geos- Use GEOS. · Type: boolean · Default: false
gif- Use GIF. · Type: boolean · Default: false
iconv- Use Iconv. · Type: boolean · Default: false
jpeg- Use JPEG. · Type: boolean · Default: false
openjpeg- Use OpenJPEG. · Type: boolean · Default: true
openssl- Use OpenSSL. · Type: boolean · Default: false
png- Use PNG. · Type: boolean · Default: false
sqlite3- Use SQLite3. · Type: boolean · Default: false
xercesc- Use Xerces-C. · Type: boolean · Default: false
Versions
- 3.5.1
- 3.8.5
- 3.9.0
- 3.9.1
- 3.9.2
- 3.9.3
- 3.10.0
- 3.10.2
- 3.11.1
- 3.11.3
- 3.12.1
- 3.12.2
- 3.12.3
- 3.13.1
- 3.13.2
- 3.13.3
Dependencies
Install with xrepo
Install the package independently of a project and inspect its available configuration.
install
xrepo install "gdal 3.13.3"show info
xrepo info "gdal"Link a library to your target
Declare the requirement, then attach the library to the target that uses it.
xmake.lua
add_requires("gdal 3.13.3")
target("demo")
set_kind("binary")
add_files("src/*.cpp")
add_packages("gdal")Open a package environment
Open a shell with the environment exported by this package. Use the executable names documented by the package.
enter shell
xrepo env -b "gdal 3.13.3" shell