7zip-cpp icon indicating copy to clipboard operation
7zip-cpp copied to clipboard

To use it in VS2019

Open JT-Yu opened this issue 5 years ago • 2 comments

hello, how can I use functions of 7zip in VS2019(Windows) ?

JT-Yu avatar Sep 19 '19 13:09 JT-Yu

Clone and use the cmake file to generate your .sln? should work in theory

getnamo avatar Sep 19 '19 20:09 getnamo

Follow the instruction but instead of "cmake -G "Visual Studio 15 2017 Win64" ../" use "cmake -G "Visual Studio 16 2019" -A x64 ../".

But in my case, I had to change in "Enum.h" line 73 from "string.Compare" to "string.compare" otherwise it would not have compiled.

wdznak avatar Oct 29 '19 22:10 wdznak