Page 1 of 1

Cannot make use of external include files

Posted: Mon Jul 13, 2020 6:48 pm
by DC
Hi,

I tried searching the forum for

include


and


include file


, in the advanced search, but it says the words are too common, even "Include file" as a a phrase.


The Xailer build won't recognized externally specified include files.

So e.g. in Project Properties, if we have


C:\Xailer\Projects\ThisProject\Include ; c:\External\Include


, the Xailer compile/build still returns


Error F0029 Can't opein #include file 'thisinclude.ch'


, even though thisinclude.ch is in the

c:\External\Include

folder.

I've tried something similar, in Tools/Options, but same result.

Re: Cannot make use of external include files

Posted: Tue Jul 14, 2020 5:17 pm
by ignacio
Hi,

So e.g. in Project Properties, if we have
C:\Xailer\Projects\ThisProject\Include ; c:\External\Include


Where exactly? It should be at the field 'More options' with the 'i' flag. -i<MyPath>

BTW, if you include the CH files in your project as any other file it will be enough to find it by the Harbour compiler.

Regards,

Re: Cannot make use of external include files

Posted: Tue Jul 14, 2020 5:45 pm
by DC
"It should be at the field 'More options' with the 'i' flag. -i<MyPath>"

This is what I need, thanks.

I was putting it after the Projects/Properties/include value, beginning with a semicolon. i also tried in the Tools/Options/Directories/Harbour, thus

G:\Xailer6\hb32\Include ; c:\External\Include

Everything's good now, thanks Ignacio.


ignacio wrote:Hi,

So e.g. in Project Properties, if we have
C:\Xailer\Projects\ThisProject\Include ; c:\External\Include


Where exactly? It should be at the field 'More options' with the 'i' flag. -i<MyPath>

BTW, if you include the CH files in your project as any other file it will be enough to find it by the Harbour compiler.

Regards,