[fpc-devel] Unable to find resource
Marco van de Voort
fpc at pascalprogramming.org
Fri Apr 22 09:55:26 CEST 2022
On 22-4-2022 09:12, Marc Weustink via fpc-devel wrote:
>
> On a project I'm working on I needed to refactor some units. After I
> finished, I got a linking error about a duplicate resource. Maybe
> accidentally a stale one got linked, so I removed 2 occurrences.
> And now the compiler complains it cannot find the resource.
> Debug: parsing parameter '.\lib\x86_64-win64\x_service.res'
> Debug: parsing parameter 'C:\Users\marc\x\x_service.res'
Well that is duplicate obviously.
Maybe you did some manual cmdline build that left a .res in the working
dir , and your project has a stale {$R *.res} in the .dpr ?
More information about the fpc-devel
mailing list