On Sun, 27 Sep 2020 23:40:09 +0200, Bo Berglund via fpc-pascal
<fpc-pascal@lists.freepascal.org> wrote:

>On Sun, 27 Sep 2020 22:07:16 +0200, Bo Berglund via fpc-pascal
><fpc-pascal@lists.freepascal.org> wrote:
>
>>The only required packages for my application now are:
>>LCLBase and indylaz. And if I remove LCLBase it still compiles OK but
>>also still fails the link step.
>
>I finally got it to compile!
>What I did was to add Interfaces to the project file uses clause.
>Then it completed the build and link.
>So in order to check up, I next unchecked the nogui widgetset setting
>and rebuilt the application.
>Turns out that this seems to have no effect (visibly at least) so I am
>leaving it unset from now.
>
>The application so built could be started and it responds like it is
>supposed to when using the client app to talk to it.
>
>Seems like the Interfaces unit was the key...

Except, the application without nogui would not start when called from
an SSH shell on the machine (like using PuTTY from Windows to start
it).
It immediately crashes with a little text messafe referencing the GUI
part.

But if I enable nogui and rebuild the application, then it will run
both started from an SSH terminal and from a terminal in the GUI
environment.

So Interfaces was needed to get rid of the wsmenus linking errors and
nogui to make it run in all types of terminal.
Both necessary.


-- 
Bo Berglund
Developer in Sweden

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to