unable to rebuild Lazarus lazarus / 21-General ---------------------------------------------------------------------- Paolo · 2023-12-02 09:33 Hello, all works fine until today. Trying to rebuild lazarus, after some modification to my package, I received the following message (see picture). what can I do ? LAZ/FPC : 2.2.6/3.2.2 ---------------------------------------------------------------------- jamie · 2023-12-02 15:17 you must have somehow included a resource file twice. Check for instances of {$R *.res} and {$TheName.Res} for example btw, that resource is RT_RCDATA Could be some sort of raw data you supplied or an image etc.. ---------------------------------------------------------------------- Paolo · 2023-12-02 16:09 Thaks Jamie. However I temporary solved the problem commenting a unit that is used in my package in the implementation section. There could be a couple of same unit around that make the compiler comfused. How can I find the duplicate unit ? If it is the case.... ---------------------------------------------------------------------- cdbc · 2023-12-02 16:15 Hi Well... If you look at the errormessage, it clearly mentions a "TFRMPLOT". So maybe look in that direction?!? Regards Benny ---------------------------------------------------------------------- Paolo · 2023-12-02 17:07 I know that. TFRMPLOT is inside my unit PLOT. is there a way to find exactly (ie file and folder) where the two conflicting files are ? thanks. PS: the packages compile fine, it is when the lazaruas rebuild is called that the message appears. ---------------------------------------------------------------------- cdbc · 2023-12-02 18:34 Hi If you're on linux, it could be the "clandestine" .lazarus directory, where also the IDE copies the whole rtl & lcl when it rebuilds itself. Most package-managers put your laz-files in a read-only directory... Have a look there... perhaps  Regards benny ---------------------------------------------------------------------- Paolo · 2023-12-03 09:40 Hello, I am on Win-10. Removed any file could have TFRMPLOT inside, but still unable to rebuild lazarus. Any suggestion ? ---------------------------------------------------------------------- Paolo · 2023-12-03 10:36 Solved.