Zitat von Tobias Giesen <[EMAIL PROTECTED]>:

> > Which unit A does not find which other unit B?
>
> OK I am in the editor and working on unit
> /code07/SuperFlexibleSynchronizer/SyncKernel/SyncMainFormBase.pas
>
> The "Unit Paths" field in File Settings is totally empty. What should
> I find there?

All search paths associated with this file.
If /code07/SuperFlexibleSynchronizer/SyncKernel/ is not in the project's search
path, then lazarus assumes it is just a pascal file on your disk.
You probably forgot to add /code07/SuperFlexibleSynchronizer/SyncKernel/ to the
project's search path.


> I am clicking on a symbol and then the cursor jumps to
> the unit name TGIniFiles in the uses clause and it says:
> unit not found: TGIniFiles

Good. Because it is not in the search path of SyncMainFormBase.pas.


> TGIniFiles is actually /code07/Units/TGIniFiles.pas
>
> /code07/Units/ is in the Project's compiler search path.
>
> When I add /code07/Units/ to Environment->CodeTools options, then
> it works.

This way you told lazarus, that every pascal file on your entire disk, including
the lazarus sources and any package, should search for units in /code07/Units/.
Probably this is not, what you want.


> Hitting Ctrl+Enter on the TGIniFiles unit name behaves the same.
>
> If it's a bug I can go looking for it. I think that the
> directorycacher doesn't get the full search path.


Mattias

_______________________________________________
Lazarus mailing list
[email protected]
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to