[Lazarus] Built console app on Linux, but won't run on another Linux machine
mse00000 at gmail.com
Mon Oct 29 08:00:03 CET 2018
On Sunday 28 October 2018 17:25:45 Bo Berglund via Lazarus wrote:
> On Sun, 28 Oct 2018 09:24:40 +0200, Juha Manninen via Lazarus
>>I personally would just copy the needed indy units into my project
>>subdirectory and add them to the project. If any of those units
>>require LCL, the project will not compile. Simple, ha?
> Well, years ago I tried that with Delphi, but it turned out that the
> units needed expanded from the first one since they are interdependent
> so in the end I used environment variables to direct the Delphi
> compiler to the correct Indy10 dirs where all files were collected.
> Different IDE paradigm of course....
As Juha writes, using NoGUI is a hack. You should find out which units pull in
LCL and remove them. Different ways how to find out which units are affected
already have been described in this thread, please read again.
More information about the Lazarus