libsixel
sixel-sys: Rust FFI bindings forThe sixel-sys
crate provides delcarations and linkage for the libsixel
C library. This crate does not provide higher-level abstractions over the libsixel
library.
Category: Rust / Foreign Function Interface |
Watchers: 3 |
Star: 7 |
Fork: 2 |
Last update: Dec 2, 2021 |
The sixel-sys
crate provides delcarations and linkage for the libsixel
C library. This crate does not provide higher-level abstractions over the libsixel
library.
Fixes https://github.com/AdnoC/sixel-sys/issues/1
On Windows: I get this error:
rror: failed to run custom build command for `sixel-sys v0.3.1`
Caused by:
process didn't exit successfully: `V:\Documents\viuertest\sixel-sys-test\target\debug\build\sixel-sys-f5b3ec906222e763\build-script-build` (exit code: 101)
--- stdout
cargo:rustc-link-lib=dylib=sixel
cargo:rustc-link-search=native=V:\Documents\viuertest\sixel-sys-test\target\debug\build\sixel-sys-060e93a697b4af5b\out\lib
--- stderr
thread 'main' panicked at 'Failed to execute ./configure: Os { code: 2, kind: NotFound, message: "The system cannot find the file specified." }', C:\Users\micha\.cargo\registry\src\github.com-1ecc6299db9ec823\sixel-sys-0.3.1\build.rs:71:22
On macOS I get this:
--- stderr
thread 'main' panicked at 'Failed to execute ./configure: OS {code: 2, kind: NotFound, message: "No such file or directory" }', /users/michaelmulet/.cargo/registry/src/github.com-1ecc6299db9ec823/sixel-sys-0.3.1/build.rs:71:22
configure: WARNING: unrecognized options: --without-python
configure : WARNING: unrecognized options: --without-python
If I try to build with RUST_BACKTRACE=1, then it says the error is at
build_script_build::main
at ./build.rs:71:9
Tracing it backwards, that just tells us that configure failed.