Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is anyone here haved this problem solve? gdal-sys #531

Open
kl402401 opened this issue Apr 26, 2024 · 5 comments
Open

is anyone here haved this problem solve? gdal-sys #531

kl402401 opened this issue Apr 26, 2024 · 5 comments

Comments

@kl402401
Copy link

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>

@arya-pathak
Copy link

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

@kl402401
Copy link
Author

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

@kl402401
Copy link
Author

anyone have this problem?

@alecsandrei
Copy link

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

@kl402401
Copy link
Author

kl402401 commented May 6, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants