Lazarus

Using the Lazarus IDE => General => Topic started by: BSaidus on August 14, 2019, 08:53:49 pm

Title: Error compiling lazarus with Sparta docked form
Post by: BSaidus on August 14, 2019, 08:53:49 pm
Hi,
While using FPcupdeluxe to compile FPC 3.2 fixes with lazarus Fixes 2.0.5 the build was succesfull,
But When I open lazarus and trying to build it with Sparta Docked form, it raises an error.

Code: Pascal  [Select][+][-]
  1. Build IDE: Exit code 2, Errors: 1, Warnings: 2
  2. Warning: svn not in path.
  3. Warning: Recompiling chmreader, checksum changed for D:\fpcupdeluxe\3._lzfpc32fx\fx\lazarus\components\sparta\generics\lib\i386-win32\generics.collections.ppu
  4. chmreader.pas(80,12) Fatal: Can't find unit chmreader used by ChmLangRef
  5.  
  6.  
Title: Re: Error compiling lazarus with Sparta docked form
Post by: K155LA3 on August 14, 2019, 09:42:58 pm
You can compile your lazarus build If you remove the package links to sparta_Generics (<PackageName Value = "sparta_Generics" />) from sparta_mdi.lpk and sparta_toolsapi.lpk.
This problem is on the bug tracker: https://bugs.freepascal.org/view.php?id=35721
Title: Re: Error compiling lazarus with Sparta docked form
Post by: BSaidus on August 14, 2019, 10:53:12 pm
You can compile your lazarus build If you remove the package links to sparta_Generics (<PackageName Value = "sparta_Generics" />) from sparta_mdi.lpk and sparta_toolsapi.lpk.
This problem is on the bug tracker: https://bugs.freepascal.org/view.php?id=35721
Thank you for advice.
I'll try later.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: af0815 on August 14, 2019, 11:13:33 pm
For fpcupdeluxe you can use this patch.

Put the patch in the Lazarus dir and activate the Lazaruspatch in Setup+ in fpcupdeluxe.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: CM630 on July 15, 2021, 09:49:42 am
2 years later I have the same issue with Lazarus 2.0.12 32 bit on Win 10 64 bit.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: af0815 on July 15, 2021, 02:26:25 pm
*_sparta is outdated. IMHO only be used with older fpc (< 3.0.4). Remove the sparta_Generics references in the packages and it works, the above Patch do only this in sparta_toolsapi.lpk and sparta_mdi.lpk

With the next coming release a new docked form editor is comming.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: CM630 on July 16, 2021, 09:33:00 am
Thanks, I have opened ...\lazarus\components\sparta\mdi\sparta_mdi.lpk and removed sparta_Generics from its references.
Then I succeeded to compile.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: cpalx on July 20, 2021, 06:37:53 pm
@af0815

Code: Pascal  [Select][+][-]
  1. With the next coming release a new docked form editor is comming.

which release?
Title: Re: Error compiling lazarus with Sparta docked form
Post by: dsiders on July 20, 2021, 06:53:47 pm
@af0815

Code: Pascal  [Select][+][-]
  1. With the next coming release a new docked form editor is comming.

which release?

It's been available in trunk for a while. 2.2.0-RC1 has been released, and its present there.
Title: Re: Error compiling lazarus with Sparta docked form
Post by: cpalx on July 20, 2021, 07:25:08 pm
i have 2.2 RC1 installed, how isntalled?
Title: Re: Error compiling lazarus with Sparta docked form
Post by: cpalx on July 20, 2021, 07:45:35 pm
I tested, I like it
Title: Re: Error compiling lazarus with Sparta docked form
Post by: Michl on July 20, 2021, 07:48:08 pm
Install DockedFormEditor.

See also https://wiki.lazarus.freepascal.org/DockedFormEditor (https://wiki.lazarus.freepascal.org/DockedFormEditor)
or https://forum.lazarus.freepascal.org/index.php/topic,53314.0.html (https://forum.lazarus.freepascal.org/index.php/topic,53314.0.html)
TinyPortal © 2005-2018