Thank you Marc
The answer why some the unit not found is in the last part of the output. Since you have a lot of search paths, the first 4k only shows the first few units searched. Can you attach the last 4k too ?
The last 4K are attached here. I took a look at them, cannot connect them to the issue.
Thank you wp
You are on Windows where you can create a new installation within less than 10 minutes. Use a secondary installation to leave your current installation alone. Then simply test whether the problem still exists - very probably it will be solved.
This is a secondary installation with its own config folder.
Only my application code and the and my and third party packages are at same place(for both installations)
(I installed one more Lazarus copy, the packages are not yet installed. I'll try with it and will write if it is the same issue)
Thank you Martin_fr
1) Check where your primary config is. Menu: View > Ide Internals > About IDE => Search for "primary config path"
It is a secondary installation. The wrong path is not in the About IDE data
Global IDE options:
Primary config directory=C:\Lazarus64Config
Secondary config directory=C:\lazarus64
LazarusDirectory=C:\lazarus64\
Real LazarusDirectory=C:\lazarus64\
Default CompilerFilename=$(Lazarusdir)\fpc\3.2.2\bin\x86_64-win64\fpc.exe
Real Default CompilerFilename=C:\lazarus64\fpc\3.2.2\bin\x86_64-win64\fpc.exe
Project CompilerFilename=$(CompPath)
Real Project CompilerFilename=C:\lazarus64\fpc\3.2.2\bin\x86_64-win64\fpc.exe
CompilerMessagesFilename=
Real CompilerMessagesFilename=C:\lazarus64\components\codetools\fpc.errore.msg
FPC source directory=$(LazarusDir)fpc\$(FPCVer)\source
Real FPC source directory=C:\lazarus64\fpc\3.2.2\source\
Test directory=C:\Users\danie\AppData\Local\Temp\
Real Test directory=C:\Users\danie\AppData\Local\Temp\
I will try the approaches you wrote about. Will write what is the result.
However, it looks like there is something common between the installations which is in my application or the packages folder.
I checked also the environment variables, the wrong path is also not there. (I'm almost sure that it cannot be Windows registry).
So, for me it is on some third place.
Also, I'll be happy if someone connects to my pc with AnyDesk, to personally check the issue. (may be I'm missing something obvious)
I'll be happy to offer some money for the support (regardless if we find the problem, just for the time spend on my issue)