Comments (7)
I encounter the same issue when I try to build from source, on my x86-64, ubuntu18.04 machine. I don't know how to add the static library dependency. Hope for some advice
from imager.
I have a similar issue in void linux, where I added libwebp-devel (which should be the equivalent of libwebp-dev in ubuntu), but encountered a fatal error that stddef.h could not be found when it was clearly available.
from imager.
Getting the same error..
from imager.
Still an issue :(, I have libwebp-devel installed on Fedora 36 but still get the error. No amount of RUSTFLAGS environment variables seems to get it done for me.
PS atk the stddef.h issue I solved by ensuring clang was installed (not just clang-llvm or whatever the other package is called).
from imager.
apt-get install -y build-essential llvm-dev libclang-dev clang openssl pkg-config libssl-dev xz-utils
this solved the problem:
sudo apt install libwebp-dev
$ which imager
/home/mxdpeep/.cargo/bin/imager
$ imager --version
imager 0.3.2
from imager.
sudo apt-get install -y build-essential llvm-dev libclang-dev clang openssl pkg-config libssl-dev xz-utils
sudo apt-get install libjpeg-dev libpng-dev libtiff-dev libgif-dev libwebp-dev
cargo install imager
no errors
rustc 1.65.0 (897e37553 2022-11-02)
from imager.
Related Issues (12)
- Document build requirements HOT 5
- Support AVIF format HOT 3
- thread 'main' panicked at 'open input file path: ()'
- thread 'main' panicked at 'assertion failed: picture.uv_stride as u32 == width / 2' HOT 3
- How does the software work?
- Too Slowly
- Track optimized images in the container metadata
- Maintain Alpha when compressing PNG HOT 1
- How does it compare to compress-or-die? HOT 2
- Failure to build on Raspberry Pi HOT 1
- Update install.md? HOT 2
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 imager.