Recent

Author Topic: Incompatible PPU error message [SOLVED]  (Read 4366 times)

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 306
Incompatible PPU error message [SOLVED]
« on: June 27, 2017, 10:59:46 am »
Hello, I'm using Lazarus 1.6.4 and FPC 3.0.2 on Apple Mac 10.12.5 Sierra, but I figure this question is general enough to warrant a post in this section.

I'm writing a project which uses a bunch of component in my own package called caLibrary. It includes a unit called cargbspinedit.pas.

When I compile the package and rebuild the IDE, everything is fine - no errors. However, when I build the project which uses this package, I get the error...
 
cacolorgrid.pas(9,3) Fatal: Cannot find cargbspinedit used by cacolorgrid, incompatible ppu=/Users/carlca/Code/fpc/calibrary/lib/i386-darwin/cargbspinedit.ppu, package caLibrary

cargbspinedit.pas definitely exists, and indeed I can reach it by pressing Ctrl-Enter from the uses clause in cacolorgrid.pas. The weird thing is that it was working yesterday, and I cannot think what I may have changed to cause this problem.

Can anyone shed some light on this problem, as I am totally stuck as it stands.

Thanks,
Carl
« Last Edit: June 27, 2017, 11:14:15 am by carl_caulkett »
"It builds... ship it!"

Mac Mini M1
macOS 13.6 Ventura
Lazarus 2.2.6 (release version)
FPC 3.2.2 (release version)

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Incompatible PPU error message
« Reply #1 on: June 27, 2017, 11:06:59 am »
cacolorgrid.pas(9,3) Fatal: Cannot find cargbspinedit used by cacolorgrid, incompatible ppu=/Users/carlca/Code/fpc/calibrary/lib/i386-darwin/cargbspinedit.ppu, package caLibrary
Is "Run / Clean up and rebuild" menu option of any help?
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

carl_caulkett

  • Sr. Member
  • ****
  • Posts: 306
Re: Incompatible PPU error message
« Reply #2 on: June 27, 2017, 11:13:47 am »
It certainly is! That solved the problem, thanks very much, and that has to be close to being one of the fastest replies ever. 7 minutes - awesome!
« Last Edit: June 27, 2017, 11:15:36 am by carl_caulkett »
"It builds... ship it!"

Mac Mini M1
macOS 13.6 Ventura
Lazarus 2.2.6 (release version)
FPC 3.2.2 (release version)

avra

  • Hero Member
  • *****
  • Posts: 2514
    • Additional info
Re: Incompatible PPU error message [SOLVED]
« Reply #3 on: June 27, 2017, 12:55:18 pm »
I am really glad to hear the problem is solved  ;)
ct2laz - Conversion between Lazarus and CodeTyphon
bithelpers - Bit manipulation for standard types
pasettimino - Siemens S7 PLC lib

 

TinyPortal © 2005-2018