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

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Free Pascal - Lazarus mailing list
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, [hidden email]
(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 Док

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Can't build chm/html-help by bat-file

Free Pascal - Lazarus mailing list
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


--
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Can't build chm/html-help by bat-file

Free Pascal - Lazarus mailing list
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 пишет:
> 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 Док

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Can't build chm/html-help by bat-file

Free Pascal - Lazarus mailing list

Op 2020-04-15 om 12:23 schreef leyba bronstain via lazarus:
> 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


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Can't build chm/html-help by bat-file

Free Pascal - Lazarus mailing list
Thank U very much Marco. I was try use lazarus trunk. It's OK. The
problem is solved

15.04.2020 13:45, Marco van de Voort via lazarus пишет:
> Fixed in trunk

--
with best regards, Zoltanleo aka Док

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus