Hi, I try to install JCL Core with Delphi 10.1 but getting nowhere.

Hi, I try to install JCL Core with Delphi 10.1 but getting nowhere.

The background is that my team have been using D2007 with an old version of
JCL Core for a long time. We use JCL only for log callstacks in log-file in
case of exception.

Now we decided to upgrade to Delphi 10.1 Berlin.
I then discovered that callstack was full of garbage when compile with
Delphi 10.1. So I try to upgrade.

I cloned git://github.com/project-jedi/jcl.git (version 2.7) with git to
C:\Attracs\jcl

Clicked install.bat
A window appears
I agree conditions
Click install
Are you sure -> yes

Installation finished in half second.

This makes me suspicious.

What should happen ?

Previously we just had a folder with JCL-source to build from.
I don't even know what version the old one is.

What is the recommended way to do this? I don't find much info.

Regards
Roland Bengtsson

Comments

  1. 0. You must be sure that you have only one version of the JCL/JVCL on this PC. Clean/Uninstall the old versions;
    1. "Installation finished in half second." is not normal - try to start install.bat as admin;
    2. You must install JCL before JVCL;
    3. When wizard start - read the texts/checkboxes and install JCL/JVCL for your Delphi version 32x and 64x;
    4. If you have more than one version of Delphi (for example Delphi 7) - check the path's into the IDE/lib - some times the old projects search into the old folders/versions

    Ah... into the wizard - if you click over the install button - this mean install for the curent page - look to the log (at right part of the window). After instalation go to the next page (Delphi version) and click over the install button again.
    I think that some times - GetIt installation is not ok because the wizard detect more than one Delphi but install JCL/JVCL only for the lower version (Delphi 7 in my case). But I'm not sure - this is just a feeling.

    ReplyDelete
  2. To add to what Dobrin said: Run "install.bat" from command prompt. This will attempt to compile the installer then run it. Sometimes this fails for whatever local problem. If you run from command prompt youll be able to see what might be going wrong.

    ReplyDelete
  3. Roland Bengtsson Have a look into the folder "jcl\source\include\jedi". There should be a "jedi.inc" file. If it is missing, you need to fetch the "JEDI" project from github, too:
    https://github.com/project-jedi/jedi/
    It contains the missing file(s). Copy jedi.inc into jcl\source\include\jedi; then run "InstallVerbose.bat" from the root folder. InstallVerbose has the benefit of showing more informations in case something went wrong.
    HTH
    Achim

    ReplyDelete

Post a Comment