5

I am trying to manually install JCL and jvcl for delphi xe2.

I have installed JCL as directed and it seems to have installed with no issues. Now I try to load the JVCL package 16 , it opens delphi and starts to load libarys, When it gets to the Jedi code Library MPL1.1 i start to get errors like below

Error reading form frmJucolorProviderDesigner
-class tjvcontextprovider not found

Ingnore Cancel Ingnore all

this is not the only one i get quite a few ill post a few more in case it helps

Error reading form JvStandardActions
 -tjvSendMailAction not found
 -tjvwebaction not found
Error reading form jvCheckItemsEditor
 -tjvCheckListBox not found
Error reading form JvControlActoinsDM
 -tjvControlcollapseAction not found
 -TjvControlexpandAction not found
 -TjvControlExportAction not found
 -tjvControlOptimizeColumnsAction not found
 -TjvControlCustomizeColumnsAction not found
 -TjvControlPrintAction not found
Error reading form jvSpeedBarEditorMain
 -jvFormStorage not found
 -AppRegistryStorage not found

ect... I can add rest if you need.

But each - is its own dialog box with [ignore][cancel][ignore all]

Now after I press Ignore 50 times it will finally load the project, when i try to build all the projects for JVCl package it says required package jcl not found.

in library path i have

..jcl\source\common
..jcl\source\windows
..jcl\source\include

in browsing path i have

..jcl\source\common
..jcl\source\vcl
..jcl\source\windows

and in DCU debug path i have

 ..jcl\lib\d16\win32\debug
Glen Morse
  • 2,437
  • 8
  • 51
  • 102
  • 1
    The JCL tag is normally used for IBM's Job control language which runs on the IBM mainframe – Bruce Martin Jul 23 '13 at 11:49
  • 1
    @BruceMartin: I corrected it for him. There's a separate tag for the `Jedi Code Library`. – Ken White Jul 23 '13 at 13:05
  • @KenWhite Thanks did not know the tag was different, Sooo... any idea on solving this? – Glen Morse Jul 24 '13 at 04:52
  • 1
    You should have the dcp in your library path. Using the installer that is `..jcl\lib\d16\win32`, which contains the 32 bit `jcl.dcp`. – Sertac Akyuz Jul 26 '13 at 12:38
  • 1
    @SertacAkyuz That seems to help, I still get all the desgin time errors, and when i start to build the project it starts with an error fmeJvSegmentedLEDDisplayMapper.sldEdit does not have a coresponding component. After i hit no, it builds unitll i get error file not found 'ComObj.dcu' – Glen Morse Jul 27 '13 at 03:33

2 Answers2

4

after adding

..jcl\lib\d16\win32, which contains the 32 bit jcl.dcp

The solution is to change the uses to use a fully qualified name:

uses
  TypInfo,
  {$IFDEF JvInterpreter_OLEAUTO}
  OleConst, ActiveX, 
  {$IFDEF VER230} system.win.ComObj, {$ELSE} ComObj, {$ENDIF}  

Now it compiles without error.

Glen Morse
  • 2,437
  • 8
  • 51
  • 102
  • If you'd prefer to use old style unit scope names, you might add (for this case) the `System.Win` namespace prefix e.g. globally to the [`Unit scope names`](http://docwiki.embarcadero.com/RADStudio/XE4/en/Library) configuration option. This option is also available at project options level, not only in global settings scope. – TLama Jul 27 '13 at 18:11
2

Try to add the following to your Search Path(HKCU\Software\Embarcadero\BDS\x.x\Library\Win32), of course including the correct path prefix:

..jcl\source;
..jcl\source\common;
..jcl\source\include;
..jcl\source\vcl;
..jcl\source\windows;

..jvcl\common;
..jvcl\run;

You might also be interested in the following link: http://andy.jgknet.de/blog/2013/05/how-to-install-jcl-and-jvcl-for-xe4/