[GH-ISSUE #299] Following the tutorial in getting started, don't flow. #238

Closed
opened 2026-05-05 12:00:56 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @pliniopvv on GitHub (Jul 26, 2020).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/299

Originally assigned to: @jmcnamara on GitHub.

Trying install the zlib for lua, I Try instal this lib for C to see if to do. I managed to install the ZLIB but not the xlsxwriter lib.
Where I need to include the zlib.h dependencies? The Getting Started don't answer me.

GanGss@DESKTOP-7IN7G8A ~ $ cd zlib-1.2.11/ && example.exe && cd .. zlib version 1.2.11 = 0x12b0, compile flags = 0x55
uncompress(): hello, hello!
gzread(): hello, hello!
gzgets() after gzseek: hello!
inflate(): hello, hello!
large_inflate(): OK
after inflateSync(): hello, hello!
inflate with dictionary: hello, hello!
GanGss@DESKTOP-7IN7G8A ~ $ cd libxlsxwriter/ && make make[1]: Entering directory /home/GanGss/libxlsxwriter/third_party/minizip' In file included from ioapi.c:29: ioapi.h:46:10: fatal error: zlib.h: No such file or directory 46 | #include "zlib.h" | ^~~~~~~~ compilation terminated. make[1]: *** [ioapi.o] Error 1 make[1]: Leaving directory /home/GanGss/libxlsxwriter/third_party/minizip' make: *** [all] Error 2 GanGss@DESKTOP-7IN7G8A ~/libxlsxwriter $

Originally created by @pliniopvv on GitHub (Jul 26, 2020). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/299 Originally assigned to: @jmcnamara on GitHub. Trying install the zlib for lua, I Try instal this lib for C to see if to do. I managed to install the ZLIB but not the xlsxwriter lib. Where I need to include the zlib.h dependencies? The Getting Started don't answer me. > GanGss@DESKTOP-7IN7G8A ~ $ cd zlib-1.2.11/ && example.exe && cd .. zlib version 1.2.11 = 0x12b0, compile flags = 0x55 > uncompress(): hello, hello! > gzread(): hello, hello! > gzgets() after gzseek: hello! > inflate(): hello, hello! > large_inflate(): OK > after inflateSync(): hello, hello! > inflate with dictionary: hello, hello! > GanGss@DESKTOP-7IN7G8A ~ $ cd libxlsxwriter/ && make make[1]: Entering directory `/home/GanGss/libxlsxwriter/third_party/minizip' In file included from ioapi.c:29: > ioapi.h:46:10: fatal error: zlib.h: No such file or directory > 46 | #include "zlib.h" > | ^~~~~~~~ > compilation terminated. > make[1]: *** [ioapi.o] Error 1 make[1]: Leaving directory `/home/GanGss/libxlsxwriter/third_party/minizip' make: *** [all] Error 2 GanGss@DESKTOP-7IN7G8A ~/libxlsxwriter $
Author
Owner

@jmcnamara commented on GitHub (Jul 30, 2020):

Sorry, I can't answer general questions like this. Maybe try StackOverflow. I looks like zlib ins't installed since the compiler can't find it on any of the expected paths. Check to make sure you installed zlib.

<!-- gh-comment-id:666303956 --> @jmcnamara commented on GitHub (Jul 30, 2020): Sorry, I can't answer general questions like this. Maybe try StackOverflow. I looks like zlib ins't installed since the compiler can't find it on any of the expected paths. Check to make sure you installed zlib.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#238
No description provided.