t-rex-tileserver / t-rex

t-rex is a vector tile server specialized on publishing MVT tiles from your own data
https://t-rex.tileserver.ch/
MIT License
545 stars 68 forks source link

cargo build error for GDAL #302

Closed pjanetzek closed 1 year ago

pjanetzek commented 1 year ago

Hello, I'm quite new to rust - could you tell me where to set --features bindgen to make t-rex build?

  thread 'main' panicked at 'No pre-built bindings available for GDAL version 3.6. Use `--features bindgen` to generate your own bindings.',

Thanks!

pjanetzek commented 1 year ago

I can build gdal-sys with bindgen when checking it out on it's own.

pjanetzek commented 1 year ago

ok found the Cargo.toml

gdal-sys = { version = "0.8", features = ["bindgen"] }
dotlambda commented 11 months ago
gdal-sys = { version = "0.8", features = ["bindgen"] }

@pka Could this be made the default?

pka commented 11 months ago

@dotlambda Done in master branch.

dotlambda commented 10 months ago

@pka That also has to be reflected in Cargo.lock.

pka commented 10 months ago

@dotlambda done