topic
stringlengths 1
63
| text
stringlengths 1
577k
⌀ |
---|---|
xHarbour cvs needs bcc58 ? | I just tried to compile it Bcc58, but I get this error:
[color=#BF0000:6a48rvs0]MAKE Version 5.2 Copyright (c) 1987, 2000 Borland
Turbo Incremental Link 5.69 Copyright (c) 1997-2005 Borland
Fatal: Unable to open file 'C0X32.OBJ'
[/color:6a48rvs0]
This file is not in my Bcc58 installation, only in the Bcc55 installation. Can I use this one instead ? |
xHarbour cvs needs bcc58 ? | [quote="StefanHaupt":34yck3jx]Hi all,
I just downloaded the last cvs of xHarbour and I found that the standard Borland compiler is Bcc58.[/quote:34yck3jx]
It is simply false.
EMG |
xHarbour cvs needs bcc58 ? | [quote="Enrico Maria Giordano":3j36yee8]
It is simply false.
EMG[/quote:3j36yee8]
Sorry, but I must contradict you, these are the first lines of the default batch to create the binaries for borland (fresh download):
[color=#0000BF:3j36yee8]if "%BCCDIR%" == "" SET BCCDIR=C:\BORLAND\BCC58
IF "%CC_DIR%"=="" SET CC_DIR=C:\BORLAND\BCC58
IF "%BISON_DIR%"=="" SET BISON_DIR=C:\BISON\BIN
IF "%SUB_DIR%"=="" SET SUB_DIR=b32
IF "%HB_GT_LIB%"=="" SET HB_GT_LIB=$(GTWIN_LIB)[/color:3j36yee8]
I´m reading Bcc58, you not ? So I assumed, the default compiler changed. |
xHarbour cvs needs bcc58 ? | [quote="StefanHaupt":22jn39cg]Sorry, but I must contradict you, these are the first lines of the default batch to create the binaries for borland (fresh download):
[color=#0000BF:22jn39cg]if "%BCCDIR%" == "" SET BCCDIR=C:\BORLAND\BCC58
IF "%CC_DIR%"=="" SET CC_DIR=C:\BORLAND\BCC58
IF "%BISON_DIR%"=="" SET BISON_DIR=C:\BISON\BIN
IF "%SUB_DIR%"=="" SET SUB_DIR=b32
IF "%HB_GT_LIB%"=="" SET HB_GT_LIB=$(GTWIN_LIB)[/color:22jn39cg]
I´m reading Bcc58, you not ? So I assumed, the default compiler changed.[/quote:22jn39cg]
Uhm... BCCDIR is not used at all in any CVS files. But you are right, CC_DIR is used to build the default path. I never had any problem with BCC55 because I use a build batch with
SET PATH=e:\bcc55\bin;e:\bison\bin;%PATH%
inside.
EMG |
xHarbour en Ubuntu 8.10 | Consegui descargar xHarbour directamente de Sourceforge. Previamente tuve que instalar cvs y bison. El caso es que no he podido generar completamente los archivos de xHarbour ya que me muestra los siguientes errores luego de ejecutar ./make_gnu.sh
[color=#0040FF:475z0wm0][size=150:475z0wm0]mensajes que aparecen en pantalla:[/size:475z0wm0][/color:475z0wm0]
root@papa46:/home/papa46/xharbour# ./make_gnu.sh
make -C include
make[1]: se ingresa al directorio `/home/papa46/xharbour/include'
make[1]: No se hace nada para `all'.
make[1]: se sale del directorio `/home/papa46/xharbour/include'
make -C source
make[1]: se ingresa al directorio `/home/papa46/xharbour/source'
make -C common
make[2]: se ingresa al directorio `/home/papa46/xharbour/source/common'
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/common/linux/gcc'
make[3]: `libcommon.a' está actualizado.
make[3]: se sale del directorio `/home/papa46/xharbour/source/common/linux/gcc'
make[2]: se sale del directorio `/home/papa46/xharbour/source/common'
make -C pp
make[2]: se ingresa al directorio `/home/papa46/xharbour/source/pp'
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/pp/linux/gcc'
make[3]: `libpp.a' está actualizado.
make[3]: se sale del directorio `/home/papa46/xharbour/source/pp/linux/gcc'
make[2]: se sale del directorio `/home/papa46/xharbour/source/pp'
make -C compiler
make[2]: se ingresa al directorio `/home/papa46/xharbour/source/compiler'
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/compiler/linux/gcc'
make[3]: `harbour' está actualizado.
make[3]: se sale del directorio `/home/papa46/xharbour/source/compiler/linux/gcc'
make[2]: se sale del directorio `/home/papa46/xharbour/source/compiler'
make -C rtl
make[2]: se ingresa al directorio `/home/papa46/xharbour/source/rtl'
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/linux/gcc'
make[3]: `librtl.a' está actualizado.
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/linux/gcc'
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/linux/gcc_mt'
make[3]: `librtlmt.a' está actualizado.
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/linux/gcc_mt'
make -C pcre
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/pcre'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/pcre/linux/gcc'
make[4]: `libpcrepos.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/pcre/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/pcre'
make -C zlib
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/zlib'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/zlib/linux/gcc'
make[4]: `libzlib.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/zlib/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/zlib'
make -C gtcgi
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtcgi'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtcgi/linux/gcc'
make[4]: `libgtcgi.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtcgi/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtcgi'
make -C gtpca
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtpca'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtpca/linux/gcc'
make[4]: `libgtpca.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtpca/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtpca'
make -C gtstd
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtstd'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtstd/linux/gcc'
make[4]: `libgtstd.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtstd/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtstd'
make -C gttrm
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gttrm'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gttrm/linux/gcc'
make[4]: `libgttrm.a' está actualizado.
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/gttrm/linux/gcc'
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/gttrm'
make -C gtcrs
make[3]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtcrs'
make[4]: se ingresa al directorio `/home/papa46/xharbour/source/rtl/gtcrs/linux/gcc'
gcc -I. -I../../include -I../../../../../include -DHB_OS_LINUX -Wall -W -I/usr/include/ncurses -c ../../gtcrs.c -ogtcrs.o
En el archivo incluído de ../../gtcrs.c:56:
../../gtcrs.h:77:22: error: curses.h: No existe el fichero ó directorio
../../gtcrs.c:153: error: expected specifier-qualifier-list before ‘SCREEN’
../../gtcrs.c: En la función ‘write_ttyseq’:
../../gtcrs.c:886: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:888: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:889: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c: En la función ‘mouse_init’:
../../gtcrs.c:1219: aviso: declaración implícita de la función ‘tigetnum’
../../gtcrs.c: En la función ‘gt_refresh’:
../../gtcrs.c:1358: aviso: declaración implícita de la función ‘wmove’
../../gtcrs.c:1358: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:1359: aviso: declaración implícita de la función ‘wrefresh’
../../gtcrs.c:1359: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c: En la función ‘tiGetS’:
../../gtcrs.c:1415: aviso: declaración implícita de la función ‘tigetstr’
../../gtcrs.c:1415: aviso: la asignación crea un puntero desde un entero sin una conversión
../../gtcrs.c: En el nivel principal:
../../gtcrs.c:1426: error: expected declaration specifiers or ‘...’ before ‘chtype’
../../gtcrs.c: En la función ‘get_acsc’:
../../gtcrs.c:1434: error: ‘pch’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1434: error: (Cada identificador no declarado solamente se reporta una vez
../../gtcrs.c:1434: error: para cada funcion en la que aparece.)
../../gtcrs.c:1434: error: ‘A_ALTCHARSET’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1441: error: ‘A_NORMAL’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1457: error: demasiados argumentos para la función ‘get_acsc’
../../gtcrs.c: En la función ‘gt_resize’:
../../gtcrs.c:1763: aviso: declaración implícita de la función ‘endwin’
../../gtcrs.c:1774: aviso: declaración implícita de la función ‘getmaxyx’
../../gtcrs.c:1774: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c: En la función ‘setDispTrans’:
../../gtcrs.c:1841: error: ‘chtype’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1841: error: expected ‘;’ before ‘ch’
../../gtcrs.c:1848: error: ‘ch’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1852: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1852: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1852: error: ‘A_NORMAL’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1855: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1855: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1855: error: ‘A_ALTCHARSET’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1858: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1858: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1858: error: ‘A_PROTECT’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1861: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1861: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1864: error: demasiados argumentos para la función ‘get_acsc’
../../gtcrs.c:1865: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1865: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1865: error: ‘A_CHARTEXT’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:1870: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1871: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1874: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1875: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:1878: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1893: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:1895: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c: En la función ‘create_ioBase’:
../../gtcrs.c:1982: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:1984: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:1987: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:1989: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:1993: error: ‘InOutBase’ no tiene un miembro llamado ‘basescr’
../../gtcrs.c:1993: aviso: declaración implícita de la función ‘newterm’
../../gtcrs.c:1993: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:1993: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:2000: error: ‘InOutBase’ no tiene un miembro llamado ‘basescr’
../../gtcrs.c:2006: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2006: error: ‘stdscr’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2021: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_mask’
../../gtcrs.c:2021: error: ‘chtype’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2022: aviso: declaración implícita de la función ‘has_colors’
../../gtcrs.c:2045: error: ‘COLOR_BLACK’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2046: error: ‘COLOR_BLUE’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2047: error: ‘COLOR_GREEN’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2048: error: ‘COLOR_CYAN’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2049: error: ‘COLOR_RED’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2050: error: ‘COLOR_MAGENTA’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2051: error: ‘COLOR_YELLOW’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2052: error: ‘COLOR_WHITE’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2055: aviso: declaración implícita de la función ‘start_color’
../../gtcrs.c:2079: aviso: declaración implícita de la función ‘init_pair’
../../gtcrs.c:2080: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2080: aviso: declaración implícita de la función ‘COLOR_PAIR’
../../gtcrs.c:2080: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2080: aviso: declaración sin efecto
../../gtcrs.c:2082: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2082: error: ‘A_BOLD’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2082: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2082: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2082: aviso: declaración sin efecto
../../gtcrs.c:2084: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2084: error: ‘A_BLINK’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2084: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2084: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2084: aviso: declaración sin efecto
../../gtcrs.c:2094: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2094: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2094: aviso: declaración sin efecto
../../gtcrs.c:2096: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2096: error: ‘A_REVERSE’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2096: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2096: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2096: aviso: declaración sin efecto
../../gtcrs.c:2098: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2098: error: ‘A_UNDERLINE’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2098: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2098: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2098: aviso: declaración sin efecto
../../gtcrs.c:2100: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2100: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2100: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2100: aviso: declaración sin efecto
../../gtcrs.c:2102: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2102: error: operandos inválidos para el binario | (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2102: error: asignación de la ubicación de sólo lectura ‘<erroneous-expression>[i]’
../../gtcrs.c:2102: aviso: declaración sin efecto
../../gtcrs.c:2107: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2108: aviso: declaración implícita de la función ‘scrollok’
../../gtcrs.c:2108: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2120: aviso: declaración implícita de la función ‘raw’
../../gtcrs.c:2122: aviso: declaración implícita de la función ‘leaveok’
../../gtcrs.c:2122: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2123: aviso: declaración implícita de la función ‘curs_set’
../../gtcrs.c:2133: aviso: declaración implícita de la función ‘wclear’
../../gtcrs.c:2133: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2134: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c: En la función ‘destroy_ioBase’:
../../gtcrs.c:2157: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2167: error: ‘InOutBase’ no tiene un miembro llamado ‘basescr’
../../gtcrs.c:2168: aviso: declaración implícita de la función ‘delscreen’
../../gtcrs.c:2168: error: ‘InOutBase’ no tiene un miembro llamado ‘basescr’
../../gtcrs.c:2169: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:2169: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:2169: aviso: la comparación de diferentes tipos de puntero carece de una conversión
../../gtcrs.c:2170: error: ‘InOutBase’ no tiene un miembro llamado ‘basein’
../../gtcrs.c:2170: aviso: se pasa el argumento 1 de ‘fclose’ desde un tipo de puntero incompatible
../../gtcrs.c:2171: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:2171: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:2171: aviso: la comparación de diferentes tipos de puntero carece de una conversión
../../gtcrs.c:2172: error: ‘InOutBase’ no tiene un miembro llamado ‘baseout’
../../gtcrs.c:2172: aviso: se pasa el argumento 1 de ‘fclose’ desde un tipo de puntero incompatible
../../gtcrs.c: En la función ‘set_active_ioBase’:
../../gtcrs.c:2273: aviso: declaración implícita de la función ‘set_term’
../../gtcrs.c:2273: error: ‘InOutBase’ no tiene un miembro llamado ‘basescr’
../../gtcrs.c: En la función ‘hb_gt_crs_SetBlink’:
../../gtcrs.c:2526: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_mask’
../../gtcrs.c:2526: error: ‘A_BLINK’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2526: aviso: declaración sin efecto
../../gtcrs.c:2528: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_mask’
../../gtcrs.c:2528: error: argumento de tipo erróneo para complemento de bits
../../gtcrs.c:2528: aviso: declaración sin efecto
../../gtcrs.c: En la función ‘hb_gt_crs_Resume’:
../../gtcrs.c:2625: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c: En la función ‘hb_gt_crs_Redraw’:
../../gtcrs.c:2928: error: ‘chtype’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2928: aviso: declaración sin efecto
../../gtcrs.c:2928: error: expected ‘;’ before ‘ch’
../../gtcrs.c:2930: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
../../gtcrs.c:2935: error: ‘ch’ no se declaró aquí (primer uso en esta función)
../../gtcrs.c:2935: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_map’
../../gtcrs.c:2935: error: ‘InOutBase’ no tiene un miembro llamado ‘attr_mask’
../../gtcrs.c:2935: error: operandos inválidos para el binario & (se tiene ‘int’ y ‘const char *’)
../../gtcrs.c:2936: error: ‘InOutBase’ no tiene un miembro llamado ‘box_chmap’
../../gtcrs.c:2937: error: ‘InOutBase’ no tiene un miembro llamado ‘std_chmap’
../../gtcrs.c:2937: error: operandos inválidos para el binario | (se tiene ‘const char *’ y ‘int’)
../../gtcrs.c:2937: aviso: declaración sin efecto
../../gtcrs.c:2938: aviso: declaración implícita de la función ‘waddch’
../../gtcrs.c:2938: error: ‘InOutBase’ no tiene un miembro llamado ‘stdscr’
make[4]: *** [gtcrs.o] Error 1
make[4]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtcrs/linux/gcc'
make[3]: *** [descend] Error 2
make[3]: se sale del directorio `/home/papa46/xharbour/source/rtl/gtcrs'
make[2]: *** [gtcrs] Error 2
make[2]: se sale del directorio `/home/papa46/xharbour/source/rtl'
make[1]: *** [rtl] Error 2
make[1]: se sale del directorio `/home/papa46/xharbour/source'
make: *** [source] Error 2
[color=#4080FF:475z0wm0][size=150:475z0wm0]Fin de los mensajes[/size:475z0wm0][/color:475z0wm0]
¿Algún amigo me puede orientar como instalarlo sin errores? |
xHarbour en Ubuntu 8.10 | Armando,
Esta conversación puede ayudarte:
<!-- l --><a class="postlink-local" href="http://forums.fivetechsupport.com/viewtopic.php?p=92343#p92343">viewtopic.php?p=92343#p92343</a><!-- l -->
Por favor usa la sección de FiveLinux para comentar asuntos relacionados con Linux, gracias <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xHarbour en Ubuntu 8.10 | Antonio.
Acabo de leer la conversación que indicas con Verhoen. Interesante, pero aplicado a Harbour. Según los mensajes que obtengo, en el caso de xHarbour, tal parece que hay errores en el codigo de xHarbour y por eso Make da errores.
Por otra parte en los escritos de Verhoen, respecto a Harbour, se menciona la presencia del acostumbrado [b:byiheh0x]make_gnu.sh[/b:byiheh0x] que no existe más en el proyecto Harbour. Lo que noto es la presencia de:
mpkg_deb.sh
mpkg_rpm_from_svn.sh
mpkg_rpm.sh
mpkg_rpm_wce.sh
mpkg_rpm_win.sh
mpkg_src.sh
mpkg_tgz.sh
Y entonces la pregunta es ¿cuál utilizo? o en todo caso ¿cuál utilizas para generar el Harbour?.
Mil gracias por adelantado
Saludos
Armando |
xHarbour for bcc582 2013-03-27 | [url:3f1o15fo]https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=xharbour_20130327.zip&can=2&q=[/url:3f1o15fo]
Please download also this xHarbour rtl.lib, that includes a fix provided by Enrico:
[url:3f1o15fo]https://code.google.com/p/harbour-and-xharbour-builds/downloads/detail?name=rtl.lib&can=2&q=[/url:3f1o15fo] |
xHarbour handles ActiveX events and FWH? | as subject
Roberto Parisi |
xHarbour handles ActiveX events and FWH? | FWH does not manage ActiveX events yet. We are in the process to implement them.
We also don't know yet if xharbour ActiveX can be used with FWH. |
xHarbour issue: seeking ideas | I am retrieving an XML document from a website using the following code:
[code=fw:16f31ou7]<div class="fw" id="{CB}" style="font-family: monospace;"><br /> cXML := XMLtext<br /> oHttp:=TIpClientHttp<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">new</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"https://www.website.com"</span> <span style="color: #000000;">)</span><br /> oHttp:<span style="color: #000000;">open</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> oHttp:<span style="color: #000000;">Post</span><span style="color: #000000;">(</span> cXml<span style="color: #000000;">)</span><br /> cRet := oHttp:<span style="color: #000000;">readAll</span><span style="color: #000000;">(</span> <span style="color: #000000;">)</span><br /> oHttp:<span style="color: #000000;">close</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> </div>[/code:16f31ou7]
Everything works fine EXCEPT xHarbour truncates the return string stored in cRet. It reads 8192 characters ( but actually saves about half of it ). The exact same code in Harbour reads the full 22KB of return data and saves it all.
I'm using an older version ( xHarbour.com ). I'm wondering if there is any undocumented data that needs to be specified to get the full string with the xHarbour code.
I appreciate your ideas on this matter. |
xHarbour issue: seeking ideas | Tim,
[quote:2ds5kzgq]It reads 8192 characters ( but actually saves about half of it ).[/quote:2ds5kzgq]
Please explain. Are you checking the length with len(cRet) and it returns 8192? What do you mean by it only saves half of it?
I am thinking that perhaps there is an invisible character in the middle?
James |
xHarbour issue: seeking ideas | This is an XML transmission. The file size is reported to be 8192 bites in length ( with the LEN( ) ) function. I save it with MemoWrit( ), and then open it in my editor. It shows on the File description that it is about 8KB in size, but only about the first 10 lines of text actually show and the rest is blank.
Now, the exact same code when using my Harbour / MSVC build reads the full XML transmission, which is about 25 KB in length.
So, either the xHarbour code sets some type of buffer limit, or times out during the transmission. |
xHarbour issue: seeking ideas | Tim,
[quote:ompqm05h]So, either the xHarbour code sets some type of buffer limit, or times out during the transmission.[/quote:ompqm05h]
Or, it could be memowrit(), memoread(), and/or the editor you are using. Either of them could be stumbling on an unseen character.
I would process the entire string looking for non-numeric and non-alpha characters and replace them with maybe an asterisk or some other symbol.
Also, try just doing msgInfo( cRet ) without saving it.
James |
xHarbour issue: seeking ideas | Its not Memowrit or the editor. The data is simply being cut off by the ReadAll( ) method. The question is how to get around that with xHarbour.
The exact same data feed is being received, and read correctly, with the Harbour version. |
xHarbour issue: seeking ideas | Tim,
[quote:2rs6vxci]The data is simply being cut off by the ReadAll( ) method. [/quote:2rs6vxci]
I'm sorry, I must be misunderstanding something. Are you doing:
[code=fw:2rs6vxci]<div class="fw" id="{CB}" style="font-family: monospace;">cRet := oHttp:<span style="color: #000000;">readAll</span><span style="color: #000000;">(</span> <span style="color: #000000;">)</span><br /><span style="color: #0000ff;">msgInfo</span><span style="color: #000000;">(</span> len<span style="color: #000000;">(</span> cRet<span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> </div>[/code:2rs6vxci]
and the msgInfo( len( cRet ) ) returns 8192. If yes, then why are you stating the the readAll() truncates the data? Or, are you stating that the msgInfo( len(cRet) ) returns something less than 8192?
James |
xHarbour issue: seeking ideas | James,
First, the actual size of the feed is about 26 KB. The entire feed is read using the ReadAll( ) in Harbour. It can then be viewed also.
Using xHarbour, only 8192 bytes are returned, and only the first half are actual characters. The rest is blanks until the EOF marker.
In translated XML terms, xHarbour returns only about 21 1/2 lines of XML text. Harbour returns the full 322 lines.
Tim |
xHarbour issue: seeking ideas | Tim,
OK, now I understand.
What version of xHarbour.com are you using? Or, rather when was it published?
Have you tried a different XML file just to see if it related to that particular file?
James |
xHarbour issue: seeking ideas | Tim,
The following sample works fine here using latest xHarbour from SVN and latest FWH:
[code=fw:145a3i5p]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">LOCAL</span> oHttp<br /><br /> <span style="color: #00C800;">LOCAL</span> cRet<br /><br /> oHttp = TIpClientHttp<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span> <span style="color: #ff0000;">"http://www.emagsoftware.it/download.htm"</span> <span style="color: #000000;">)</span><br /><br /> oHttp:<span style="color: #000000;">Open</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> cRet = oHttp:<span style="color: #000000;">ReadAll</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> oHttp:<span style="color: #000000;">Close</span><span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? LEN<span style="color: #000000;">(</span> cRet <span style="color: #000000;">)</span><br /><br /> MEMOWRIT<span style="color: #000000;">(</span> <span style="color: #ff0000;">"MYRESULT.TXT"</span>, cRet <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:145a3i5p]
EMG |
xHarbour issue: seeking ideas | I'm using xHarbour.com from August 2010. That was a "for use" release ( but still called a Beta ). Since then they were mostly doing the Visual xHarbour stuff. Unfortunately I can't just swap in the latest public xHarbour ...
I'm using the more recent Harbour that Antonio provided for use with Microsoft Visual C 2012. |
xHarbour issue: seeking ideas | Tim,
[quote="TimStone":1r2q653z]I'm using xHarbour.com from August 2010.[/quote:1r2q653z]
That explains all. You can't use a four years old release and expect to not find strange behavior, don't you? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
xHarbour issue: seeking ideas | Actually, I asked and essentially got the message that not much has been done on the subscription version except for Visual xHarbour. Are you using the .com version ( with xBuilder ? |
xHarbour issue: seeking ideas | Tim,
[quote="TimStone":3n70ioij]Actually, I asked and essentially got the message that not much has been done on the subscription version except for Visual xHarbour. Are you using the .com version ( with xBuilder ?[/quote:3n70ioij]
A lot of fixes have been done to TIp class on the official xHarbour version. As an example, I find this in the changelog that can be related to your problem:
[quote:3n70ioij]2013-09-03 10:30 UTC-300 Luiz Rafael Culik <luiz/AT/xharbour/com/br>
* source/tip/client.prg
contrib/tipssl/client.prg
* [b:3n70ioij]fixed read method to allow long http response[/b:3n70ioij]
* contrib/tipssl/httpcln.prg
* change to allow Connection: field in http header allow other values then close[/quote:3n70ioij]
EMG |
xHarbour issue: seeking ideas | That is fine, but I would have to be a large amount of money to upgrade to the recent commercial version hoping that had been included.
I don't believe xBuild will work with anything but the .com version. |
xHarbour los comandos equivalentes | xHarbour los comandos equivalentes
[code=fw:2t8i453t]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_WIN_OLECREATEOBJECT'</span><br /><br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN___AXREGISTERHANDLER'</span> <br /><br />Error: <span style="color: #000000;">Unresolved</span> external <span style="color: #ff0000;">'_HB_FUN_HB_MILLISECONDS'</span> <br /> </div>[/code:2t8i453t]
Gracias |
xHarbour los comandos equivalentes | Joao,
FUNCTION CreateObject( cString, cLicense )
RETURN TOleAuto():New( cString, , cLicense )
There is a HB_ULONG hb_dateMilliSeconds( void ) in xHarbour so you can use:
[code=fw:kbtnuquj]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span></div>[/code:kbtnuquj] |
xHarbour los comandos equivalentes | [quote="Antonio Linares":3327d2mj]Joao,
FUNCTION CreateObject( cString, cLicense )
RETURN TOleAuto():New( cString, , cLicense )
There is a HB_ULONG hb_dateMilliSeconds( void ) in xHarbour so you can use:
[code=fw:3327d2mj]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span></div>[/code:3327d2mj][/quote:3327d2mj]
Gracias Marabilloso GURÚ del FIVEWIN.
Voy probar y te comento.
Saludos, amado maestro. |
xHarbour los comandos equivalentes | Maestro Antonio, al compilar me genera estos errores
DBMANUT.prg(4210) Error E0020 Incomplete statement or unbalanced delimiters
DBMANUT.prg(4212) Error E0030 Syntax error: "parse error at '}'"
2 errors
[code=fw:2s6cki6v]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span> <span style="color: #B900B9;">// linea 4212 erro</span><br /><br /><br />Hay algo que falta ?? Estoy usando XHARBOUR <span style="color: #0000ff;">normal</span>.<br /><br /><br /><br />No debria ser algo +- asi:<br /><br /><span style="color: #B900B9;">/*<br />#pragma BEGINDUMP<br /><br />#include <hbapi.h><br />#include <windows.h><br /><br />HB_FUNC( SENDMESSAGE )<br />{<br /> .... blah, blah...<br />}<br /><br />#pragma ENDDDUMP<br />*/</span><br /> </div>[/code:2s6cki6v] |
xHarbour los comandos equivalentes | Maestro, También me falta saber cual és el comando en XHARBOUR que sea igua a este:
'_HB_FUN___AXREGISTERHANDLER' //-> Comando en HARBOUR
Cual és el equivalente en XHARBOUR??
Gracias |
xHarbour los comandos equivalentes | Joao,
Si tiene que hacerse como comentas:
[code=fw:2jc37v2r]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> NOMBRE <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> .... blah, blah...<br /><span style="color: #000000;">}</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDDUMP</div>[/code:2jc37v2r] |
xHarbour los comandos equivalentes | Maestro al compilar ahora me genera estos errores:
Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
DBMANUT.c:
Warning W8065 DBMANUT.prg 4205: Call to function 'hb_dateMilliSeconds' with no prototype in function HB_FUN_HB_MILLISECONDS
Error E2141 DBMANUT.prg 4239: Declaration syntax error
Error E2206 DBMANUT.prg 4276: Illegal character '@' (0x40)
Error E2206 DBMANUT.prg 4276: Illegal character '@' (0x40)
Error E2141 DBMANUT.prg 4291: Declaration syntax error
Error E2141 DBMANUT.prg 4292: Declaration syntax error
Error E2206 DBMANUT.prg 4293: Illegal character '@' (0x40)
Error E2206 DBMANUT.prg 4293: Illegal character '@' (0x40)
*** 7 errors in Compile ***
[code=fw:v21dwzqn]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><br /><span style="color: #B900B9;">//There is a HB_ULONG hb_dateMilliSeconds( void ) in xHarbour so you can use:</span><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDDUMP<br /> </div>[/code:v21dwzqn]
|
xHarbour los comandos equivalentes | Hola
Agrega este include
#include "hbdate.h"
[code=fw:wg9d8oa4]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <hbdate.h><br />...</div>[/code:wg9d8oa4] |
xHarbour los comandos equivalentes | Holá Daniel Garcia-Gil, ahora me genera esto error:
hbsetup.h(61) Error F0001 Can't open #include file: 'limits.h'; No such file or directory
[code=fw:2xnok8pe]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"hbdate.h"</span><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><span style="color: #00D7D7;">#include</span> <windows.h><br /><span style="color: #00D7D7;">#include</span> <hbdate.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDDUMP<br /> </div>[/code:2xnok8pe] |
xHarbour los comandos equivalentes | Karinha
limits.h es un archivo de cabecera del compilador de C, verifica que estes colocando correctamente el flag de los includes (-I) para hacer la compilacion |
xHarbour los comandos equivalentes | Holá Daniel, por favor, mira si estpa correcto:
[code=fw:1bdnnpz5]<div class="fw" id="{CB}" style="font-family: monospace;"><br />Set hDir=C:\XHARBOUR<br />Set bcDir=C:\bcc55<br />Set FwhDir=C:\FwH27<br /><br /><span style="color: #00C800;">If</span> Exist DBMANUT.Exe Del DBMANUT.Exe<br /><br />REM -> Area dos Arquivos com ExtensÆo *.PRG Gerados em FiveWin <span style="color: #000000;">2.7</span> <span style="color: #00C800;">For</span> xHarbour<br />%hdir%\bin\harbour DBMANUT /m/n /i%fwhdir%\include;%hdir%\include /w0 /p DBMANUT.C >> Erro.log<br /><br /><br />%bcdir%\bin\bcc32 -O2 -M -c -D__HARBOUR__ -I%hdir%\include DBMANUT.C >> Erro.log<br /><br /><br /><span style="color: #00C800;">If</span> ErrorLevel <span style="color: #000000;">1</span> Type Erro.log | More<br /><span style="color: #00C800;">If</span> ErrorLevel <span style="color: #000000;">1</span> Goto Exit<br /><br />%bcdir%\bin\bcc32 -M -c -O2 -eDBMANUT.exe -I%hdir%\include DBMANUT.c<br />:<span style="color: #000000;">ENDCOMPILE</span><br /><br />%bcdir%\bin\ilink32 -Gn -aa -Tpe -s @Cxp.Lnk<br /><br />Echo .<br /><span style="color: #00C800;">IF</span> ERRORLEVEL <span style="color: #000000;">1</span> GOTO LINKERROR<br />REM Cls<br />Echo .<br />Echo * Aplicacao Foi Desenvolvida Com Sucesso<br />GOTO EXIT<br /><br />:<span style="color: #000000;">EXIT</span><br /> </div>[/code:1bdnnpz5] |
xHarbour los comandos equivalentes | Daniel, mira por favor:
<!-- m --><a class="postlink" href="http://www.mail-archive.com/[email protected]/msg08370.html">http://www.mail-archive.com/harbour@har ... 08370.html</a><!-- m --> |
xHarbour los comandos equivalentes | Karinha
[code=fw:35m71jmi]<div class="fw" id="{CB}" style="font-family: monospace;">%bcdir%\bin\bcc32 -M -c -O2 -eDBMANUT.exe -I%hdir%\include;%bcdir%\include DBMANUT.c</div>[/code:35m71jmi] |
xHarbour los comandos equivalentes | Daniel, mismo error.
Gracias. |
xHarbour los comandos equivalentes | Karinha
Ese archivo debe estar dentro de la carpeta include de borland, verificalo |
xHarbour los comandos equivalentes | Pasta(carpeta) de C:\BCC55\Include
27/06/2000 05:01 325 climits.h
27/06/2000 05:01 288 limits.h
27/06/2000 05:01 46.129 limits.stl
[code=fw:3rud0fge]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/* Limits.h - stub redirector for either _lim.h or limits.stl<br />*/</span><br /><br />#if !defined<span style="color: #000000;">(</span>__cplusplus<span style="color: #000000;">)</span><br /># include <_lim.h><br />#else <span style="color: #B900B9;">/* __cplusplus */</span><br /># include <_lim.h><br /># <span style="color: #00C800;">if</span> defined<span style="color: #000000;">(</span>__USING_STD_NAMES__<span style="color: #000000;">)</span><br /># include <limits.stl><br /># <span style="color: #00C800;">endif</span> <span style="color: #B900B9;">/* __USING_STD_NAMES__ */</span><br />#endif <span style="color: #B900B9;">/* __cplusplus */</span><br /> </div>[/code:3rud0fge] |
xHarbour los comandos equivalentes | <!-- m --><a class="postlink" href="http://en.wikipedia.org/wiki/Limits.h">http://en.wikipedia.org/wiki/Limits.h</a><!-- m --> |
xHarbour los comandos equivalentes | Daniel, al modificar mi bcc32.cfg y ilink32.cfg, ahora me genera esto error:
limits.h(4) Error F0026 Parse error in constant expression '("0" )'
bcc32.cfg
-Ic:\bcc55\include;c:\xharbour\include -Lc:\bcc55\lib;c:\xharbour\lib
Ilink32.cfg
-Lc:\bcc55\lib;c:\xharbour\lib
[code=fw:tb97ihue]<div class="fw" id="{CB}" style="font-family: monospace;"><br /><span style="color: #B900B9;">/* Limits.h - stub redirector for either _lim.h or limits.stl<br />*/</span><br /><br />#if !defined<span style="color: #000000;">(</span>__cplusplus<span style="color: #000000;">)</span><br /># include <_lim.h><br />#else <span style="color: #B900B9;">/* __cplusplus */</span><br /># include <_lim.h><br /># <span style="color: #00C800;">if</span> defined<span style="color: #000000;">(</span>__USING_STD_NAMES__<span style="color: #000000;">)</span><br /># include <limits.stl><br /># <span style="color: #00C800;">endif</span> <span style="color: #B900B9;">/* __USING_STD_NAMES__ */</span><br />#endif <span style="color: #B900B9;">/* __cplusplus */</span><br /> </div>[/code:tb97ihue]
Saludos y gracias |
xHarbour los comandos equivalentes | Karinha
[url:31mpg7nd]http://forums.fivetechsupport.com/viewtopic.php?p=66706#p66706[/url:31mpg7nd] |
xHarbour los comandos equivalentes | [quote="Daniel Garcia-Gil":18pfowis]Karinha
[url:18pfowis]http://forums.fivetechsupport.com/viewtopic.php?p=66706#p66706[/url:18pfowis][/quote:18pfowis]
Daniel, ahora me genera esto error:
hbsetup.h(61) Error F0001 Can't open #include file: 'limits.h'; No such file or directory
Que loco... jejejejejeje
Gracias... |
xHarbour los comandos equivalentes | Karinha
pero el archivo si existe dentro de los includes de borland?
podria ayudarte por teamviewer si lo deseas... puedes contactar por medio del messenger: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> o gmail: <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e --> |
xHarbour los comandos equivalentes | Si Daniel el archivo está en la carpeta c:\bcc55\include\limits.h
gracias |
xHarbour los comandos equivalentes | Karinha
intenta compilar este ejemplo con el buildh.bat de fivewin
[code=fw:5esegfl5]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"fivewin.ch"</span><br /><br /><span style="color: #00C800;">function</span> main<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? HB_MILLISECONDS<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /><span style="color: #00C800;">return</span> <span style="color: #00C800;">nil</span><br /><br /><span style="color: #00D7D7;">#pragma</span> BEGINDUMP<br /><span style="color: #00D7D7;">#include</span> <hbapi.h><br /><span style="color: #00D7D7;">#include</span> <hbdate.h><br /><br /><span style="color: #00C800;">HB_FUNC</span><span style="color: #000000;">(</span> HB_MILLISECONDS <span style="color: #000000;">)</span><br /><span style="color: #000000;">{</span><br /> hb_retnl<span style="color: #000000;">(</span> hb_dateMilliSeconds<span style="color: #000000;">(</span><span style="color: #000000;">)</span> <span style="color: #000000;">)</span>;<br /><span style="color: #000000;">}</span><br /><br /><span style="color: #00D7D7;">#pragma</span> ENDDUMP</div>[/code:5esegfl5] |
xHarbour los comandos equivalentes | Ok, voy intentar y reporto.
gracias |
xHarbour los comandos equivalentes | Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
teste.c:
Warning W8065 teste.prg 15: Call to function 'hb_dateMilliSeconds' with no proto
type in function HB_FUN_HB_MILLISECONDS
Borland Resource Compiler Version 5.40 |
xHarbour los comandos equivalentes | Karinha
que version de harbour estas usando? |
xHarbour los comandos equivalentes | xHarbour Compiler build 0.99.61 (SimpLex) |
xHarbour los comandos equivalentes | Karinha
Al parecer es un version vieja de harbour y aun esa funcion no estaba...
la funcion se creo en 2007-11-12
[code=fw:28h9nygg]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">2007</span><span style="color: #000000;">-11</span><span style="color: #000000;">-12</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">09</span> UTC<span style="color: #000000;">+0100</span> Przemyslaw Czerpak <span style="color: #000000;">(</span>druzus/<span style="color: #00C800;">at</span>/priv.onet.pl<span style="color: #000000;">)</span><br /> * harbour/include/hbapifs.h<br /> * harbour/source/common/hbfsapi.c<br /> + added hb_fsMaxFilesError<span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:28h9nygg] |
xHarbour los comandos equivalentes | [quote="Daniel Garcia-Gil":aaeejsts]Karinha
Al parecer es un version vieja de harbour y aun esa funcion no estaba...
la funcion se creo en 2007-11-12
[code=fw:aaeejsts]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #000000;">2007</span><span style="color: #000000;">-11</span><span style="color: #000000;">-12</span> <span style="color: #000000;">16</span>:<span style="color: #000000;">09</span> UTC<span style="color: #000000;">+0100</span> Przemyslaw Czerpak <span style="color: #000000;">(</span>druzus/<span style="color: #00C800;">at</span>/priv.onet.pl<span style="color: #000000;">)</span><br /> * harbour/include/hbapifs.h<br /> * harbour/source/common/hbfsapi.c<br /> + added hb_fsMaxFilesError<span style="color: #000000;">(</span><span style="color: #000000;">)</span></div>[/code:aaeejsts][/quote:aaeejsts]
Ok Daniel gracias, voy cambiar la version de xharbour y intentar de nuevo.
Saludos. |
xHarbour los comandos equivalentes | Holá Daniel, Cambie el XHARBOUR para la version: 1.2.1 y ahora me retorna esto error:
Error: Unresolved external '_hb_set' referenced from
Me falta alguna lib??
?????
Gracias, saludos. |
xHarbour los comandos equivalentes | Karinha
Disculpa mi confucion inicial, pense que estabas haciendo compatible funciones de xharbour para harbour, aunque eso no cambia ninguna de las respuestas anteriores
Al paracer estas usando una version anterior de fivewin que no es compatible con la version de xharbour que estas usando...
que version de fivewin usas? |
xHarbour los comandos equivalentes | Holá daniel,
"FWHX 2.7 November 2005" |
xHarbour los comandos equivalentes | Karinha
Es una funcion muy reciente para las versiones de fivewin y xharbour que estas usando |
xHarbour los comandos equivalentes | Ok, Gracias Daniel. |
xHarbour official repo and binaries | xHarbour official repo:
[url:203cyaa6]https://github.com/xHarbour-org/xharbour[/url:203cyaa6]
xharbour latest builds:
[url:203cyaa6]http://xharbour.org/index.asp?page=download/windows/binaries_win[/url:203cyaa6]
thanks to Enrico! |
xHarbour project link errors | I have been using Harbour and now I am trying to get started with xHarbour. I am getting the following errors:
Project: TTest, Environment: FWxH:
iLink32.Exe -Gn -aa -Tpe -s @TTest.bcl
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
Error: Unresolved external '_HB_FUN_HB_DBG_VMSTKLCOUNT' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMPARLLIST' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARLGET' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
Error: Unresolved external '_HB_FUN_HB_DBG_VMVARSLEN' referenced from C:\FWH\LIB\FIVEHX.LIB|HARBOUR
I am using FWH 2.6, May 2005 build. The xHarbour ver is 0.92.0 which has a file date of 1/5/2004. Also Borland C. I am wondering if I need a newer version of the xHarbour compiler? Does anyone have a version that they know is compatible with FWH 2.6? If so, could you mail me a copy? I can't find one on the net anywhere. Or can I use the latest version of xHarbour?
I am also using xMate which is new to me. Perhaps I have it configured wrong. I found it strange that xMate came pre-configured for about 20 environments but none of them were for FW, FWH, or FWxH. I am linking in the VM.LIB which looks like the one that is the problem.
Any other ideas?
James |
xHarbour project link errors | If I remember correctly, you can define those functions as empty functions.
EMG |
xHarbour project link errors | Enrico,
OK, here is my entire program:
[code:2k9xr43j]#include "fivewin.ch"
function main()
msgInfo("Hello World")
return nil
function hb_dbg_vmstklcount()
return nil
function hb_dbg_vmparllist()
return nil
function hb_dbg_vmvarlget()
return nil
function hb_dbg_vmvarslen()
return nil[/code:2k9xr43j]
I also eliminated xMate and I am just using buildx.bat. The program compiles without error, but when I run it, nothing happens (I don't get the "Hello World" message).
Any more ideas?
James |
xHarbour project link errors | James,
I assume you are using /n at buildx.bat when compiling, right ? |
xHarbour project link errors | Antonio,
Yes, I am using the /n in the standard buildx.bat with only slight modifications for paths. Here is the line from the file:
%hdir%\bin\harbour %1 /n /i%hdir%\include;%fwdir%\include /w /p %2 %3 > clip.log
James |
xHarbour project link errors | James,
I would suggest you to use the most recent xHarbour version, tested by FiveTech, that can be downloaded from:
<!-- w --><a class="postlink" href="http://www.fivetechsoft.com/files/xharbour.exe">www.fivetechsoft.com/files/xharbour.exe</a><!-- w -->
and FWH 2.7 january 2006. |
xHarbour project link errors | James
I just sent you by private e-mail the FWH27, xHarbour 99.51 ( borland and msvc ) xMate environments.
FWH27 and the latest cvs 99.51 have to be used together .. lots of changes made to xHarbour and FWH... ( ie .. dbfdbt is no longer needed .. pcrepos and hbsix supersceed )
If you are using FWH26 .. delete the hbsix and pcrepos libs from the environments and replace with dbfdbt.
Hope this helps.
Rick Lipkin
SC Dept of Health, USA |
xHarbour release September 2010 | Hi,
We compiled our app with new xHB and FWH 8.09, but at running we got the message:
\source\classes\activex.prg compiled with PCODE v.9 and xHb expect v.10
We tryed FWH v.8.11 but unsuccessful.
Is the latest version of FWV necessary?
Thanks
Eduardo |
xHarbour release September 2010 | Eduardo,
Yes, you need an updated FWH version that uses the same xHarbour that you are using,
alternatively you can rebuild all the FWH PRGs with that xHarbour version. |
xHarbour to Harbour | Hi,
Dragging my program from xHarbour to Harbour. Please tell me how to rewrite OVERRIDE in the Harbor syntax |
xHarbour to Harbour | Please try this:
__clsModMsg( TXBrowse():ClassH, "MouseWheel", @XBr_MWhl() )
or
__clsModMsg( oXBrowse:ClassH, "MouseWheel", @XBr_MWhl() ) |
xHarbour to Harbour | use harbour/contrib/xhb
#include "xhbcls.ch"
to have xharbour compatibility with extended class modification |
xHarbour to Harbour | Dear Natter,
> Please tell me how to rewrite OVERRIDE in the Harbor syntax
Please post an example of how you use it with xHarbour
thanks |
xHarbour to Harbour | Override Method MouseWheel In Class TXBrowse With XBr_MWhl
Override Method Copy In Class TGet With Cpy_
here - METHOD error
................................................................
atail(a_sp[len(a_sp),2]):=aclone(Str_Arr(dim[st,2,zz], chr(166)))
here - () error |
xHarbour to Harbour | This is the function that Harbour provides:
[code=fw:2ejwfbms]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00C800;">FUNCTION</span> __objModMethod<span style="color: #000000;">(</span> oObject, cSymbol, nFuncPtr <span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">IF</span> ! HB_ISOBJECT<span style="color: #000000;">(</span> oObject <span style="color: #000000;">)</span> .OR. ! HB_ISSTRING<span style="color: #000000;">(</span> cSymbol <span style="color: #000000;">)</span> .OR. ! HB_ISSYMBOL<span style="color: #000000;">(</span> nFuncPtr <span style="color: #000000;">)</span><br /> __errRT_BASE<span style="color: #000000;">(</span> EG_ARG, <span style="color: #000000;">3101</span>, , ProcName<span style="color: #000000;">(</span> <span style="color: #000000;">0</span> <span style="color: #000000;">)</span> <span style="color: #000000;">)</span><br /> ELSEIF __objHasMethod<span style="color: #000000;">(</span> oObject, cSymbol <span style="color: #000000;">)</span><br /> __clsModMsg<span style="color: #000000;">(</span> oObject:<span style="color: #000000;">ClassH</span>, cSymbol, nFuncPtr <span style="color: #000000;">)</span><br /> <span style="color: #00C800;">ENDIF</span><br /><br /> <span style="color: #00C800;">RETURN</span> oObject</div>[/code:2ejwfbms] |
xHarbour to Harbour | Antonio , thank you ! Excuse me, can I have a concrete example of using this function? |
xHarbour to Harbour | __clsModMsg( oXBrowse:ClassH, "MouseWheel", @XBr_MWhl() )
This option works
I use the function [b:11iu8acg]FW_MakeYourBitmap( nTop, nLeft, |hdc, w, h| PaintOverlay(hDC, w, img) })[/b:11iu8acg]. When compiling under HARBOUR, I get the error of the [b:11iu8acg]PaintOverlay()[/b:11iu8acg] function
Hi, Carlos !
#include "xhb.ch"
#include "xhbcls.ch"
Did I understand correctly that by connecting these 2 files I can not reco
mpile the program for Harbour? |
xHarbour to Harbour | Is the function PaintOverlay() a xHarbour function ?
What library do you link to use it ? |
xHarbour to Harbour | FW_MakeYourBitmap( nTop, nLeft, |hdc, w, h| PaintOverlay(hDC, w, h, img) }).
In this case, PaintOverlay() is a static function gluing two images:
static function PaintOvelay(hDC, w, h, img)
..................................................
return NIL |
xHarbour to Harbour | > When compiling under HARBOUR, I get the error of the PaintOverlay() function
What error is it ? |
xHarbour to Harbour | Turbo Incremental Link 6.70 Copyright (c) 1997-2014 Embarcadero Technologies, Inc.
Error: Unresolved external '_HB_FUN_PAINTOVERLAY' referenced from C:\PRGM\GIS\HRB\GS.OBJ
Error: Unable to perform link |
xHarbour to Harbour | Try to remove "static" from here:
static function PaintOvelay(hDC, w, h, img) |
xHarbour to Harbour | Yes, without "static" it compiles without errors!
Do I need to connect #include "xHb" and #include "xHb" ? |
xHarbour to Harbour | If you directly use __clsModMsg() then I guess you don't need the header file <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xHarbour to Harbour | In xHB, I use timers - DEFINE TIMER. Timers don't work in HB.
In xHB, I use POPU PMENU - MENU oMen POUP, Only the left menu column is visible in the HB |
xHarbour to Harbour | Please provide a small prg to test
Thanks |
xHarbour to Harbour | [code=fw:2du88euf]<div class="fw" id="{CB}" style="font-family: monospace;"> oCl:=TActiveX<span style="color: #000000;">(</span><span style="color: #000000;">)</span>:<span style="color: #00C800;">New</span><span style="color: #000000;">(</span>oWnd, <span style="color: #ff0000;">"Shell.Explorer"</span><span style="color: #000000;">)</span><br /><br /> oCl:<span style="color: #000000;">Silent</span>:=.T. <br /><br /> oCl:<span style="color: #00C800;">Do</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Navigate2"</span>, <span style="color: #ff0000;">"file.html"</span><span style="color: #000000;">)</span><br /><br /> <span style="color: #00C800;">do</span> <span style="color: #00C800;">while</span> .T. <br /> oDk:=oCl:<span style="color: #000000;">GetProp</span><span style="color: #000000;">(</span><span style="color: #ff0000;">"Document"</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">if</span> valtype<span style="color: #000000;">(</span>oDk<span style="color: #000000;">)</span>=<span style="color: #ff0000;">"U"</span>.or.oDk:<span style="color: #000000;">ReadyState</span>!=<span style="color: #ff0000;">"complete"</span><br /> WaitMessage<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> SysRefresh<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /> <span style="color: #00C800;">else</span><br /> exit<br /> <span style="color: #00C800;">endif</span><br /> <span style="color: #00C800;">enddo</span><br /> </div>[/code:2du88euf]
In the xHB open Activex and get a type object type document (1111111:Document)
Next, I can find the element I need on this document el:=[b:2du88euf]oDk[/b:2du88euf]:getElementById("id-el") and click on it el:click()
In HB, this does not work. The problem is in the [b:2du88euf]oDk[/b:2du88euf]. [b:2du88euf]oDk[/b:2du88euf]:getElementById does not work
If I try to display [b:2du88euf]oDk[/b:2du88euf] on the screen and get an error
Error description: Error BASE/1081 Argument error: +
Args:
[ 1] = C
[ 2] = U
Stack Calls
===========
Called from: => CHARACTER:__OPPLUS( 0 )
Called from: .\source\function\WQOUT.PRG => (b)WQOUT( 11 )
Called from: => AEVAL( 0 )
Called from: .\source\function\WQOUT.PRG => WQOUT( 11 ) |
xHarbour to Harbour | Please post also the code that you use once you get oDk
thank you |
xHarbour to Harbour | If I understood correctly <!-- s:roll: --><img src="{SMILIES_PATH}/icon_rolleyes.gif" alt=":roll:" title="Rolling Eyes" /><!-- s:roll: -->
I upload an HTML file with scripts for working with the map to the ActiveX object. After receiving the oDk, I can use the DOM to access certain elements of the oDk (document)
For example:
if oDk:DefaultView:itm=123 //itm - is a global variable that is visible both in the program
on FWH and in oDk
el:=oDk:getElenentByID("geo-ecr") // get a document element (button)
el:Click() // imitating a click on this button
endif
I basically moved my program from xharbour to Harbour. But before I start trying webview2, I wanted to check how Harbour works with ActivrX |
xHarbour to Harbour | Dear Yuri,
If you plan to use webview2 then you don't need to manage ActiveX at all |
xHarbour to Harbour | Yes, Antonio, you're right. My goal is to use webview2 instead of ActiveX. That's why I had to transfer my program from xHarbour to Harbour |
xHarbour updated to revision 10187 | [url:13fny29e]http://www.xharbour.org[/url:13fny29e]
EMG |
xHarbour updated to revision 10187 | Many thanks mister Enrico.
Regards, saludos. |
xHarbour vs Harbour | Why this sample:
[code=fw:3sghb04v]<div class="fw" id="{CB}" style="font-family: monospace;"><span style="color: #00D7D7;">#include</span> <span style="color: #ff0000;">"Fivewin.ch"</span><br /><br /><br /><span style="color: #00C800;">FUNCTION</span> MAIN<span style="color: #000000;">(</span><span style="color: #000000;">)</span><br /><br /> ? <span style="color: #ff0000;">"Hello, World!"</span><br /><br /> <span style="color: #00C800;">RETURN</span> <span style="color: #00C800;">NIL</span></div>[/code:3sghb04v]
is 2.566.144 bytes if compiled with xHarbour and 3.016.192 bytes if compiled with Harbour? What is in that size difference?
EMG |
xHarbour vs Harbour | Sorry, I just realized that I already asked this in the past. But I'd really like to know what is in my EXEs... <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
EMG |
xHarbour vs Harbour | Enrico,
Harbour is much more mature, robust and complex than xHarbour.
But to check it for yourself, the easiest way would be to generate the MAP files (when you build the EXE using Harbour and xHarbour) and compare them and you will see what is in Harbour that it is not in xHarbour <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) --> |
xHarbour vs Harbour | Antonio,
[quote="Antonio Linares":iqvkntbn]Harbour is much more mature, robust and complex than xHarbour.[/quote:iqvkntbn]
No, this is not the cause of the difference. The same sample compiled for console (without FWH) shows: 889.856 bytes with xHarbour and 747.008 bytes with Harbour.
I don't understand... <!-- s:?: --><img src="{SMILIES_PATH}/icon_question.gif" alt=":?:" title="Question" /><!-- s:?: -->
EMG |
xHarbour vs Harbour | Enrico,
Have you thought raise your doubt in the list of users Harbour?
<!-- m --><a class="postlink" href="https://groups.google.com/forum/?fromgroups#!forum/harbour-users">https://groups.google.com/forum/?fromgr ... bour-users</a><!-- m -->
Regards |
xHarbour vs Harbour | No, the problem is with Harbour/FWH not with pure Harbour console.
EMG |
xHarbour vs Harbour | Enrico,
have you compared the map files ? <!-- s:-) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":-)" title="Smile" /><!-- s:-) -->
That will explain it... |
xHarbour vs Harbour | Antonio,
how to generate map file with BCC582? I tried -M but I didn't find any map file in the directory.
EMG |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.