I'm trying to update and compile a project that I was developing on Windows 7 (32 bit, I think) some years ago. This is being developed on, and is only intended to run on, Windows 10 64 bit.
Compile Project, Target: lclient.exe: Exit code 1, Errors: 1, Warnings: 2
Warning: windres [option(s)] [input-file] [output-file]
Warning: windres: supported targets: pe-i386 pei-i386 elf32-i386 elf32-little elf32-big srec symbolsrec verilog tekhex binary ihex
lclient.lpr(26,1) Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates.
I've looked in this forum and elsewhere for clues as to how to fix this but can't see any advice that I'm able to understand or follow. Looking back to advice I got here years ago (which helped me fix the problem on Windows 7) I see a reference to GoRC.exe, which no longer seems to exist.
My resource file icons.rc lists the following, which are all present.
i1 ICON "i1.ico"
i2 ICON "i2.ico"
i3 ICON "i3.ico"
i4 ICON "i4.ico"
i5 ICON "i5.ico"
I've updated a console application from the same date and this will compile without errors. Is the error to do with cross-compilation of resources? Any advice on how to fix it would be appreciated.
Version 2.0.8
Date: 2020-04-11
FPC Version 3.0.4
SVN Revision 62944
x86_64-win64-win32/win64
Edit: I've just spotted the info online about LRS Explorer. I've installed that and added an lrs file with my icons in it, but still get exactly the same errors when I try compiling.
Thanks.