[Lazarus] Dynamic library dependency error
Howard Page-Clark
hdpc at talktalk.net
Tue Jan 22 15:41:20 CET 2013
On 22/1/13 2:22, xrfang wrote:
> I try to make a dynamic library and get this error:
>
> paintrect.pas(0,0) Fatal: Can not find unit Controls used by paintrect.
> Check if package LCLBase is in the dependencies.
You need to add LCLBase as a project dependency.
Use the Project Inspector's Add button to show the Add to Project dialog.
Project -> Project Inspector,
then in the Project Inspector click the middle tab to open the New
Requirement page, and in the Package Name combo dropdown choose LCLBase
from the long list presented.
Then click the [Create New Requirement] button, and you're done - the
new package requirement will be listed under Required Packages node in
the Project Inspector.
More information about the Lazarus
mailing list