On Tue, 23 Jun 2020 22:40:19 +0300, Juha Manninen via lazarus
<lazarus@lists.lazarus-ide.org> wrote:

>On Tue, Jun 23, 2020 at 10:10 PM Bo Berglund via lazarus
><lazarus@lists.lazarus-ide.org> wrote:
>> I have added indylaz as a "Required Package" for the project but it
>> does not solve this problem even though it solved a few other Indy
>> related errors.
>
>Is the path containing the include file (Indy10\System or similar) in
>Indy package's include search path?
>If not then please add it.

How can I see what paths are part of the indylaz package?
I just installed it using OnLine Package Manager so I have no idea
where it is located.

>Otherwise it sounds like a bug. Unit files are found from required
>packages but apparently include files are not. Please report a bug
>with steps to reproduce.
>
>
>> What are you supposed to do in order to make Lazarus find this file?
>
>As a dirty workaround you can add the path containing the include file
>into your project's include search path.

Does not seem like the right way to do it, for one it will not be
portable to another Linux installation (the one I will move to on
Linux for instance)...

>
>> And I don't even know where Lazarus has stored the package sources
>> during installation of indylaz so I cannot enter that into the project
>> properties either.
>
>You will figure it out. Open the Indy's package editor for example.

OK, I do know how to search for and find it but as I said it will not
be portable that way. I believe Lazarus should resolve this from the
package data...

For Lazarus 2.0.8 on my Windows 10 installation:
C:\Programs\Lazarus_2.0.8\config\onlinepackagemanager\packages\Indy10\System

For Lazarus 2.0.8 on my RPi4 installation:
~/.lazarus_2.0.8/onlinepackagemanager/packages/Indy10/System

and (Lazarus using fpc 3.2.0):

~/.lazarus_2.0.8_3.2/onlinepackagemanager/packages/Indy10/System


-- 
Bo Berglund
Developer in Sweden

-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to