Recent

Author Topic: Linux, the compiled program does not start.  (Read 906 times)

Thaddy

  • Hero Member
  • *****
  • Posts: 10698
Re: Linux, the compiled program does not start.
« Reply #15 on: November 25, 2020, 02:46:39 pm »
Perhaps the problem is that I periodically run the shell with super-user rights?
Check the owner and use user rights after compilation.
ls -l is your friend here.
« Last Edit: November 25, 2020, 02:53:54 pm by Thaddy »

BlueIcaro

  • Hero Member
  • *****
  • Posts: 633
Re: Linux, the compiled program does not start.
« Reply #16 on: November 25, 2020, 05:01:54 pm »
The program has gui (forms) or is a simple program?.

Because in linux (in my ubuntu 20.04 kde) doesn't open the terminal when I run a program without GUI. So you can see the output  opennig the Console In/Out

/BlueIcaro
Remenber, the lazarus wiki is your friend: http://wiki.lazarus.freepascal.org/Main_Page
General questions (several lenguages) http://wiki.lazarus.freepascal.org/

Seenkao

  • Full Member
  • ***
  • Posts: 115
Re: Linux, the compiled program does not start.
« Reply #17 on: November 25, 2020, 05:33:12 pm »
I'm not sure at all, but isn't it a $PATH problem?
https://linuxize.com/post/how-to-add-directory-to-path-in-linux/
https://opensource.com/article/17/6/set-path-linux
Извиняюсь, но я не понимаю, как это может быть связано. Запускаемый файл находится в той же папке из которой запускаю, его не надо искать, папка уже открыта.

google translate:
Sorry, but I don't understand how this might be related. The executable file is located in the same folder from which I launch it, you do not need to search for it, the folder is already open.

The program has gui (forms) or is a simple program?.
ZenGL - это библиотека, которая создаёт графическую оболочку (окно) используя API системы, для работы с OpenGL.

google translate:
ZenGL is a library that creates a graphical shell (window) using the system's API to work with OpenGL.

Seenkao

  • Full Member
  • ***
  • Posts: 115
Re: Linux, the compiled program does not start.
« Reply #18 on: November 25, 2020, 07:59:42 pm »
На данный момент проблему можно считать решённой. Но я так и не выяснил в чём дело.

Если создавать проект заново, а не использовать демо-версии, то всё запускается. И из-под графической оболочки. Как надо не запускаются только демо-версии.

Google translate:
At the moment, the problem can be considered solved. But I never found out what was the matter.

If you create the project anew, and do not use the demo versions, then everything starts. And from under the graphical shell. Only demo versions do not start properly.

 

TinyPortal © 2005-2018