[Lazarus] Why doesn't my project compile anymore?

Michael Van Canneyt michael at freepascal.org
Sun Aug 4 10:12:06 CEST 2024



On Sat, 3 Aug 2024, Arí Ricardo Ody via lazarus wrote:

> I extracted a 7zip backup of the directory where a Lazarus project was,
> opened it in the IDE and pressed ctrl-F9. See below what appeared in the
> IDE message window. (Lazarus IDE v3.4)
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> Compilar projeto, Alvo:
> D:\testes_pascal\transmissao_visual\gerastringvisual.exe: Código saída 1,
> Erros: 2
> Error: No known file format detected for file 'gerastringvisual.res'
> gerastringvisual.lpr(24,1)Error: Error while compiling resources -> Compile
> with -vd for more details. Check for duplicates
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> I confess that occurrences like these leave me completely at a loss as to
> what to do.

The error means the gerastringvisual.res file is corrupted.

Did you do as suggested, compile with -vd ?

You could try copying the file again.

Michael.


More information about the lazarus mailing list