xhb 1.31 xcc

jair
Posts: 65
Joined: Sun Aug 27, 2017 7:18 pm

xhb 1.31 xcc

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: xhb 1.31 xcc

Post by Antonio Linares »

Dear Jair,

Could you please explain why you need to use xcc ? thanks
regards, saludos

Antonio Linares
www.fivetechsoft.com
jair
Posts: 65
Joined: Sun Aug 27, 2017 7:18 pm

Re: xhb 1.31 xcc

Post by jair »

Con bordes:
Image
Sin fronteras:
Image

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.
jair
Posts: 65
Joined: Sun Aug 27, 2017 7:18 pm

Re: xhb 1.31 xcc

Post 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ó
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: xhb 1.31 xcc

Post by Antonio Linares »

Voy a consultarle a Enrico si se puede construir xHarbour con xcc
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xhb 1.31 xcc

Post by Enrico Maria Giordano »

I can try but no promises. Where can I download xcc from?
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: xhb 1.31 xcc

Post by Antonio Linares »

Dear Enrico,

It is included in the xHarbour commercial demo

I am emailing it to you
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xhb 1.31 xcc

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 42548
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 78 times
Contact:

Re: xhb 1.31 xcc

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
jair
Posts: 65
Joined: Sun Aug 27, 2017 7:18 pm

Re: xhb 1.31 xcc

Post by jair »

http://www.xharbour.org/files/download/ ... 72_xcc.zip

Good morning!
I am using the
compilation that
there is this link here
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xhb 1.31 xcc

Post 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.
User avatar
karinha
Posts: 7941
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Been thanked: 3 times
Contact:

Re: xhb 1.31 xcc

Post by karinha »

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xhb 1.31 xcc

Post 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.
User avatar
Enrico Maria Giordano
Posts: 8756
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Has thanked: 1 time
Been thanked: 4 times
Contact:

Re: xhb 1.31 xcc

Post 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... :-(
Post Reply