<div dir="auto"><div><div class="gmail_quote"><div dir="ltr">Bo Berglund via Lazarus <<a href="mailto:lazarus@lists.lazarus-ide.org">lazarus@lists.lazarus-ide.org</a>> schrieb am So., 28. Okt. 2018, 00:44:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">>> Not so simple in Lazarus until I saw I could install indylaz.<br>
>> Has worked fine for GUI applications so far....<br>
><br>
>Yes, Indy apparently suits best for GUI apps.<br>
>You can of course set the search path of your Lazarus project to point<br>
>to Indy source directories.<br>
>That is not recommended normally but this is a special case.<br>
>If Indy Lazarus port was well designed, it would separate the GUI and<br>
>non-GUI parts to their own packages.<br>
><br>
<br>
I found the location of the indylaz package files in:<br>
~/.lazarus1.8.4/onlinepackagemanager/packages/Indy10/<br>
Here are the 3 dirs I need, Core, Protocols and System.<br>
<br>
So I adding these into the Compiler/Path/OtherUnitFiles setting in<br>
Project Options lusing the selector button<br>
../../../.lazarus1.8.4/onlinepackagemanager/packages/Indy10/Core<br>
../../../.lazarus1.8.4/onlinepackagemanager/packages/Indy10/System<br>
../../../.lazarus1.8.4/onlinepackagemanager/packages/Indy10/Protocols<br>
<br>
And I also removed the indylaz package from the project dependencies.<br>
<br>
But when I tried to build the project it complained that it could not<br>
find Interfaces, so I remembered that this is supplied by LCL, so I<br>
tried adding LCL back to the project required packages.<br>
Then the project built OK.<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">That something is pulling in unit Interfaces is proof that something tries to use GUI units. So either find out what unit that is (it could either be one of yours or maybe an Indy one) or try to set the LCLWidgetType to NoGUI.</div><div dir="auto"><br></div><div dir="auto">Regards, </div><div dir="auto">Sven </div></div>