Lazarus

Using the Lazarus IDE => General => Topic started by: Josh on December 18, 2017, 01:54:10 pm

Title: [SOLVED] Question : How to edit the ide unit path ?
Post by: Josh on December 18, 2017, 01:54:10 pm
Hi

I have been getting an issue, with duplicate unit found; so need a way to remove the duplicate from the ide as the error message is telling me.

I have crawled through the Options screen but am unable to find an option that lists the ide search path for installed units.

I cannot remove the duplicate item from package uninstall, due to the duplicate error showing.

Thanks.

Using Latest SVN of LAZ and FPC
Title: Re: Question : How to edit the ide unit path ?
Post by: Martin_fr on December 18, 2017, 02:09:52 pm
you may just have a duplicate .ppu file.

Before you go and do a search:
Do a clean build.
Also try to rebuild the IDE with "clean all".
Or rebuild packages "clean"

That may already fix the issue.

---------
Otherwise, in project options > custom options: add -va

then when you get the error, right click and "copy" > "copy all and original messages"

paste in an editor. It will give you for every file/unit where it was found.
Title: Re: Question : How to edit the ide unit path ?
Post by: Josh on December 18, 2017, 02:50:21 pm
Hi Martin,

Thanks Doing a rebuild and clean all seems to have fixed the duplicate error.

Is there  reason why the 2 lines that displays the conflicting unit does not dispaly the full path name to the conflicting ppu file.
I was getting a message similar to below

T:\Laz_Components\Testing_Components\..........\kcontrols.ppu
is duplicated
T:\Laz_Components\Testing_Components\..........\kcontrols.ppu

As you can see this makes it near impossible to locate such file.


TinyPortal © 2005-2018