[Lazarus] Can not install a package
nc-gaertnma at netcologne.de
Fri Aug 2 12:15:05 CEST 2013
On Thu, 1 Aug 2013 06:59:12 -0700 (PDT)
Haruyuki Fujimaki <hryk_fujimaki at yahoo.com> wrote:
> >> According to your advice, I tried a clean build. Unfortunately, I got same
> > error. So I created new package and added same components.
> >> And I added "$(LazarusDir)/lcl/units/$(TargetCPU)-$(TargetOS)"
> > and "$(LazarusDir)/components/lazutils/lib/i386-linux" to "Other
> > unit files" in package options.
> > Please remove these paths. They are used automatically by the IDE.
> > Why did you add them?
> Because without those paths, the IDE shows error messages :
> "<unitname>.pas(6,21) Fatal: Can not find unit Forms used by <unitname>. Check if package LCLBase is in the dependencies."
Unit forms in package LCLBase. Using LCLBase will automatically add the
needed search paths. But the LCLBase is an abstract package that
requires the LCL.
The package LCL will add further search paths, linker options and
> "forms.pp(41,44) Fatal: Can not find AvgLvlTree used by Forms, ppu=../components/lazutils/lib/i386-linux/avglvltree.ppu, package LazUtils"
> >> I also added lclbase to Required Package of the package.
> > Always use LCL instead of LCLBase.
> OK, I will. Thank you.
More information about the Lazarus