开发者

'Compiled with different version` error when compiling library

I downloaded the new beta version of AlphaSkins Lite (7.44). I uninstalled the older version that i had problems with... I opened the "acntD7_开发者_JAVA百科R.dpk" and it compiled. Then I opened "acntD7.dpk" and got a compile error:

[Fatal Error] acntD7.dpk(47): Unit sInternalSkins was compiled with a different version  of sButton.TsButton 

I tried to erase the BPL files manually and tried again but got the same error message again.

Please what i am doing wrong?


Try the following:

  1. Search your computer for a file named "sInternalSkins.pas". Be sure, the path of this file is included as a path in your delphi library pathes. If not, include this path in delphi options. If you do not have the *.pas, you have to find the dcu-File that was compiled with your delphi compiler version. Maybe you have the correct dcu but your search-path points to a wrong path with the wrong version of the dcu. Different versions of DCU's are often stored in different directories, one for each delphi version, if source is not part of the component. (I personally never use components without source...)

  2. If you have the *.pas: search your computer for all files named "sInternalSkins.dcu" and delete them all.

  3. Rebuild your package acntD7.dpk


Additionally check compiler options of YOUR project. Some AlphaSkins files go with source code, another - as DCU only. Source code may be rebuilt, but DCUs require standard compiler options, i.e. (particulary) "Huge strings" and "Record alignment to 8".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜