Reputation: 43
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:
Upvotes: 2
Views: 1836
Reputation: 3879
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.
Upvotes: 1
Reputation: 43
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.
Upvotes: 1
Reputation: 27286
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
.
Upvotes: 1