Search code examples
delphiopen-sourcedelphi-2009jedi

compiling delphi-pi


After Downloading the source, tried to compile the code.

The first bump was missing Jedi components, so downloaded jcl-2.2.1.3817-partnerdvd

Next step was installing , which was fine.

Now After Compiling , the error message is :

[DCC Fatal Error] Utils.pas(4): F2051 Unit JclCompilerUtils was compiled with a different version of JclSysUtils.IJclCommandLineTool

tried to download diffrenct versions, however the owner of the code claim it was compiled with 2.2.

Ideas how to resolve this?

edit: i just removed some references to the jedi from the library path, i hope didn't do any damage. still no go.

EDIT 2: downloaded the 0.57 and not the default resulted in:

[DCC Fatal Error] Utils.pas(4): F1026 File not found: 'JclBorlandTools.dcu'

now it seems as a simple version problem with jcl, ill reinstall(again).


Solution

  • Most Delphi error and warning messages are pretty clear, but "Compiled with a different version" errors are one of the few exceptions. What it really means is:

    Something in Unit JclSysUtils (or one of its dependencies) has changed, and Unit JclCompilerUtils, which has a dependency on JclSysUtils, needs to be recompiled now, but only the DCU for it is available. Unable to locate the PAS file to recompile it.

    Try making sure that the original source code for all the JCL units is available to the compiler.