georust/gdal

is anyone here haved this problem solve? gdal-sys

kl402401 opened this issue · 5 comments

error: failed to run custom build command for gdal-sys v0.9.1

Caused by:
process didn't exit successfully: D:\rust_projects\rust_vector\target\debug\build\gdal-sys-859509a06049ee1a\build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-env-changed=GDAL_STATIC
cargo:rerun-if-env-changed=GDAL_DYNAMIC
cargo:rerun-if-env-changed=GDAL_INCLUDE_DIR
cargo:rerun-if-env-changed=GDAL_LIB_DIR
cargo:rerun-if-env-changed=GDAL_HOME
cargo:rerun-if-env-changed=GDAL_VERSION

--- stderr
thread 'main' panicked at C:\Users\Geovis.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-sys-0.9.1\build.rs:144:17:
windows-msvc requires gdal_i.lib to be present in either $GDAL_LIB_DIR or $GDAL_HOME\lib.
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
PS D:\rust_projects\rust_vector>

Have you installed the GDAL library (C) as detailed in: https://gis.stackexchange.com/questions/370736/installing-gdal-on-ubuntu-20-04-unmet-dependencies
If yes, it could be an issue regarding environment variables

Have you installed the GDAL library (C) as detailed in: https://gis.stackexchange.com/questions/370736/installing-gdal-on-ubuntu-20-04-unmet-dependencies If yes, it could be an issue regarding environment variables

my system is windowns 11, i have installed GDAL library(for c\c++),and set environment variables,but the problem still.I don't know how to do with it

anyone have this problem?

Hello, I had a similar issue and I managed to solve it. Here is something that may help you #433

Hello, I had a similar issue and I managed to solve it. Here is something that may help you #433

Think you,bro! but the problem still,and i hate it