Re: [Lazarus] Detailed message about "incompatible ppu=..."

2019-05-11 Thread Alexey Tor. via lazarus

Have you tried to compile clean?


I tried, yes. It didn't help, same error. What helped: i updated date 
stamp of WSGrids.pas (touch).


--
Regards,
Alexey

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


Re: [Lazarus] Detailed message about "incompatible ppu=..."

2019-05-11 Thread Mattias Gaertner via lazarus
On Sat, 11 May 2019 13:06:19 +0300
AlexeyT via lazarus  wrote:

> wsgrids.pp(13,30) Fatal: Cannot find WSGrids used by Grids,
> incompatible
> ppu=/home/user/lazarus/lcl/units/x86_64-linux/wsgrids.ppu, package
> LCLBase

When the compiler gives "Cannot find A used by B", the IDE checks what
pas/pp/ppu files are in the search path, and if there is a ppu file it
inserts "incompatible ppu=filename, package".


> I didn't show that msg before, now I see it and show it. Can Laz show 
> more detailed error here? with ppu version and platform?

The platform is probably x86_64-linux, unless you did something really
stupid.
The exact ppu "version" is never useful for the user.
The important information is that fpc cannot use this ppu. Either
because 
- it was compiled with another fpc version
- or it was compiled with (depends on) some other ppu files,
  that are not in the search path.
- or you misconfigured some search paths.

Have you tried to compile clean?

Mattias

-- 
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus


[Lazarus] Detailed message about "incompatible ppu=..."

2019-05-11 Thread AlexeyT via lazarus
wsgrids.pp(13,30) Fatal: Cannot find WSGrids used by Grids, incompatible 
ppu=/home/user/lazarus/lcl/units/x86_64-linux/wsgrids.ppu, package LCLBase


I didn't show that msg before, now I see it and show it. Can Laz show 
more detailed error here? with ppu version and platform?


--
Regards,
Alexey

--
___
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus