[Lazarus] Unit checksum changed error

Thomas Crone crone at cua.edu
Mon Jan 21 21:27:45 CET 2019


When I go To Project/Project Options/Compiler Options/Verbosity and check Show used files (-vu), I get:
   PlayMusic.pas(56,25) Fatal: Cannot fine Aiff by PlayMusic of the Project Inspector.

With it unchecked, I get the error reported below.

Tom
> On Jan 17, 2019, at 4:46 PM, Sven Barth via lazarus <lazarus at lists.lazarus-ide.org> wrote:
> 
> Am 17.01.2019 um 22:24 schrieb Thomas Crone via lazarus:
>> I have 3 run time units.
>> IOBuf, AIFF which 'uses' IOBuf, and PlayMusic which 'uses’ both IOBuf and AIFF
>> 
>> The compiele time for IOBuf.o, .ppu is 1:52 PM, for AIFF.om .ppu is 1:56 PM, using IOBu from 1:52 PM
>> 
>> Compiling PlayMusic gives an error message:
>>    Warning: Recompiling Aiff, checksum changed for IOBuf
>>    Playmusic.pas(56,25) Fatal: Cannot find Aiff used by PlayMusic of the Project Insplector.
>> 
>> It sounds like it is finding a different checksum on the IOBuf that PlayMusic is using than on the IOBuf that AIFF used.
>> 
>> Am I miss interpreting the error message?
>> 
>> How do I tell it where to find the AIFF source so it can re-compile it?
> As a first step you could try to add the -vu parameter so that the compiler prints which units it is indeed using, cause this error usually happens if it picks up a stray PPU (just had that situation as well ;) ). In Lazarus you find this option in "Compiler Settings -> Verbosity".
> 
> Regards,
> Sven
> -- 
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus



More information about the lazarus mailing list