FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xhb 1.31 xcc
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
xhb 1.31 xcc
Posted: 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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 01:18 PM

Dear Jair,

Could you please explain why you need to use xcc ? thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 06:14 PM
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.
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 06:40 PM

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ó

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 08:03 PM

Voy a consultarle a Enrico si se puede construir xHarbour con xcc

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 08:36 PM

I can try but no promises. Where can I download xcc from?

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xhb 1.31 xcc
Posted: Wed Feb 12, 2025 09:08 PM

Dear Enrico,

It is included in the xHarbour commercial demo

I am emailing it to you

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 11:19 AM
jair wrote: 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 11:26 AM
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Posts: 74
Joined: Sun Aug 27, 2017 07:18 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 01:09 PM
http://www.xharbour.org/files/download/windows/xhb10272_xcc.zip

Good morning!
I am using the
compilation that
there is this link here
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 01:21 PM
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:
         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.
Posts: 8515
Joined: Tue Dec 20, 2005 07:36 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 04:28 PM
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xhb 1.31 xcc
Posted: Thu Feb 13, 2025 06:43 PM

I don't understand your suggestion. We are trying to build xHarbour with XCC, xHarbour Builder is not related with our problem.

Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: xhb 1.31 xcc
Posted: Fri Feb 14, 2025 09:45 AM
I just tried to remove png.lib from the compilation and now I get this unresolved external:
xLINK: error: Unresolved external symbol '_xCCGetLargestConsoleWindowSize referenced from gtwin.lib(gtwin.obj)'.
Definitely something's wrong... :-(