[Lazarus] Where is the unit path of the IDE configured?

Mattias Gaertner nc-gaertnma at netcologne.de
Wed Mar 23 22:25:55 CET 2011


On Wed, 23 Mar 2011 21:11:43 +0000
Frank Church <vfclists at gmail.com> wrote:

> I am trying to install the Indy package, and I am getting the error that to
> copies of the same file exist in the IDE
> 
> I have to versions of Lazarus installed and it appears that the path of the
> other installation has been set somewhere in the IDE options of the one I am
> currently using.

Ah. Yes, maybe you have added a unit path too much which
created a ppu file at two places.

 
> How do I change that?

You have to check the unit path of every installed package.
There is no tool yet for this.

 
> Here is an example:
> >
> > Ambiguous unit found
> >
> > The unit dcpbase64 exists twice in the unit path of the IDE:
> >
> > 1. C:\lazarus29240\components\dcpcrypt\lib\i386-win32\dcpbase64.ppu
> > 2. C:\lazarus28240\components\dcpcrypt\lib\i386-win32\dcpbase64.ppu
> >
> > Hint: Check if two packages contain a unit with the same name.
> >
> 
> I am praying that it might be the solution to my Indylaz problem.

Yes, sounds probable.

Mattias




More information about the Lazarus mailing list