Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2020-04

Can't build chm/html-help by bat-file

5 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

leyba bronstain

Hi guys.

I use fpc r.44647 and Laz r.62917

I can't build chm/html-file for Windows from embedded batch-file. I pointed out correctly path to fpc (i.e.
PATH=d:\Archive\development\fpc_331_r44647\bin\i386-win32\;%PATH%), compiled and build build_lcl_docs.exe. I get next error after starting build_lcl_docs.exe:

...

Created lazutils.xct
=================================================================== Creating directory "D:\Archive\development\lazarus_21_r62917\docs\html\lcl" FPDoc - Free Pascal Documentation Tool
Version 3.3.1 [2020/04/09]
(c) 2000 - 2003 Areca Systems GmbH / Sebastian Guenther, (c) 2005 - 2012 various FPC contributors

Exception at 0049464D: EXMLReadError:
In 'file:../../xml/lcl/grids.xml' (line 2 pos 3): XML declaration is not allowed
 here.
408 Warnings hidden. Use --warnings to see them all. An unhandled exception occurred at $00404109:
Exception: File not found:
D:\Archive\development\lazarus_21_r62917\docs\html\lc l\lcl.xct
  $00404109  TFPDOCRUN__RUNFPDOC,  line 521 of build_lcl_docs.lpr   $00404242  TFPDOCRUN__COPYTOXCTDIR,  line 537 of build_lcl_docs.lpr   $004045FB  TFPDOCRUN__EXECUTE,  line 569 of build_lcl_docs.lpr   $004047A6  main,  line 594 of build_lcl_docs.lpr

D:\Archive\development\lazarus_21_r62917\docs\html>pause Press any key . . .

Can U help me?

with best regards, Zoltanleo aka Док

Reply by email

leyba bronstain
to Rolf Wetjen

Hi Rolf. Thank U for the answer.

I solved this problem. To solution this problem, it is enough to delete the erroneous first empty line in the file "../../xml/lcl/grids.xml".

15.04.2020 8:05, Rolf Wetjen via lazarus пишет:

Show quoted text 9 lines
Same problem for me. Try to open grids.xml with a xml viewer (Chrome, IE, Edge, ...). It will show you what's wrong. It was easy but I don't remember the details. Rolf
with best regards, Zoltanleo aka Док

Reply by email

Marco van de Voort
to leyba bronstain

Op 2020-04-15 om 12:23 schreef leyba bronstain via lazarus:

Show quoted text 5 lines
Hi Rolf. Thank U for the answer. I solved this problem. To solution this problem, it is enough to delete the erroneous first empty line in the file "../../xml/lcl/grids.xml".

Fixed in trunk

Reply by email