Show quoted text 5 lines
Hello,
when compiling a project with lazarus (running on suse linux), it says
"TOutputFilter: "project1.lpr(6,13) Fatal: Can't compile unit INTERFACES,
no sources available"
This means, that one of the dependent units of interfaces.ppu has changed. This can have several reasons:
- If you installed via rpm: The fpc rpm is not the right one for the lazarus rpm. The right fpc rpm can be downloaded from the lazarus site.
- Check if the compiler is using the right config file. The normal installation creates /etc/fpc.cfg. But fpc also searches for ~/.ppc386.cfg, ~/.fpc.cfg, /etc/ppc386.cfg and it uses only the first it finds. Hint: You can see which config file is used with 'ppc386 -vt bogus'
- You have two lazarus source directories and the lazarus path is still pointing to the old one. Check Environment -> Environment options -> Files -> Lazarus Directory
I have already searched the FAQ for some entry on this topic..
I added it.
Mattias