Compile LCL issue / error lazarus / 31-LCL ---------------------------------------------------------------------- billbrach · 2015-07-12 10:32 Hello, New to Lazurus but have many, many hours of Borland Pascal 7 coding. When I try to recompile the LCL on my Win XP system, I get this error: win32int.pp(33,3) Fatal: Cannot find Translations used by Win32Int, incompatible ppu=C:\lazarus\lcl\units\i386-win32\translations.ppu, package LCLBase Also, this message, when I try to compile "Transmisson Remote GUI": Compile Project, Target: units\transgui.exe: Exit code 1, Errors: 1, Warnings: 1 Warning: Recompiling Translations, checksum changed for jsonparser win32int.pp(33,3) Fatal: Cannot find Translations used by Win32Int, incompatible ppu=C:\lazarus\lcl\units\i386-win32\translations.ppu, package LCLBase Seems like this is all related to the same error ?? Any ideas ?? Thanks, Bill Brach Gainesville, FL, USA ---------------------------------------------------------------------- Bart · 2015-07-12 11:57 I would suspect that "Transmisson Remote GUI" application has the path to the transaltions unit source in one of it's project paths. Remove that. Also clean the output directory of you app to get rid of leftover ppu's. To have acces to translations unit, your project needs a dependency on LCL (or LCLBase?). (A newly created GUI app (in Lazarus) should have this already.) To get more info on what goes wrong, you can build with -vut flags. Bart ---------------------------------------------------------------------- billbrach · 2015-07-12 12:30 Hi Bart, Thanks for the info.  I get the first error when I'm just recompiling the LCL: win32int.pp(33,3) Fatal: Cannot find Translations used by Win32Int, incompatible ppu=C:\lazarus\lcl\units\i386-win32\translations.ppu, package LCLBase But, I'm not sure that it isn't related to the fact that I tried to compile "Transmission Remote GUI" before that, even tho' I did a "Close All" before trying the LCL Build.  Lazarus seems to "hold over" stuff from the previous project that was loaded. Will try your suggestions shortly. Thanks again... Bill ---------------------------------------------------------------------- JuhaManninen · 2015-07-12 15:06 Quote from: billbrach on July 12, 2015, 02:30:36 pmBut, I'm not sure that it isn't related to the fact that I tried to compile "Transmission Remote GUI" before that, even tho' I did a "Close All" before trying the LCL Build.  Lazarus seems to "hold over" stuff from the previous project that was loaded. No, File -> "Close All" does not close the project. It only closes files. That's why it is in Files menu. You still have the same project open. The current project is closed when you open another project or create a new one. You can also do Project -> "Close Project" but then the IDE is not usable. That is because the session info is part of a project. Having a project open always is a common complaint from new users. I believe you will complain about the same thing. However it is a non-issue because the project can be a "virtual" project which is not saved anywhere. You can even run a virtual project, then it is automatically saved in a temp dir. See the Project menu for project related actions, especially look at the project options. ---------------------------------------------------------------------- foxmulder · 2015-09-28 12:20 @Bart There is nothing in project paths about translation unit source  (http://i.imgur.com/qHEcRvN.png) Adding LCL and LCLBase to Project Inspector's required package still resulting the same error. Source code (transgui-5.0.1-src.zip) available here if you want to try (please) : http://sourceforge.net/projects/transgui/files/5.0.1/ ---------------------------------------------------------------------- foxmulder · 2015-09-28 15:10 Looks like a transgui using old json unit, in order to fix it Rename : Code: [Select]json\fpjson.pp as json\xfpjson.pp json\jsonparser.pp as json\xjsonparser.pp json\jsonscanner.pp as json\xjsonscanner.pp Open : Code: [Select]json\xjsonscanner.pp ;rename unit jsonscanner into xjsonscanner Find all occurrences of (using find & replace in files, match whole words only): Code: [Select]TJSONParser rename into XTJSONParser FPJSON rename into XFPJSON Credit and thanks goes to hinst @ lazarus-ide/freenode