Skip to content
Discussion options

You must be logged in to vote

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!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@U4a18
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by U4a18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants