Recent

Author Topic: Error compiling lazarus with Sparta docked form  (Read 4766 times)

BSaidus

  • Sr. Member
  • ****
  • Posts: 385
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Error compiling lazarus with Sparta docked form
« 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.  
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

K155LA3

  • New member
  • *
  • Posts: 9
Re: Error compiling lazarus with Sparta docked form
« Reply #1 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

BSaidus

  • Sr. Member
  • ****
  • Posts: 385
  • lazarus 1.8.4 Win8.1 / cross FreeBSD
Re: Error compiling lazarus with Sparta docked form
« Reply #2 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.
lazarus 1.8.4 Win8.1 / cross FreeBSD
dhukmucmur vernadh!

af0815

  • Hero Member
  • *****
  • Posts: 704
Re: Error compiling lazarus with Sparta docked form
« Reply #3 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.
regards
Andreas

CM630

  • Hero Member
  • *****
  • Posts: 960
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Error compiling lazarus with Sparta docked form
« Reply #4 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.
Лазар 2,2,0RC1 32 bit; FPC3,2,2; rev 65419 on W10 64bit.

af0815

  • Hero Member
  • *****
  • Posts: 704
Re: Error compiling lazarus with Sparta docked form
« Reply #5 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.
regards
Andreas

CM630

  • Hero Member
  • *****
  • Posts: 960
  • Не съм сигурен, че те разбирам.
    • http://sourceforge.net/u/cm630/profile/
Re: Error compiling lazarus with Sparta docked form
« Reply #6 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.
Лазар 2,2,0RC1 32 bit; FPC3,2,2; rev 65419 on W10 64bit.

cpalx

  • Hero Member
  • *****
  • Posts: 692
Re: Error compiling lazarus with Sparta docked form
« Reply #7 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?

dsiders

  • Hero Member
  • *****
  • Posts: 515
Re: Error compiling lazarus with Sparta docked form
« Reply #8 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.
Lazarus 2.0.12, 2.2.0-RC1, 2.3.0 (Git) / FPC 3.2.0, 3.2.2 / x86-win64 / Windows 8.1

cpalx

  • Hero Member
  • *****
  • Posts: 692
Re: Error compiling lazarus with Sparta docked form
« Reply #9 on: July 20, 2021, 07:25:08 pm »
i have 2.2 RC1 installed, how isntalled?

cpalx

  • Hero Member
  • *****
  • Posts: 692
Re: Error compiling lazarus with Sparta docked form
« Reply #10 on: July 20, 2021, 07:45:35 pm »
I tested, I like it

Michl

  • Full Member
  • ***
  • Posts: 225
Code: [Select]
type
  TLiveSelection = (lsMoney, lsChilds, lsTime);
  TLive = Array[0..1] of TLiveSelection;

 

TinyPortal © 2005-2018