开发者

How to resolve "Unit JclCompression was compiled with a different version of sevenzip.IOutArchive"?

开发者 https://www.devze.com 2022-12-15 04:57 出处:网络
I\'m trying to use the JclCompression unit, but when I do, the compiler always says: Unit JclCompression was compiled with a different version of sevenzip.IOutArchive

I'm trying to use the JclCompression unit, but when I do, the compiler always says:

Unit JclCompression was compiled with a different version of sevenzip.IOutArchive

What am I doing wr开发者_如何学Goong here? I tried recompiling/installing my JEDI installation, but it didn't seem to help.


The compiler is finding a DCU that was compiled with a previous version of Delphi. You don't say what version of Delphi you are using, but DCU's from one version won't work with those of different version.

The first thing to check is to see if you have your paths right. If you have compiled the JCL previously, it may be that your path is causing the compiler to find the old DCU files, and thus the error.

In addition, the problem may be that you have an out of sync version of Sevenzip code as well.

Bottom line: the compiler is finding a DCU that isn't compatible with your current version of Delphi. Either:

  • get the right DCU version
  • find the source and compile it
  • Ensure that the compiler is looking in the right place for what you are trying to compile
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号