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

Salvatore Coppola coppolastudio at gmail.com
Sun Aug 4 17:18:44 CEST 2024


Have you tried to recreate the resource via windres.exe
As alternative comment {$R *.res} in project source
Saluti

⁣Ottieni BlueMail per Android ​

Il giorno 4 Ago 2024, 17:05, alle ore 17:05, "Arí Ricardo Ody via lazarus" <lazarus at lists.lazarus-ide.org> ha scritto:
>Hello Michael! How are you
>
>> The error means the gerastringvisual.res file is corrupted.
>
>Yes, I understood this part. But thank you.
>
>>Did you do as suggested, compile with -vd ?
>
>Even with the help of chatGPT I couldn't figure out where I could put
>the
>-vd option. The clauses where chatGPT tells me to click differ from
>those
>that appear in my Lazarus IDE.
>
>> You could try copying the file again.
>
>I did everything. I deleted the gerastringvisual.res file, extracted
>the
>entire project from the 7zip file and recompiled it, and finally
>extracted
>only the girastringvisual.res file from the 7zip file. Nothing worked.
>I
>also deleted the project directory and recreated it. I deleted it again
>and
>created it with a different name. Nothing worked.
>
>I don't know what to do anymore. I feel like I've lost my entire
>project.
>It seems like it will never compile again.
>
>What happened between the last time the project compiled and now was
>that I
>simply turned off the computer, turned it on, included a few lines in
>one
>of the project's methods, and told Lazarus to compile.
>
>Greetings from São Paulo - Brazil
>
>Arí Ricardo
>
>On Sun, Aug 4, 2024 at 5:24 AM Michael Van Canneyt via lazarus <
>lazarus at lists.lazarus-ide.org> wrote:
>
>>
>>
>> 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.--
>> _______________________________________________
>> lazarus mailing list
>> lazarus at lists.lazarus-ide.org
>> https://lists.lazarus-ide.org/listinfo/lazarus
>>
>
>
>------------------------------------------------------------------------
>
>-- 
>_______________________________________________
>lazarus mailing list
>lazarus at lists.lazarus-ide.org
>https://lists.lazarus-ide.org/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240804/5f6bce00/attachment.htm>


More information about the lazarus mailing list