3
votes

When trying to install JCL and JVCL into Delphi 10 Seattle using the GetIt Package Manager I get an error:

"Windows 7 Professional Service Pack 1 (6.1.7601)

JVCL 3.50.0.0

[Generating: Packages] Generating packages for D15 Loaded template.dpk Loaded template.dproj Loaded template.rc [Compiling: Packages] [Compiling: JvCore150.bpl] Embarcadero Delphi for Win32 compiler version 22.0 Copyright (c) 1983,2010 Embarcadero Technologies, Inc. C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\Common\jvcl.inc(26) Fatal: F1026 File not found: 'jedi\jedi.inc' "

JCL version is 2.8.0 that is available via GetIt Package Manager

This question has some resemblance with Error in JCL installation

5
Updated with error text. - Lars Ljungberg
I don't think the dv was harsh. That's how the voting works. Now that your edit addresses my criticisms, I can change my voting. Looks like the dreaded jedi.inc issue that has been discussed over and over on the Google+ dev group. - David Heffernan
Some background. I have inherited a project that uses jedi, and I don't have a clue what components that has been used and for what. - Lars Ljungberg
Good luck untangling that! My experience with JEDI was that bringing in even one component forced to you also take an epic amount of other code that you did not use. - David Heffernan
There are a lot of unit-to-unit coupling problems with the Jedi codebase. It's hard to slurp one unit of it into your app and avoid coupling the whole thing, indirectly. That being said, the installer generally works for me, when I just download it. On Delphi 10 Seattle I downloaded JEDI JCL+JVCL with GetIt and it worked fine first try - Warren P

5 Answers

4
votes
  1. Uncheck other versions of delphi - The JCL installer defaults to installing into EVERY version of Delphi, not just Delphi 10 Seattle. You have to page by page and uncheck the main root tree item option on each page. enter image description here

  2. Make sure you don't have any other Jedi stuff linked implicitly into other packages you have installed.

  3. Make sure none of the folders in your Library Path contains another copy (probably older and out of date) of jvcl.inc or jedi.inc files, or any other Jedi JCL or JVCL source or dcu files.

  4. Clean up and remove old/stale DCP/DCU files.

  5. If you want to attempt a manual repair of the package settings, open the package source JvCore.dpk from the packages folder beneath C:\Users\Lars\Documents\Embarcadero\Studio\17.0\CatalogRepository\JEDIVisualComponentLibraryJVCL-3.49\ and try to manually add to the search path the Common and Include folders that contain these two files.

  6. After manual repairs, try manually restarting the installer main executable, probably named Install.bat

If none of those work, then I suspect that the problem is that the Repository folder is a pretty long path name, and the resulting library path name may be too long for something inside the JCL installer or the DCC32 command line compiler. In such a case, I would recommend removing anything you can from your library path before you start, install JCL+JVCL and then restore your library path to its former really-long value.

1
votes

git clone git://github.com/project-jedi/jvcl.git jvcl ```

This will get you the JVCL repository. You also need the JCL https://github.com/project-jedi/jcl

How to install

  1. Install the JCL https://github.com/project-jedi/jcl
  2. Start the jvcl\install.bat

JCL:

git clone git://github.com/project-jedi/jcl.git jcl cd jcl git submodule update --init ```

This will get you the JCL repository and initializes the submodule that contains the jedi.inc and kylix.inc files.

How to install

Start the jcl\install.bat

0
votes

I succeded to install JCL and JVCL by download a ziped version (JVCL349CompleteJCL27-Build5676.zip) containing both JCL and JCVL from http://jvcl.delphi-jedi.org/

The problem I had seams to relate to multible installations of Delphi and several versions of JCL in the path. If I just installed for DX, it worked fine :)

0
votes

Use the GetIt Package Manager integrated in your RadStudio IDE to download JCL and JVCL, check this other question.

Finally a headeachless way to install JVCL!

-1
votes

Get JCL and JVCL from the source. Uncheck all no installed compilers. This works for Embardadero 10.1 Berlin! (24) (you could download the zip from this place)

https://github.com/project-jedi/jcl

https://github.com/project-jedi/jvcl