In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Cannot make use of external include files

Xailer English public forum
Responder
DC
Mensajes: 122
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: 9243
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: 122
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