Page 1 of 1

Can't install and compile with cudaup.sh

Posted: 09.01.2024 16:54
by hakelm
With the intention of embedding Cudatext in a Lazarus application I try to compile and install it with cudaup.sh.
It doesn't work for me but throws a lot of errors, see the attachment that is the result of ./cudaup.sh -gpm | tee 2>&1 cuda.txt.
What can I do?
I am using Lazarus 3.0 ON Ubuntu 22.04.
Please also point me to some examples of Cudatext integrated into a Lazarus program.
Thanks in advance
hakelm

Re: Can't install and compile with cudaup.sh

Posted: 09.01.2024 17:25
by main Alexey
warnings: 4 of them, fixed now.
errors: 1 of them.

/home/he/program/CudaText_up-master/CudaText_up-master/src/ATSynEdit/atsynedit/atsynedit_adapter_gtk2ime.pas(129,5) Error: (5000) Identifier not found "IM_Context_Set_Cursor_Pos"
/home/he/program/CudaText_up-master/CudaText_up-master/src/ATSynEdit/atsynedit/atsynedit_adapter_gtk2ime.pas(167,9) Error: (5000) Identifier not found "IM_Context_Set_Cursor_Pos"

see the wiki: https://wiki.freepascal.org/ATSynEdit#C ... ion_errors