Recent

Author Topic: ATSyntEdit dependency fail on package install  (Read 375 times)

RedOctober

  • Sr. Member
  • ****
  • Posts: 471
ATSyntEdit dependency fail on package install
« on: November 11, 2025, 07:37:49 pm »
(Removed from the 4.4 release announcement page, and posted here, as advised by AlexTP)

I just installed this on Windows Server 2016 (my dev machine).  I selected a bunch of my needed components for my apps from the On line Package manager.  Everything installed except for ATSynEdit.  Got the error message that there was a missing dependency.

How can I fix this and get ATSynEdit installed in 4.4 ?


Thanks in advance.
« Last Edit: November 11, 2025, 07:41:40 pm by RedOctober »

AlexTP

  • Hero Member
  • *****
  • Posts: 2652
    • UVviewsoft
Re: ATSyntEdit dependency fail on package install
« Reply #1 on: November 11, 2025, 08:04:35 pm »
Maybe OnlinePkgMan has the outdated ATSynEdit?
Try to get last GitHub version instead:

https://github.com/Alexey-T/atsynedit/

As we can see in the file atsynedit/atsynedit_package.lpk:
Code: Pascal  [Select][+][-]
  1.     <RequiredPkgs Count="5">
  2.       <Item1>
  3.         <PackageName Value="BGRABitmapPack"/>
  4.       </Item1>
  5.       <Item2>
  6.         <PackageName Value="encconv_package"/>
  7.       </Item2>
  8.       <Item3>
  9.         <PackageName Value="atflatcontrols_package"/>
  10.       </Item3>
  11.       <Item4>
  12.         <PackageName Value="LCL"/>
  13.       </Item4>
  14.       <Item5>
  15.         <PackageName Value="FCL"/>
  16.       </Item5>
  17.     </RequiredPkgs>

ATSynEdit has dep's:
- BGRABitmap, https://github.com/bgrabitmap/bgrabitmap
- EncConv, https://github.com/Alexey-T/encconv
- ATFlatControls, https://github.com/Alexey-T/atflatcontrols/

So install these 3 packages from Github first.

RedOctober

  • Sr. Member
  • ****
  • Posts: 471
Re: ATSyntEdit dependency fail on package install
« Reply #2 on: November 11, 2025, 09:51:29 pm »
Progress Report:

- Downloaded the .zip files for

    - BGRABitmap, https://github.com/bgrabitmap/bgrabitmap
    - EncConv, https://github.com/Alexey-T/encconv
    - ATFlatControls, https://github.com/Alexey-T/atflatcontrols/

In Lazarus 4.4 IDE:

- Package, Open Package File (lpk), Compile  (All 3)
- All compiled

Back to Package, Open Package File

C:\Installs\Lazarus_4_4\ATSynEdit_Patch\ATFlatControls-master\atflatcontrols\atflatcontrols_package.lpk

(This is the only one with a "Use" menu option, instead of a Use/Install option, instead of just a "Add to Project" option).

- Clicked "Use", "Do you want to rebuild the IDE?", yes,
(Note:  I did not remove the existing packages from my IDE, I just did a "Use")

Result:  IDE rebuilt and comes back.

Next:   Downloaded https://github.com/Alexey-T/atsynedit/

to

C:\Installs\Lazarus_4_4\ATSynEdit_Patch\ATSynEdit-master\atsynedit

Compiles ok.  Clicked "Use":

- Warning is displayed: 


Automatically installed packages


Installing the package atsynedit_package 2.23 will automatically install the packages:
BGRABitmapPack 11.6.6
encconv_package 1.1

I click "OK":  IDE will rebuild warning.  I click "Yes":

IDE Rebuilds and restarts OK.

TATSynEdit control and SynEdit Highlighters appear on my component pallette.

I think we can mark this ticket as "solved".  Thank you for the help AlexTP.










« Last Edit: November 11, 2025, 09:54:51 pm by RedOctober »

dsiders

  • Hero Member
  • *****
  • Posts: 1495
Re: ATSyntEdit dependency fail on package install
« Reply #3 on: November 12, 2025, 12:47:05 am »
I think we can mark this ticket as "solved".  Thank you for the help AlexTP.

Except for the part where AlexTP should update OPM with the recent versions of his packages...
Preview the next Lazarus documentation release at: https://dsiders.gitlab.io/lazdocsnext

AlexTP

  • Hero Member
  • *****
  • Posts: 2652
    • UVviewsoft
Re: ATSyntEdit dependency fail on package install
« Reply #4 on: November 12, 2025, 10:08:55 am »
yes, I will do it. currently I am fixing minor issues in the hard part: undo/redo system.
here: https://github.com/Alexey-T/CudaText/issues/6097

 

TinyPortal © 2005-2018