Comments (2)
and on linux:
= note: /usr/lib64/libgdal.so: undefined reference to PQcmdStatus@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQfname@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQsetNoticeProcessor@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQftable@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQstatus@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQftablecol@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQconnectdb@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQescapeStringConn@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to lo_close@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQputCopyEnd@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQgetvalue@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQgetisnull@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQftype@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQfmod@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to lo_creat@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQresultStatus@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to lo_read@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQexec@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQsetClientEncoding@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQgetlength@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQputCopyData@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQgetResult@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to lo_write@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQfinish@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQclear@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQerrorMessage@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQnfields@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
lo_open@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to PQexecParams@RHPG_9.6' /usr/lib64/libgdal.so: undefined reference to
PQntuples@RHPG_9.6'
/usr/lib64/libgdal.so: undefined reference to `PQresultErrorMessage@RHPG_9.6'
collect2: error: ld returned 1 exit status
= note: some extern
functions couldn't be found; some native libraries may need to be installed or have their path specified
= note: use the -l
flag to specify native libraries to link
= note: use the cargo:rustc-link-lib
directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname)
error: could not compile geo2png
(bin "geo2png") due to previous error
from gdal.
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:44:24
|
44 | NearestNeighbour = GDALRIOResampleAlg::GRIORA_NearestNeighbour,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:46:16
|
46 | Bilinear = GDALRIOResampleAlg::GRIORA_Bilinear,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:48:13
|
48 | Cubic = GDALRIOResampleAlg::GRIORA_Cubic,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:50:19
|
50 | CubicSpline = GDALRIOResampleAlg::GRIORA_CubicSpline,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:52:15
|
52 | Lanczos = GDALRIOResampleAlg::GRIORA_Lanczos,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:54:15
|
54 | Average = GDALRIOResampleAlg::GRIORA_Average,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:56:12
|
56 | Mode = GDALRIOResampleAlg::GRIORA_Mode,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\rasterband.rs:58:13
|
58 | Gauss = GDALRIOResampleAlg::GRIORA_Gauss,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:29:15
|
29 | Unknown = GDALDataType::GDT_Unknown,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:31:13
|
31 | UInt8 = GDALDataType::GDT_Byte,
| ^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:34:12
|
34 | Int8 = GDALDataType::GDT_Int8,
| ^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:36:14
|
36 | UInt16 = GDALDataType::GDT_UInt16,
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:38:13
|
38 | Int16 = GDALDataType::GDT_Int16,
| ^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:40:14
|
40 | UInt32 = GDALDataType::GDT_UInt32,
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:42:13
|
42 | Int32 = GDALDataType::GDT_Int32,
| ^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:45:14
|
45 | UInt64 = GDALDataType::GDT_UInt64,
| ^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:48:13
|
48 | Int64 = GDALDataType::GDT_Int64,
| ^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:50:15
|
50 | Float32 = GDALDataType::GDT_Float32,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
error[E0308]: mismatched types
--> C:\Users\dell.cargo\registry\src\index.crates.io-6f17d22bba15001f\gdal-0.16.0\src\raster\types.rs:52:15
|
52 | Float64 = GDALDataType::GDT_Float64,
| ^^^^^^^^^^^^^^^^^^^^^^^^^ expected u32
, found i32
For more information about this error, try rustc --explain E0308
.
error: could not compile gdal
(lib) due to 19 previous errors
本地安装gdal 3.8.4 rust插件0.16.0
from gdal.
Related Issues (20)
- Mutators in `Feature` don't require mutable receiver
- `Feature` fields getters and setters should accept field indexes HOT 3
- [Feature Request] Guess the Driver Type based on the file extension HOT 18
- FeatureIterator doesn't reset if the iterator isn't completely read HOT 1
- [Feature] Add `DriverIterator` to iterate through the available drivers HOT 1
- Random test suite crash HOT 23
- Can it support macos? HOT 6
- Update OGR arrow example to use arrow-rs
- No iterator support for rasterbands
- Cannot share dataset safely between threads HOT 2
- Discord link not working HOT 1
- is anyone here haved this problem solve? gdal-sys HOT 5
- Cross-compile for aarch64-linux-gnu
- `Polygonize` wrapper HOT 3
- Can `Geometry` be `Send`? HOT 2
- No pre-built bindings available for GDAL version 3.8 HOT 1
- Add Wrapper for OGR_L_Intersection
- Please can we have a release which includes the GDAL 3.9.0 bindings? HOT 3
- Suppress print messages from underlying lib
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdal.