mcmilk / 7-Zip-zstd

7-Zip with support for Brotli, Fast-LZMA2, Lizard, LZ4, LZ5 and Zstandard
https://mcmilk.de/projects/7-Zip-zstd/
Other
5.07k stars 300 forks source link

7-Zip v19.00 ZS v1.4.8 - R1 - DLL Codecs issues #170

Closed LordGarfio closed 3 years ago

LordGarfio commented 3 years ago

Hello, after installing the following Codecs:

c: \ Program Files\7-Zip\Codecs\flzma2-x32.dll c: \ Program Files\7-Zip\Codecs\zstd-x32.dll c: \ Program Files\7-Zip\Codecs\lz5-x32.dll c: \ Program Files\7-Zip\Codecs\lz4-x32.dll c: \ Program Files\7-Zip\Codecs\lizard-x32.dll c: \ Program Files\7-Zip\Codecs\brotli-x32.dll

And when execute the command "C:\Program Files\7-Zip>7z i":

7-Zip 19.00 (x86): Copyright (c) 1999-2018 Igor Pavlov

Libs: 0 C: \ Program Files\7-Zip\7z.dll 1 C: \ Program Files\7-Zip\Codecs\brotli-x32.dll 2 C: \ Program Files\7-Zip\Codecs\lizard-x32.dll 3 C: \ Program Files\7-Zip\Codecs\lz4-x32.dll 4 C: \ Program Files\7-Zip\Codecs\lz5-x32.dll

Formats: ...

Codecs: 0 4ED 303011B BCJ2 0 ED 3030103 BCJ 0 ED 3030205 PPC 0 ED 3030401 IA64 0 ED 3030501 ARM 0 ED 3030701 ARMT 0 ED 3030805 SPARC 0 ED 20302 Swap2 0 ED 20304 Swap4 0 ED 40202 BZip2 0 ED 0 Copy 0 ED 40109 Deflate64 0 ED 40108 Deflate 0 ED 3 Delta 0 ED 21 LZMA2 0 ED 30101 LZMA 0 ED 30401 PPMD 0 D 40301 Rar1 0 D 40302 Rar2 0 D 40303 Rar3 0 D 40305 Rar5 0 ED 6F10701 7zAES 0 ED 6F00181 AES256CBC 1 ED 4F71102 BROTLI 2 ED 4F71106 LIZARD 3 ED 4F71104 LZ4 4 ED 4F71105 LZ5

Hashers: 0 4 1 CRC32 0 20 201 SHA1 0 32 A SHA256 0 8 4 CRC64 0 32 202 BLAKE2sp

I get two Windows XP warning windows:

Error 7z.exe - Exit the application with Ctrl + C The application has been terminated due to a Ctrl + C

Finally I have determined that said errors are produced by the libraries: flzma2-x32.dll and zstd-x32.dll porque no cargan.

How could I solve the problem ?

Thanks in advanced.

jonathanhzs commented 3 years ago

发布了x86的成品,却不支持x86。

LordGarfio commented 3 years ago

https://stackoverflow.com/questions/35664861/how-to-target-windows-xp-in-microsoft-visual-studio-c/

In order to build a Windows XP compatible EXE with VS 2015 (or VS 2012 / VS 2013) you have to use the v140_xp Platform Toolset rather than the default v140 Platform Toolset.

UPDATE: Note that VS 2017 includes support for Windows XP via v141_xp. For VS 2019, this feature is no longer being updated but you can still install the v141_xp toolset to use with the VS 2019 IDE.

mcmilk commented 3 years ago

WinXP isn't on my TODO list anymore ... I am sorry. You can try to get it to work .... I will not try ;)

tansy commented 3 years ago

Out of curiosity, is it possible to build it with mingw? That would solve compatibility problem/s.

mcmilk commented 3 years ago

Igor has done a lot work for getting clang build 7-Zip ... so maybe even mingw will work now ;-) But I don't have time to check this ...