jmcnamara / libxlsxwriter

A C library for creating Excel XLSX files.
https://libxlsxwriter.github.io
Other
1.49k stars 332 forks source link

Releasing windows binaries #331

Closed mantielero closed 3 years ago

mantielero commented 3 years ago

It would be helpful having a .zip with all the binaries that are needed in Windows.

Amazing library by the way.

taozuhong commented 3 years ago
mingw32/mingw-w64-i686-libxlsxwriter 1.0.0-1
    A C library for creating Excel XLSX files (mingw-w64)
mingw64/mingw-w64-x86_64-libxlsxwriter 1.0.0-1
    A C library for creating Excel XLSX files (mingw-w64)
ucrt64/mingw-w64-ucrt-x86_64-libxlsxwriter 1.0.0-1
    A C library for creating Excel XLSX files (mingw-w64)
clang64/mingw-w64-clang-x86_64-libxlsxwriter 1.0.0-1
    A C library for creating Excel XLSX files (mingw-w64)
mantielero commented 3 years ago

I am not that familiar with mingw, but I managed to install msys2 and mingw-w64-x86_64-libxlsxwriter. So I got: libxlsxwriter.dll.

Outside of mingw, I am creating a binary. When I run it I get:

λ myfile.exe
could not load: libxlsxwriter.dll
(bad format; library may be wrong architecture)

But I think I am in the right architecture. In msys2:

$ file myfile.exe
sar.exe: PE32 executable (console) Intel 80386, for MS Windows
$ file libxlsxwriter.dll
libxlsxwriter.dll: PE32 executable (DLL) (console) Intel 80386 (stripped to external PDB), for MS Windows
jmcnamara commented 3 years ago

It would be helpful having a .zip with all the binaries that are needed in Windows.

That is a good suggestion but I don't want to get involved with compiling and distributing DLLs.

Maybe one of the Windows dev experts on here could create a repo for them and update them for each release.

But it is a pass from me. Closing.

RaFaeL-NN commented 3 years ago

I compile Windows binaries every 5-10 releases. You can download it here: https://sourceforge.net/projects/libxlsxwriter/