2
votes

I tried to load and use 'SynEdit_D7.dpk' and 'SynEdit_R7.dpk' in Delphi 7 to install but following error raised:

[Fatal Error] SynEditHighlighter.pas(57): File not found: 'SynEditHighlighterOptions.dcu'

I did:

  1. downloaded SynEdit-2_0_8.zip
  2. Extracted somewhere and opened Delphi 7.
  3. Loaded SynEdit_D7.dpk.
  4. Clicked on install.
  5. Received error.

screenshot

3
Please describe exactly what steps you took.David Heffernan

3 Answers

1
votes

It seems (based on your steps) that you are trying to install the design-time package before the run-time package has been built. You must first build the run-time package SynEdit_R7.dpk and then continue to installing the design-time package SynEdit_D7.dpk.

1
votes

I should add source files path to Delphi library path (Tools | Environment options) and then build without problems! I built SynEdit_D7.dpk without SynEdit_R7.dpk.

Problem Solved.

I don't have sufficient points to add image! added link.

1
votes

I have the same problem with Delphi 2007 and I am very sure that this is a bug in SynEdit. They most likely forgot to add "SynEditHighlighterOptions.pas" to the DPKs of the earlier Delphi versions. Separately adding it to the runtime package solves the problem. No need to change the search path just for 1 unit.

If you have a SourceForge account, I would be glad if you could create a bug report for it.