none
none

Reputation: 4827

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).

Upvotes: 2

Views: 792

Answers (2)

idursun
idursun

Reputation: 6335

I have checked my settings. I have compiled latest revision of delphipi using JCL 2.2.1.3886.

My library path contains following paths:

C:\Users\Public\Documents\Soft Gems\Virtual Treeview\Source
C:\Components\jcl-2.2.1.3886\lib\d14
C:\Components\jcl-2.2.1.3886\source\include

Delphipi depends three external libraries which are JCL, dxgettext and Virtual Treeview and links to these libraries are listed in the homepage of the project. I think you should check double check your JCL installation and library paths. Sorry, there is nothing else I can do about this. Good luck.

Upvotes: 1

Mason Wheeler
Mason Wheeler

Reputation: 84550

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.

Upvotes: 4

Related Questions