I am using fpcupdeluxe version of lazarus to ease cross-platform compilation.
I have noticed that with certain old projects I have it works perfectly, but there are others where lazarus complains about lacking windres, stopping compilation. The message it sends is this:
Error: resource compiler "i386-win32-windres" not found, switching to external mode
As there is little difference in terms of complexity in both projects, I have been searching for a solution without finding much about this program apart from being a resourse compiler.
What I have noticed is that the project that compiled properly lacked a line including the corresponding *.rc file in its project file (*.lpr), like this:
{$IFDEF WINDOWS}{$R proyecto.rc}{$ENDIF}
(this line was in the project that did not compile)
So, I have tried removing that line, and everything seems to work.
Must I expect some kind of trouble due to this workaround or is it perfectly right as a way of fixing my issue?
I still don't know what windres is supposed to do if I can safely remove the line that requires it.