[Lazarus] Adding File to Package -> Fatal: Can't find unit Controls used by ugradbtn

Peter E Williams foss.game.pascal.developer at iinet.net.au
Thu Jun 17 10:14:26 CEST 2010


Hi dmitry,

On Thu, 2010-06-17 at 08:49 +0400, dmitry boyarintsev wrote:
> You need to LCL add to the packege's dependency!
> 
> Open the package dialog (the one opened with " Package / New
> Package"), press "Add" button (on the top panel of the dialog). "New
> Requirement"->Package Name, select LCL. Press OK.
> 
> This will add LCL to the package requirements. You don't need to add
> any directories for the LCL (if you've added you must remove them).
> 

I managed to successfully install the 

ugradbtn.pas component to the Misc component tab however I have not been
able to install my arraycolorbtn_pkg which uses it. I have tried
uninstalling the ugradbtn.pas component and installing just
arraycolourbtn_pkg but without any joy.

Package arraycolorbtn_pkg

Files
 - arraycolorbutton.pas
 - ugradbtn.pas
Required Packages
  - LCL
  - FCL (>=1.0)

Recompiling Graphics, checksum changed for FPCAdds
graphics.pp(81,12) Fatal: Can't find unit Graphics used by
arraycolorbutton

I am using the default installation of Lazarus not the home folder
version. My component is in the home folder which I mentioned in my
original post.

Any ideas???

Peter

> thanks,
> dmitry

-- 
Proudly developing Quality Cross Platform Open Source Games
Since 1970 with a Commodore PET 4016 with 16 KRAM
http://pews-freeware-games.org (<--- brand new)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arraycolorbtn_pkg.lpk
Type: application/xml
Size: 1231 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100617/20aac4fb/attachment-0004.wsdl>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arraycolorbtn_pkg.pas
Type: text/x-pascal
Size: 394 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100617/20aac4fb/attachment-0004.pas>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arraycolorbutton.pas
Type: text/x-pascal
Size: 12823 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20100617/20aac4fb/attachment-0005.pas>


More information about the Lazarus mailing list