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 ?
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to