2

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

8
  • JCL current version is 2.2.1.3970: sourceforge.net/projects/jcl/files/JCL%20Releases
    – mjn
    Jun 30, 2011 at 12:34
  • Did you check for other versions on your computer which appear in the Delphi search / library path?
    – mjn
    Jun 30, 2011 at 12:35
  • 1
    Yes, I am the owner and as far as I remember I have compiled it with Delphi 2010, but I am not sure if this is the issue. I will check it ASAP.
    – idursun
    Jun 30, 2011 at 12:38
  • I don't see how people are expected to figure out how to clean up your library path or old artifacts on your computer, or how to upgrade JCL to the latest version. Maybe this kind of question is not a good fit for stack overflow. However, honesty compels me to point out that I did ask a "won't build" question not too long about with Indy subversion sources. I hereby pledge not to do it again.
    – Warren P
    Jun 30, 2011 at 13:26
  • i do not expect people to tell me , "remove jklk and its ok", i expect to learn what to look as i see this error, where to look. such as "tools-> options -> Emnviurment options -> delphi options -> library - win32 -> library path" look there to find a reference to any jcl path.(which i did)
    – none
    Jun 30, 2011 at 13:33

2 Answers 2

4

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.

1
  • And that you don't have a bunch of old PAS or DCU files with the same names in your library path somewhere.
    – Warren P
    Jun 30, 2011 at 22:46
1

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.

2
  • which version of treeView did you install?
    – none
    Jul 4, 2011 at 11:27
  • 4.8.6. But the recent version should be just fine.
    – idursun
    Jul 4, 2011 at 19:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.