[Lazarus] Built console app on Linux, but won't run on another Linux machine

Martin Schreiber mse00000 at gmail.com
Sun Oct 28 07:46:34 CET 2018


On Sunday 28 October 2018 00:44:17 Bo Berglund via Lazarus wrote:
>
> But when I tried to build the project it complained that it could not
> find Interfaces, so I remembered that this is supplied by LCL, so I
> tried adding LCL back to the project required packages.
> Then the project built OK.

Why don't you do what I suggested in order to find out which unit pulls in the 
interfaces and gtk2 dependency?

In order to get the MSEunitdep tool do:
"
git clone https://gitlab.com/mseide-msegui/mseide-msegui.git
cd mseide-msegui
fpc -Fulib/common/* -Fulib/common/kernel/linux tools/unitdep/mseunitdep.pas
"
A work of less than a minute.

Martin


More information about the Lazarus mailing list