How to compile program
There is Linux script CudaText_up https://github.com/Alexey-T/CudaText_up - it downloads all sources into ~/cudatext_up, then calls Lazarus (at least 1.8.4) to compile them. You can use it with FPC cross-compilers, installed from FpcUpDeluxe, script will compile CudaText for any of available platforms. Without cross-compilers, script makes CudaText only for the current platform. It puts result to ~/cudatext_up/bin.
And here is the old way to compile:
- install FPC and Lazarus:
- download FpcUpDeluxe. On Windows, you must unlock .exe file in the Windows Explorer dialog. https://github.com/newpascal/fpcupdeluxe/releases
- in FpcUpDeluxe, choose FPC 3.0.4 or "trunk", and Lazarus 2.0.4 or "trunk", install them both.
- download GitHub repos:
- https://github.com/Alexey-T/Python-for-Lazarus (install first)
- https://github.com/Alexey-T/ATFlatControls
- https://github.com/Alexey-T/EncConv
- https://github.com/Alexey-T/ATSynEdit (install after ATFlatControls and EncConv)
- https://github.com/Alexey-T/EControl (install after ATSynEdit)
- https://github.com/Alexey-T/ATSynEdit_Ex (install after EControl)
- https://github.com/Alexey-T/ATSynEdit_Cmp
- https://github.com/Alexey-T/ATBinHex-Lazarus
- https://github.com/Alexey-T/Emmet-Pascal
- https://github.com/Alexey-T/UniqueInstance
- https://github.com/Alexey-T/CudaText (no package here, only project)
- install .lpk packages into Lazarus (find all .lpk files, open them in IDE, install from Packages dialog)
- in the Lazarus component palette, you should see:
- "AT Controls" tab: TATButton, TATButtonsToolbar, TATListbox, TATScroll, TATSynEdit, TATLabelLink, TATGauge
- "Python" tab: several items
- "System" tab: TUniqueInstance
- in Lazarus, open "cudatext.lpi" project, compile it