Sign in Join

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

Mailing lists / lazarus / 2011-03

Can't find unit ComponentEditors used by

5 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

Zaher Dirkey

Hi,
I updated my lazarus from svn, then Make clean all, lazarus was compiled fine
but when i try to compile my package i got this message

ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by
ntvRegCtrls

What i can do to fix this propblem?

Thanks in advance.

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110324/97a4983e/attachment.html>

Reply by email

Mattias Gaertner
to Zaher Dirkey
Show quoted text 9 lines
Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by ntvRegCtrls What i can do to fix this propblem?

1. Check that your package depends on the IDEIntf package.
2. Check the paths of your package. Other unit files must only point to your source directories.
3. Check for duplicate ppu files.

See
http://wiki.lazarus.freepascal.org/Unit_not_found_-_How_to_find_units#Quick_list

Mattias

Reply by email

Zaher Dirkey
to Zaher Dirkey: I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i…
Zaher Dirkey wrote 11 lines
Hi, I updated my lazarus from svn, then Make clean all, lazarus was compiled fine but when i try to compile my package i got this message ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by ntvRegCtrls What i can do to fix this propblem?

I fixed it by adding IDEIntf to Required Packages, is that correct?

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110324/47c99175/attachment-0001.html>

Reply by email

Zaher Dirkey
to Mattias Gaertner: On Thu, 24 Mar 2011 12:16:23 +0200 1. Check that your package depends on the IDEIntf…

On Thu, Mar 24, 2011 at 12:32 PM, Mattias Gaertner <

Show quoted text 17 lines
wrote: On Thu, 24 Mar 2011 12:16:23 +0200 Zaher Dirkey wrote: > Hi, > I updated my lazarus from svn, then Make clean all, lazarus was compiled > fine > but when i try to compile my package i got this message > > ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by > ntvRegCtrls > > What i can do to fix this propblem? 1. Check that your package depends on the IDEIntf package.

Thanks fixed :)

Zaher Dirkey -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20110324/e602b0f4/attachment.html>

Reply by email

Mattias Gaertner
to Zaher Dirkey: I fixed it by adding IDEIntf to Required Packages, is that correct? Zaher Dirkey…
Show quoted text 14 lines
On Thu, Mar 24, 2011 at 12:16 PM, Zaher Dirkey wrote: > Hi, > I updated my lazarus from svn, then Make clean all, lazarus was compiled > fine > but when i try to compile my package i got this message > > ntvRegCtrls.pas(10,3) Fatal: Can't find unit ComponentEditors used by > ntvRegCtrls > > What i can do to fix this propblem? > > I fixed it by adding IDEIntf to Required Packages, is that correct?

Yes. And don't forget to clean up the "Other Unit files" of your package. It must only contain your directories. Not directories of other packages.

Mattias

Reply by email