[Lazarus] Windres compiler not found by IDE

Michael Van Canneyt michael at freepascal.org
Sat Feb 10 10:23:42 CET 2018



On Sat, 10 Feb 2018, AlexeyT via Lazarus wrote:

> atsynedit.pas(5691,1) Error: resource compiler "windres" not found, 
> switching to external mode
>
> I tried to change {$r nnn.res} to {$r nnn.rc} and got this. How to fix it?
>
> Laz 1.9 trunk, FPC 3.0.2, Linux x64

You must install the necessary binutils for this.

On a debian based system:

sudo apt-get install mingw-w64
sudo ln -s /usr/bin/x86_64-w64-mingw32-windres /usr/bin/windres

Should do the trick.

Michael.


More information about the Lazarus mailing list