Recent

Author Topic: /usr/lib/lazarus/ide/lazarus.pp(1,1) Fatal: Can't find unit  (Read 3697 times)

victorhelsing

  • New Member
  • *
  • Posts: 14
While trying to add a unit "TabList" to a minimal user library "userlib", I have no problem compiling the library.  However, when I try to add link it to rebuild lazarus, I get the following error:

/usr/lib/lazarus/ide/lazarus.pp(1,1) Fatal: Can't find unit TabList used by userlib

"TabList" is the unit I am trying to add, and it is in the same directory as "userlib".  It seems that the compiler needs this added to its search directory in order to recompile and link the compiler, but I cannot figure out how to add this directory for the compiler rebuild.

Any ideas?  Is the compiler itself a defined "project" or "package" that I can directly edit?

Thanks for the help.

(Note: I am able to compile (and link) this library with a minimal unit "newlist" which exists in the same directory as TabList.  I can't figure it out.)

 

TinyPortal © 2005-2018