sixel-sys: Rust FFI bindings for libsixel
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.
Rust FFI bindings for libsixel
License: MIT License
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.
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.
This crate builds a dynamic version of libsixel at compile time and links against it. Then, when you run the executable, that library is not found, and relies on you having a dynamic library of libsixel installed on the operating system.
Please change it so that if libsixel is installed, you use the system installed version, and otherwise you compile and statically link against your own compiled version of libsixel. This is how many popular sys crates work in the Rust ecosystem, for example libgit2-sys.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.