Closed jackwenshann closed 1 year ago
try (my auto release make script):
cd <ACodePath>
git clone https://github.com/sisong/HDiffPatch.git HDiffPatch
cd HDiffPatch
git clone --depth=1 https://github.com/sisong/libmd5.git ../libmd5
git clone --depth=1 https://github.com/sisong/lzma.git ../lzma
git clone --depth=1 https://github.com/sisong/zstd.git ../zstd
git clone --depth=1 https://github.com/sisong/zlib.git ../zlib
git clone --depth=1 https://github.com/sisong/bzip2.git ../bzip2
make ZLIB=1 BZIP2=1 MINS=1 STATIC_CPP=1
Hello, according to the script provided by you, I cannot pass the compilation on the Linux platform. The main reason is that errors are reported in the lzma library. I hope I can solve the problem. Thank you.
What compiler&version do you use?
I'm using linux 20.04 and the compiler is g++ 9.4.0.
I test on Ubuntu20.04.1 + gcc9.4.0, it's make hdiffpatch+lzma ok!
see: https://github.com/sisong/HDiffPatch/actions/runs/5619684841/job/15227216775
you can try used my fixed branch: git clone -b fix-make-build https://github.com/sisong/lzma.git ../lzma
How do we compile the test cases of this project by default? We look forward to your answer. Thank you.
"test cases" I'm not quite sure what this refers to.
ps: 可以用中文说明。
你好,我想表达的是[HDiffPatch]master /test/ 目录下的测试用例有没有对应的Makefile进行编译,目前我们这边关闭Lzma后交叉编译已经ok了,需要跑一下对应的测试用例验证是否ok或者是否有其他的验证手段,谢谢
关于test目录下的正确性测试:
好的,谢谢
Hello, we have a project that requires cross compilation of the HDiffPatch library. However, through readme, we learned that Linux compilation has disabled the lzma option by default. May I ask if there is a problem with the code's dependency on lzma or what is the reason? Is there a problem with adding the lzma library to cross compilation? Can I not open it