[solved] chmmaker in lazarus/tools/ lazarus / 21-General ---------------------------------------------------------------------- folkeu08 · 2022-03-09 14:18 Hi, I try to compile the project in lazarus/tools/chmmaker/. I have an error on this two lines 149 and 150 in CHMSiteMapEditor.pas : 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 ChmItem.URL := TreeNode.URL;ChmItem.Local := TreeNode.Local; It's an old code and I'm under Windows 10 64 bits. Thanks ---------------------------------------------------------------------- wp · 2022-03-09 14:29 This has been fixed recently in Laz-trunk. Since it depends on other modifiations in FPC it cannot be applied to current versions easily. Use fpcupdeluxe and create yourself a version of Laz-trunk and fpc- trunk (or fpc-fixes). ---------------------------------------------------------------------- marcov · 2022-03-09 14:46 Afaik FPC 3.2.2 already contains these ? ---------------------------------------------------------------------- wp · 2022-03-09 15:07 Ah, of course, it's been too long since you worked in the FCL chm directory. Since it's a bug fix I added your commit c0c92c1b57a to our list with Laz-Fixes merge requests. ---------------------------------------------------------------------- folkeu08 · 2022-03-09 17:55 Hi, I've download the new project in https://gitlab.com/freepascal.org/laz arus/lazarus/-/tree/main/tools/chmmaker and compiled under lazarus 2.2.0 and it's OK now. Thanks