getnamo / 7zip-cpp

Fork of SevenZip++ for modern builds.
Other
221 stars 93 forks source link

To use it in VS2019 #42

Open JT-Yu opened 5 years ago

JT-Yu commented 5 years ago

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

getnamo commented 5 years ago

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

wdznak commented 4 years ago

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.