Cannot make use of external include files

Xailer English public forum
Responder
DC
Mensajes: 125
Registrado: Lun May 16, 2011 6:06 pm

Cannot make use of external include files

Mensaje por 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.
Avatar de Usuario
ignacio
Site Admin
Mensajes: 9257
Registrado: Lun Abr 06, 2015 8:00 pm
Ubicación: Madrid, Spain
Contactar:

Re: Cannot make use of external include files

Mensaje por 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,
Ignacio Ortiz de Zúñiga
[Equipo de Xailer / Xailer team]
https://www.xailer.com
DC
Mensajes: 125
Registrado: Lun May 16, 2011 6:06 pm

Re: Cannot make use of external include files

Mensaje por 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 escribió: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,
Responder