Page 1 of 2
xhb 1.31 xcc
Posted: Wed Feb 12, 2025 11:50 am
by jair
Good morning!
I really need xharbour latest version compiled with xcc is there anyone here who can compile this xcc version of xharbour 1.31
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 1:18 pm
by Antonio Linares
Dear Jair,
Could you please explain why you need to use xcc ? thanks
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 6:14 pm
by jair
Con bordes:

Sin fronteras:
Tengo un sistema compilado con xharbour comercial xcc 1.22 y sqlrdd. Intenté compilar con el xharbour simple bcc77, pero me generó una cantidad muy grande de errores, imposibilitando el cambio de xhb 1.22 a xharbour, sin contar que aún usan tvget y otros componentes de terceros. Compilé con xharbour 1.30 con él, pero tiene SAY y GET que, en varias pantallas, necesitan ser transparentes y presentar bordes, generando un problema de que, si no pongo los bordes, la información se ve muy borrosa, y si pongo los bordes a presentar, se dañan los bordes, ya que las pantallas de estos sistemas son genéricas.
e geradas apartir de dicionarios de dados ou seja as definicoes podem ser feitas pelo usuario inclusive ai gerar um problema que os get sobrepoem a area reservada para os campos SAY ja tentei resolver de varias maneiras mais nao deu certo o ideal seria que funcionasse bcc77 e xharbour simples mais nao funcioa de o caminho mais pratico em vista a grande numero de alteracoes necessarias para funcionar com bcc77 seria funcioanr na versao xcc mesmo que ai sim teria o minumo possivel o quase nenhuma alteração.
y generados a partir de diccionarios de datos, es decir, las definiciones las puede hacer el usuario, incluso generando un problema donde el get se superpone al área reservada para los campos SAY. He intentado solucionarlo de varias formas pero no ha funcionado. Lo ideal sería que funcionara en bcc77 y xharbour simple, pero no funciona. Lo más práctico, en vista de la gran cantidad de cambios necesarios para trabajar con bcc77, sería trabajar en la versión xcc, aunque entonces habría los mínimos cambios posibles o casi ninguno.
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 6:40 pm
by jair
En la versión actual de xcc 1.30, las opciones de transparencia no funcionan.
Ya en la versión 1.31 nuestro gran amigo Enrico cambió
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 8:03 pm
by Antonio Linares
Voy a consultarle a Enrico si se puede construir xHarbour con xcc
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 8:36 pm
by Enrico Maria Giordano
I can try but no promises. Where can I download xcc from?
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 9:08 pm
by Antonio Linares
Dear Enrico,
It is included in the xHarbour commercial demo
I am emailing it to you
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 11:19 am
by Enrico Maria Giordano
jair wrote: Wed Feb 12, 2025 11:50 am
Good morning!
I really need xharbour latest version compiled with xcc is there anyone here who can compile this xcc version of xharbour 1.31
Do you have a working version of XCC? The one I tried is too old:
Pelles ISO C Compiler, Version 3.00.0 (Beta)
Copyright (c) Pelle Orinius 1999-2005
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 11:26 am
by Antonio Linares
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 12:04 pm
by Enrico Maria Giordano
That is not XCC.
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 1:09 pm
by jair
http://www.xharbour.org/files/download/ ... 72_xcc.zip
Good morning!
I am using the
compilation that
there is this link here
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 1:21 pm
by Enrico Maria Giordano
Thank you. I get these:
XCC -D__WIN32__ -D_HAVE_SQLITE_CONFIG_H -DHAVE_CONFIG_H -DHARBOUR_CONF -DOPENSSL_NO_DEPRECATED -DHB_NO_DV_MEMCPY -DHB_NO_BACKGROUND -DHB_GUI -D__XCC__ -DNEED_DUMMY_RETURN -DNULL=0 -DMINILZO_HAVE_CONFIG_H -W2 -I"source\rtl\zlib" -I"contrib\pdflite\include" -I"contrib\png" -I"contrib\tiff" -I"contrib\jpeg" -I"include" -I"e:\fw\xcc\include" -I"obj\xc" -I"contrib\sixapi\include" -I"contrib\freeimage\include" -I"contrib\gd\include" -I"contrib\xwt\include" -I"contrib\xwt\src\xwt_win" -I"e:\fw\xcc\include\win" -Ze -Zx -Tx86-coff -W2 -Foobj\xc\pngrutil.obj contrib\png\pngrutil.c
contrib\png\pngrutil.c(1100): warning #2118: Parameter 'info_ptr' is not referenced.
contrib\png\pngrutil.c(3349): fatal error: Internal error: put_tokens.
This is line 3349:
Code: Select all | Expand
static PNG_CONST png_uint_32 row_mask[2/*PACKSWAP*/][3/*depth*/][6] =
{
/* Little-endian byte masks for PACKSWAP */
{ S_MASKS(1,0), S_MASKS(2,0), S_MASKS(4,0) }, <--- LINE 3349
/* Normal (big-endian byte) masks - PNG format */
{ S_MASKS(1,1), S_MASKS(2,1), S_MASKS(4,1) }
};
I don't understand the problem. The function put_token is inside the compiler XCC itself.
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 4:28 pm
by karinha
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 6:43 pm
by Enrico Maria Giordano
I don't understand your suggestion. We are trying to build xHarbour with XCC, xHarbour Builder is not related with our problem.
Re: xhb 1.31 xcc
Posted: Fri Feb 14, 2025 9:45 am
by Enrico Maria Giordano
I just tried to remove png.lib from the compilation and now I get this unresolved external:
Code: Select all | Expand
xLINK: error: Unresolved external symbol '_xCCGetLargestConsoleWindowSize referenced from gtwin.lib(gtwin.obj)'.
Definitely something's wrong...
