Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2011-03

Where is the unit path of the IDE configured?

4 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Frank Church

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.

How do I change that?

Here is an example:

Show quoted text 10 lines
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.

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110323/20bfb7a3/attachment-0001.html>

Reply by email

Mattias Gaertner
to Frank Church
Show quoted text 6 lines
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.

Show quoted text 13 lines
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

Reply by email

Frank Church
to Mattias Gaertner
Mattias Gaertner wrote 24 lines
On Wed, 23 Mar 2011 21:11:43 +0000 Frank Church 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.

Which tab in the Compiler Options or Options is it?

Which section described in this page
http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options , is it, if that is where it is described?

Is it a combination of them or just one?

Show quoted text 24 lines
> 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 -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110324/f792e3ec/attachment.html>

Reply by email

Mattias Gaertner
to Frank Church
Show quoted text 31 lines
On 23 March 2011 21:25, Mattias Gaertner wrote: > On Wed, 23 Mar 2011 21:11:43 +0000 > Frank Church 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. > > > Which tab in the Compiler Options or Options is it? Which section described in this page http://wiki.lazarus.freepascal.org/IDE_Window:_Compiler_Options , is it, if that is where it is described?

Yes.

Is it a combination of them or just one?

Just "Other unit files".

Mattias

Reply by email