On Mon, 6 Jul 2020, Bo Berglund via lazarus wrote:
On Mon, 6 Jul 2020 07:20:08 +0200 (CEST), Michael Van Canneyt via
lazarus <lazarus@lists.lazarus-ide.org> wrote:
I suggest to remove indylaz from the uses clause.
It pulls in some GUI related code, probably some design-time stuff.
So I have done this:
- deleted the uses indylaz in the lpr file
- removed the LCLbase from project required packages
Still the same behaviour. LCLbase was not there to begin with, I added
it as a wild guess but it did nothing so is now removed.
Next I started removing uses clauses one by one in the
remoteserver.pas unit where the indy functionality is located and when
I had removed these two it did build!
//StdCtrls,
//IdBaseComponent,
StdCtrls :-)
That's what I said, you have GUI dependencies in your code...
QUESTION:
---------
What is the correct way to start a new project that is just a console
no GUI type program intended to be run as a systemd service on Linux?
There are several types of programs to choose from and I have not
understood the difference between:
- Simple Program
- Program
- Console application
They are exactly the same functionally, they just differ in terms of what start
code is
generated.
Michael.
--
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus