Xlsxlibhb_ver2

Xlsxlibhb_ver2

Postby arturo tamayo » Tue Oct 03, 2023 7:58 pm

Estimados,

Aqui les dejo las fuentes de nuestra contribución para harbour y xharbour de las funciones completas de john McNamara para la libxlsxwriter,

que lo disfruten

Para Bajar la librería completa de https://www.mediafire.com/file/8bn1bbcx ... 2.zip/file

Saludos
Arturo Tamayo Daza
arturo tamayo
 
Posts: 36
Joined: Fri Jan 02, 2009 3:12 pm

Re: Xlsxlibhb_ver2

Postby Antonio Linares » Wed Oct 04, 2023 4:18 am

regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Xlsxlibhb_ver2

Postby nageswaragunupudi » Mon Oct 09, 2023 1:40 am

Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10643
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Xlsxlibhb_ver2

Postby audisys » Tue Oct 10, 2023 4:18 pm

Hola buenos dias,

He intentado compilar la librería con Mingw , pero me arroja este error

stdint.h:88:32: error: missing binary operator before token "4294967295"

Code: Select all  Expand view  RUN

#define UINT8_MAX ((uint8_t) 255)
#define UINT16_MAX ((uint16_t) 65535)
#define UINT32_MAX ((uint32_t) 4294967295 <= Se queja de esta línea
#define UINT64_MAX ((uint64_t) 18446744073709551615)
 

Que podrá ser ?

Saludos,
José David Angulo
Auditoria y Sitemas Ltda.
Cartagena Colombia
audisys
 
Posts: 49
Joined: Wed Apr 18, 2007 6:01 pm
Location: Cartagena - Colombia

Re: Xlsxlibhb_ver2

Postby arturo tamayo » Tue Oct 10, 2023 8:29 pm

esas variables ya están definidos en mingw
y están como hexadecimal

#define INT8_MIN (-128)
#define INT16_MIN (-32768)
#define INT32_MIN (-2147483647 - 1)
#define INT64_MIN (-9223372036854775807LL - 1)

#define INT8_MAX 127
#define INT16_MAX 32767
#define INT32_MAX 2147483647
#define INT64_MAX 9223372036854775807LL

#define UINT8_MAX 0xffU /* 255U */
#define UINT16_MAX 0xffffU /* 65535U */
#define UINT32_MAX 0xffffffffUL /* 4294967295U */
#define UINT64_MAX 0xffffffffffffffffULL /* 18446744073709551615ULL */

en el archivo stdint.h

saludos

Arturo
arturo tamayo
 
Posts: 36
Joined: Fri Jan 02, 2009 3:12 pm

Re: Xlsxlibhb_ver2

Postby audisys » Tue Oct 10, 2023 9:07 pm

Arturo,

Muchas Gracias,
paso la compilación, pero con muchos Warning.


Code: Select all  Expand view  RUN

Compilando hblibxlsxwriter.prg...
Compilando app.c...
Compilando chart.c...
Compilando chartsheet.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando comment.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando content_types.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando core.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando custom.c...
Compilando drawing.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando format.c...
Compilando hash_table.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando table.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando metadata.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando packager.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando relationships.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando shared_strings.c...
Compilando styles.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando theme.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando utility.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando vml.c...
Compilando workbook.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando worksheet.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando XlxsFunc.c...
Compilando xmlwriter.c...
Compilando md5.c...
Compilando ioapi.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
Compilando iowin32.c...
Compilando miniunz.c...
Compilando minizip.c...
Compilando mztools.c...
Compilando unzip.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:76:13: warning: unused parameter 'tmzip' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:235:40: warning: unknown conversion type character 'l' in format [-Wformat=]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:235:24: warning: too many arguments for format [-Wformat-extra-args]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:235:40: warning: unknown conversion type character 'l' in format [-Wformat=]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:235:24: warning: too many arguments for format [-Wformat-extra-args]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:92:17: warning: unused variable 'mode_fopen' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:90:49: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:121:17: warning: unused variable 'mode_fopen' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:119:50: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:232:9: warning: unused variable 'n' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:145:17: warning: unused variable 'mode_fopen' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:143:50: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:165:17: warning: unused variable 'mode_fopen' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\miniunz.c:86:12: warning: unused parameter 'tmu_date' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\miniunz.c:327:11: warning: unused variable 'ratio' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\miniunz.c:484:11: warning: unused variable 'fout' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\miniunz.c:518:9: warning: unused variable 'err' [-Wunused-variable]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:163:47: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:192:46: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:214:47: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:255:45: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:278:51: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:303:45: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\minizip.c:495:20: warning: 'fin' may be used uninitialized in this function [-Wmaybe-uninitialized]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:341:47: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:380:45: warning: unused parameter 'opaque' [-Wunused-parameter]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\iowin32.c:398:45: warning: unused parameter 'opaque' [-Wunused-parameter]
Compilando zip.c...
C:\Desarrollos\Repositorios\LibXls_compilada\Source/stdint.h:172:0: warning: "SIZE_MAX" redefined
C:/Hb32/comp/mingw/i686-w64-mingw32/include/limits.h:78:0: note: this is the location of the previous definition
C:\Desarrollos\Repositorios\LibXls_compilada\Source\XlxsFunc.c:558:62: warning: pointer targets in passing argument 2 of 'worksheet_set_background_buffer' differ in signedness [-Wpointer-sign]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\xlsxwriter/worksheet.h:3845:11: note: expected 'const unsigned char *' but argument is of type 'const char *'
C:\Desarrollos\Repositorios\LibXls_compilada\Source\XlxsFunc.c:2119:21: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
C:\Desarrollos\Repositorios\LibXls_compilada\Source\XlxsFunc.c:39:14: warning: 'bufeo' defined but not used [-Wunused-variable]
Construyendo librería libXlsxLibHb.a...
32 Files, 77 Warnings, 0 Errors
Tiempo de compilación: 4.00s   Tiempo de enlazado: 0.09s   Tiempo total: 4.11s
 
José David Angulo
Auditoria y Sitemas Ltda.
Cartagena Colombia
audisys
 
Posts: 49
Joined: Wed Apr 18, 2007 6:01 pm
Location: Cartagena - Colombia

Re: Xlsxlibhb_ver2

Postby Antonio Linares » Wed Oct 11, 2023 10:16 am

Estimado José,

Renombra el fichero stdint.h como stdint_.h y vuelve a construir la librería.

El fichero stdint.h incluido en los fuentes es de Borland y de ahí los conflictos con otros compiladores de C
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42103
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Xlsxlibhb_ver2

Postby audisys » Wed Oct 11, 2023 4:53 pm

Todo Perfecto,

Mil Gracias
José David Angulo
Auditoria y Sitemas Ltda.
Cartagena Colombia
audisys
 
Posts: 49
Joined: Wed Apr 18, 2007 6:01 pm
Location: Cartagena - Colombia


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 44 guests