On Wed, 24 Jun 2020 11:44:29 +0300, Juha Manninen via lazarus
<lazarus@lists.lazarus-ide.org> wrote:

>On Tue, Jun 23, 2020 at 10:40 PM Juha Manninen
><juha.mannine...@gmail.com> wrote:
>> Is the path containing the include file (Indy10\System or similar) in
>> Indy package's include search path?
>>
>> I did not understand the question.
>> Where do I find the "Indy packages include search path"?
>
>Mattias already explained it. Please read your replies.
> Open its package editor.
> Click Options
> Click Show Options
>
>I installed Indy10 and checked. "Include files (-Fi)" says :
> .;Core;Protocols;System
>So the System directory is there.

Not in my case, OPM did not place it there. The box is empty.

>Then I added to my project source :
>  {$I IdCompilerDefines.inc}
>and indeed it is not found. I added IdCompilerDefines.inc into the
>Indy10 files collection but it still is not found.
>This is a bug. Unit files from -Fu path are found but include files
>from -Fi path are not.

OK, so I did the following:

1) Opened the indylaz package and added an include path looking the
same as the previous two:
.;Core;Protocols;System
Notice. Before I did this the inclute path box was empty.

2) Removed the path to the OPM installation from my project options

3) Uncommented the include statement in my source file

4) Tried a test compile

But it stopped at the exact same place again with the error message:
class_SSRemoteServer.pas(84,2) Fatal: Cannot open include file
"IdCompilerDefines.inc"

So adding a path to the include path box for the package does not work
either.

>Please report in bug tracker so it is not forgotten.

How is that done? I have never evr done such a report. Do I have to
have an account somewhere to do it?


-- 
Bo Berglund
Developer in Sweden

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

Reply via email to