How to convert rc file to RES file? lazarus / 61-Beginners ---------------------------------------------------------------------- nadavvin · 2018-11-24 10:15 Hello I'm trying to convert delphi project to lazarus and it failed because it don't find RES file where rc file Error: Can't open resource file "/packages/Lazarus/../../res/styles.RES" I rename the rc file to RES file but it complain that it in wrong format. How should I convert them? I found a file build-res.bat with content: Quotebrcc32 res\version.rc cgrc res\icon.rc brcc32 res\icon-question.rc brcc32 res\manifest.rc brcc32 -fores\updater.res res\updater32.rc cgrc.exe res\styles.rc What is the equivalent of Lazarus? My project is: https://github.com/nadavvin/HeidiLazarusSQL ---------------------------------------------------------------------- paweld · 2018-11-24 10:51 http://wiki.freepascal.org/Lazarus_Resources#Adding_resources_to_your_ program ---------------------------------------------------------------------- nadavvin · 2018-11-24 10:55 Thanks! ---------------------------------------------------------------------- nadavvin · 2018-11-24 12:43 Done that, I cahange to rc in the dpr file: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i {.$R *.RES}{$R ..\..\res\icon.rc}{$R ..\..\res\icon-question.rc}{$R ..\..\res\version.rc}{$R ..\..\res\manifest.rc}{$R ..\..\res\updater.rc}{$R ..\..\res\styles.rc} And now I get very informative error message: QuoteCompile Project, Target: lib/x86_64-linux/heidisql: Exit code 256, Errors: 1 Error: Error while compiling resources -> Compile with -vd for more details. Check for duplicates. I set the -vd via "Project Options" -> Compiler Options -> Verbosity -> Show debug info (-vd) and I still get the same error. When I press on"Test" in the project options, it give the following warning: QuoteHINT: using config file /etc/fpc.cfg WARNING: ppu exists twice: /usr/lib/fpc/3.0.4/units/x86_64- linux/fv/dialogs.ppu,/Projects/lazarus/lcl/units/x86_64- linux/dialogs.ppu WARNING: ppu exists twice: /usr/lib/fpc/3.0.4/units/x86_64-linux/fv/menus.ppu, /Projects/lazarus/lcl/units/x86_64-linux/menus.ppu I use the svn version of Lazarus if it related.