-
I use cmake with all dependent libraries built on my own without conan. After exiv2 build I got
Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
You can download prebuilt binaries from our release page: https://github.com/Exiv2/exiv2/releases/tag/v0.28.5 You can see how we build those binaries here: exiv2/.github/workflows/release.yml Lines 104 to 155 in d6c67cd |
Beta Was this translation helpful? Give feedback.
-
I dig deeper to cmake generation and find that I use |
Beta Was this translation helpful? Give feedback.
I dig deeper to cmake generation and find that I use
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF ...
When I switch to
cmake -S . -B build -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release DBUILD_SHARED_LIBS=ON ...
exiv2 compiles successfully. I also double check that all dependent libraries are compiled with the same
/MD
switch. exiv2.dll is generated!