You can compile in the IDE.
After compile (if there was no error) you open a Terminal, and change into the project folder.
The exe may either be
./project
or
./lib/x86-64/project
or similar
فهمتُ ما تعنيه ،إنّكـ تعني أن يتم تنفيذ البرنامج على الـ Terminal بعد فتح الـ Terminal أي أن يكون التنفيذ من خلاله وليس كما كُنتُ أظنّ أنّ الـ Terminal سينفتح تلقائيّاً عند النقر على أيقونة البرنامج المُترجم أو التنفيذي.
أودّ التنبيه كذلكـ أنّني في محاولتي التي ذكرتها في الـ post السّابق قد أحدثتُ خطأً إذ لمّا حاولت ترجمة البرنامج بـ fpc لم أكن وصلت بعد إلى مُجلّد البرنامج الصحيح بل كنتُ خارجاً في المُجلّد الذي قبله. عُموماً صححتُ تجربتي وقُمتُ بتنفيذ تعليماتكـ والبرنامج قد عمل بالفعل على الـ Terminal ولكن مازالت مُشكلة عرض النّص العربي قائمة فلم تظهر بعد الحروف العربيّة ومازالت علامات الإستفهام تظهر بالنيابة عنها.
google translate:
"I understood what you mean, you mean that the program is executed on the terminal after opening the terminal, meaning that the execution is through it and not as I had thought that the terminal would open automatically when clicking on the
compiler "compiled" or executable program icon.
I would also like to
warn "mention" that in my attempt that I mentioned in the previous post, I made an error as when I tried to compile the program with fpc, I did not yet reach the correct program directory, but I was out in the previous folder. In general, I corrected my
experience "try" and
implemented "ran" your instructions, and the program has already worked on the terminal, but the problem of displaying the Arabic text is still present, and it did not appear
after "yet" the Arabic letters, but the question marks still appear on
its behalf "instead of it"."
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 8$ fpc ./project1.lpr
Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ./project1.lpr
project1.lpr(9,3) Fatal: Can't find unit Interfaces used by project1
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 8$ dir
backup project1 project1.lpi project1.lps unit1.lfm
lib project1.ico project1.lpr project1.res unit1.pas
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 8$ ./project1
(project1:11015): GLib-GIO-CRITICAL **: 20:18:30.475: g_dbus_proxy_new: assertion 'G_IS_DBUS_CONNECTION (connection)' failed
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 8$ cd..
cd..: command not found
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 8$ cd ../
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common$ dir
Project\ 1 Project\ 3 Project\ 5 Project\ 7 Project\ 9
Project\ 2 Project\ 4 Project\ 6 Project\ 8 Projects\ description
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common$ cd Project\ 9
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 9$ dir
lib project1 project1.lpi project1.lpr project1.lps
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 9$ fpc ./project1.lpr
Free Pascal Compiler version 3.2.0 [2020/07/07] for x86_64
Copyright (c) 1993-2020 by Florian Klaempfl and others
Target OS: Linux for x86-64
Compiling ./project1.lpr
Linking project1
25 lines compiled, 0.4 sec
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 9$ dir
lib project1 project1.lpi project1.lpr project1.lps project1.o
pascal@pascal-Lenovo-ideapad-330-15AST:~/Computer/Lazarus/Lazarus Projects/Studying Projects/Common/Project 9$ ./project1
?? ???? ????? ???????
???? ???? ????? ???? ????? ???????
???? ????? ??? ???????? ??? ???? ?? ????????? ?? ??? ??? ?????? ?? ?? ?????? ????? ?? ???????!
Do you read the current line?
What do you find? Words, and do you see them well?
What do these words say? It is nothing more than asking if you are reading it or not, it is something out of nothing!