Code Monkey home page Code Monkey logo

Comments (7)

StevenJiang1110 avatar StevenJiang1110 commented on May 18, 2024

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.

atk avatar atk commented on May 18, 2024

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.

phocks avatar phocks commented on May 18, 2024

Getting the same error..

from imager.

tbeckley avatar tbeckley commented on May 18, 2024

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.

mxdpeep avatar mxdpeep commented on May 18, 2024
  • 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.

mxdpeep avatar mxdpeep commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.