Linking libvips statically


The contains libvips.lib , libvips.dll.a files, pkgconfig .pc files, as well as the normal .dll and vips.exe. Most FFI tutorials dabble in .a files in linux envs, but I am on windows, and I’m not familiar with anything about what I’m trying to do on windows, also the tutorials mostly build from source using gcc or cc-rs, but libvips has it’s own build scripts that are very complex. Hence me trying to use the .lib files.

I ask for any help in setting up an environment where i can call libvips from rust on windows and get a single binary for redistribution when I cargo build the project. End users won’t have pkg-config and libvips installed on their windows machines, which is why the crate vips-sys is useless to me.