[Lazarus] Dynamic library dependency error

xrfang xrfang at gmail.com
Tue Jan 22 15:22:12 CET 2013


Hi All,

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.

The source code of my library is:

library liboval;

{$mode objfpc}{$H+}

uses
  paintrect, oval;
function GetPainter: TPainter;
begin
end;
exports GetPainter;
begin
end.    

And the used paintrect.pas is attached.

Any hint is greatly appreciated.

Thanks,
Shannon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130122/32b7f2d4/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paintrect.pas
Type: text/x-pascal
Size: 10406 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130122/32b7f2d4/attachment.pas>


More information about the Lazarus mailing list