Recent

Author Topic: [SOLVED] Question : How to edit the ide unit path ?  (Read 2447 times)

Josh

  • Hero Member
  • *****
  • Posts: 1274
[SOLVED] Question : How to edit the ide unit path ?
« 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
« Last Edit: December 18, 2017, 02:51:21 pm by josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 9867
  • Debugger - SynEdit - and more
    • wiki
Re: Question : How to edit the ide unit path ?
« Reply #1 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.

Josh

  • Hero Member
  • *****
  • Posts: 1274
Re: Question : How to edit the ide unit path ?
« Reply #2 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.


The best way to get accurate information on the forum is to post something wrong and wait for corrections.

 

TinyPortal © 2005-2018