Zitat von Tobias Giesen <tobias_subscriber@tgtools.com>:

> > It's not good practice to indirectly use units (not part of you
> > project). Otherwise, how would the compiler know if that unit had
> > changed since the previous compile.
>
> That's actually not true. The FPC checks and finds all units and
> compares their checksums and determines if a recompile is needed.
> There is absolutely no need to add them to the project.

This is true in simple cases, where all units are compiled with the same
settings.
As soon as you work with several projects or units with special settings like
compiler flags, i18n, fpdoc, libs, etc, using packages is recommended.


> > As Mattias said, you can also add unit paths in your project's
> > compiler options dialog (Project | Compiler options | Paths tab).
>
> Yes, I have done that, and the project compiles fine. But
> CodeTools ignores that setting, so it does not find some of my files.

Then either you have a typo or use an unsupported file system trick or found a
bug.
Which unit A does not find which other unit B?
Did you check the File Settings / Unit info paths of A?

Mattias


