-
We want to use libvips to read and write images in our Qt application on Windows 11 Pro with MSVC2019 toolkit (x64). We've downloaded vips-dev-8.15. We've dealed the include headers, and the application have passed compilation. For the linker, we have told the linker to link the vips libraries: However, we still got "unresolved external symbos" errors as the following output.
Are there any needed libraries we forgot to link? The code snippet in our source is as following:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hello @huskier, The C++ binary we provide for windows is for gcc 15. C++ has no ABI, so you have to match the compiler and compiler version exactly along your whole toolchain. If you are using MSVC, you will need to rebuild the libvips C++ binding yourself. It's very easy -- just copy these files into your project: |
Beta Was this translation helpful? Give feedback.
Hello @huskier,
The C++ binary we provide for windows is for gcc 15. C++ has no ABI, so you have to match the compiler and compiler version exactly along your whole toolchain.
If you are using MSVC, you will need to rebuild the libvips C++ binding yourself. It's very easy -- just copy these files into your project:
https://github.com/libvips/libvips/tree/master/cplusplus