Error F0029 Can't open #include file 'stdarg.h'

HMG en Español

Moderator: Rathinagiri

Post Reply
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Hola, me pueden ayudar a solucionar este error:

C:\hmg.3.2\harbour\include\hbdefs.h(52) Error F0029 Can't open #include file 'stdarg.h'

hbmk2[GeserH]: Error: Ejecutando compilador Harbour (interno): 1
(C:\hmg.3.2\harbour\bin\harbour.exe) -n2 D:\HMGER\geser.prg D:\HMGER\servi.prg -DHBMK_HAS_HMG=1 -q -DHBMK_HAS_GESERH=1 -o.hbmk\win\mingw\ -iC:\hmg.3.2\harbour\include -i. -iC:\hmg.3.2\include


Saludos cordiales.
Antonio
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by danielmaximiliano »

No dice nada ese tipo de error :

posible solucion : intenta colocarlo el archivo en la ubicacion de los programas que estas intentando compilar.

estamos hablando de 'stdarg.h'
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Gracias Daniel.

Saludos cordiales.
danielmaximiliano wrote:No dice nada ese tipo de error :

posible solucion : intenta colocarlo el archivo en la ubicacion de los programas que estas intentando compilar.

estamos hablando de 'stdarg.h'
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Como quiera que tambien estoy probando con el IDE, ¿me podrían informar como agregar en HMG-IDE UNICODE -->Examinador de Proyecto --> Configuración:
directorios (ubicaciones) donde pueda buscar archivos tipo .h (directorios INCLUDE)?

Gracias y saludos cordiales.



danielmaximiliano wrote:No dice nada ese tipo de error :

posible solucion : intenta colocarlo el archivo en la ubicacion de los programas que estas intentando compilar.

estamos hablando de 'stdarg.h'
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by danielmaximiliano »

abinfra wrote:Como quiera que tambien estoy probando con el IDE, ¿me podrían informar como agregar en HMG-IDE UNICODE -->Examinador de Proyecto --> Configuración:
directorios (ubicaciones) donde pueda buscar archivos tipo .h (directorios INCLUDE)?

Gracias y saludos cordiales.
prueba
Examinador de Proyecto.jpg
Examinador de Proyecto.jpg (12.16 KiB) Viewed 4918 times
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Como puse al inicio de este hilo, probando a compilar con HMG-IDE, me surgió el error que transcribo abajo, lo cual solucioné con la ayuda de Daniel, poniendo en "Configuración":
incpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\tr1

Pero ahora me da otro error en la línea 32 del fichero stdarg.h que está en el path incluido en "Configuración" (incpaths=...), en dicha línea pone "#include <tr1/cstdarg>" y el error dice:

C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\tr1\stdarg.h(32) Error F0029 Can't open #include file 'tr1/cstdarg'



cstdarg es un fichero que no tiene extensión y está también en el directorio que he puesto en incpaths=...


P.D. Me pueden facilitar donde encontrar ayuda en español para todos los comandos de HMG-IDE


abinfra wrote:Hola, me pueden ayudar a solucionar este error:

C:\hmg.3.2\harbour\include\hbdefs.h(52) Error F0029 Can't open #include file 'stdarg.h'
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Porqué se producen estos errores al compilar con HMG-IDE UNICODE y sin embargo al compilar los mismos archivos .prg sin el IDE, no se producen errores y puedo generar el .exe?

En el archivo .hbp de compilar SIN el IDE tengo puesto:
# Standard Switches with Highest Severity
#
-es2
-w0
-gui
-rebuild

-oGesERH

-ID:\VOUCH32X
-ID:\VOUCH32\INCLUDE
-ID:\CLIP53\INCLUDE
-IC:\HMG.3.3.1\INCLUDE

-LD:\CLIP53\Lib

# Library Paths - change to the location of libv32libl.a
#
-LD:\VOUCH32X

# Comment this out if you prefer Vouch32 COM protocol
#
-d__LIBRARY__

# Vouch32 Library libv32LibL.a
#
-lv32LibL
-lMiLib

# Dependancies
#
hbwin.hbc
xhb.hbc
hbzebra.hbc
hbziparc.hbc
hboslib.hbc

# Sources
#
Cierr.prg
DiAlb.prg
DiCom.prg
DiFac.prg
Digen.prg
DiPre.prg
DiRem.prg
DiVen.prg
Fiche.prg
GesER.prg
LiAsi.prg
LiFic.prg
LiPAF.prg
LiVar.prg
Servi.prg

# Recursos que deben estar vinculados con la aplicación.
# Si tiene otros archivos de recursos,
# entonces tendrá que fusionar todas ellas en un solo .res.
# MinGW sólo admite un único archivo de recursos.
#
Vouch32X.res




En el fichero GeserH.hbc del IDE tengo los siguientes parámetros:
inc=yes
head=native

incpaths=D:\VOUCH32X
incpaths=D:\VOUCH32\INCLUDE
incpaths=D:\CLIP53\INCLUDE
incpaths=C:\HMG.3.3.1\INCLUDE

incpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\tr1
incpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\mingw32\bits

libpaths=D:\CLIP53\Lib
libpaths=D:\VOUCH32X

libpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.1\debug
libpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.1

libs=MiLib V32libL stdc++


¿Qué parámetros de los que tengo para compilar SIN el IDE y mencionados antes, tengo que añadir al fichero GeserH.hbc y como he de hacerlo, a fin de tratar que no se produzcan errores al compilar CON el IDE?


Saludos cordiales.
Antonio


abinfra wrote:Como puse al inicio de este hilo, probando a compilar con HMG-IDE, me surgió el error que transcribo abajo, lo cual solucioné con la ayuda de Daniel, poniendo en "Configuración":
incpaths=C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\tr1

Pero ahora me da otro error en la línea 32 del fichero stdarg.h que está en el path incluido en "Configuración" (incpaths=...), en dicha línea pone "#include <tr1/cstdarg>" y el error dice:

C:\hmg.3.3.1\MINGW\LIB\GCC\MINGW32\4.6.2\INCLUDE\C++\tr1\stdarg.h(32) Error F0029 Can't open #include file 'tr1/cstdarg'



cstdarg es un fichero que no tiene extensión y está también en el directorio que he puesto en incpaths=...


P.D. Me pueden facilitar donde encontrar ayuda en español para todos los comandos de HMG-IDE


abinfra wrote:Hola, me pueden ayudar a solucionar este error:

C:\hmg.3.2\harbour\include\hbdefs.h(52) Error F0029 Can't open #include file 'stdarg.h'
abinfra
Posts: 68
Joined: Sat Jan 25, 2014 7:25 am
DBs Used: DBF

Re: Error F0029 Can't open #include file 'stdarg.h'

Post by abinfra »

Por lo que he podido leer, creo que para compilar y enlazar en modo consola el programa que tengo hecho en Clipper 5.3, no debo utilizar el HMG-IDE.

Si estoy equivocado corregirme.

Saludos cordiales.
Antonio Belando
Post Reply