You should install the development support files for zlib, try:

sudo apt-get install libz-dev

Other package names: zlib1g-dev.

If you've already zlib library, make sure you're compiling your code sources with -lz. See: missing zlib.h in ubuntu.

Answer from kenorb on Stack Overflow
🌐
Nim Forum
forum.nim-lang.org › t › 8861
zlib.h: No such file or directory error on Windows - Nim forum
Essentially you need to install zlib and then use passC/passL with the correct path to zlib so that Nim can find zlib.h. ... It seems that zip/zipfiles is just a wrapper of a C library, so you must have the .h and the .dll file installed to use it. You may use a pure library instead. Such as zippy.
Discussions

C1083: Cannot open include file: 'zlib.h': No such file or directory
Hello, I have a problem: when I compile the program I was given, there is an error: 10:20:45: The "C:\bin\Qt\Tools\QtCreator\bin\jom.exe" process ended with... More on forum.qt.io
🌐 forum.qt.io
8
0
September 30, 2020
zlib.h: No such file or directory
You switched accounts on another tab or window. Reload to refresh your session. ... I got a error when I have runned make,below this error. gcc -g -Wall -D VERBOSE -O2 -D PRINT_COVERAGE -c -o paf.o paf.c paf.c:1:10: fatal error: zlib.h: No such file or directory #include ^~~~~~~~ ... More on github.com
🌐 github.com
3
December 12, 2020
./bitmap/../base/zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory
Robotgo version (or commit ref): latest Go version: go version go1.9.2 windows/amd64 Gcc version: gcc (tdm64-1) 5.1.0 Operating system and bit: Win10_x64 go get github.com/go-vgo/robotgo github.com... More on github.com
🌐 github.com
14
November 9, 2019
go - robotgo for windows 10 - fatal error: zlib.h: No such file or directory - Stack Overflow
If I want to run any code with robotgo under windows 10 I get following error: # github.com/go-vgo/robotgo In file included from ./bitmap/../base/str_io_c.h:2:0, from ./bitmap/goB... More on stackoverflow.com
🌐 stackoverflow.com
🌐
GitHub
github.com › tidyverse › haven › issues › 656
Installation error using install.packages("tidyverse"): "fatal error: zlib.h: No such file or directory" · Issue #656 · tidyverse/haven
January 18, 2022 - gcc -std=gnu99 -std=gnu11 -I"/usr/share/R/include" -DNDEBUG -I'/home/pradeep/R/x86_64-pc-linux-gnu-library/4.1/cpp11/include' -Ireadstat -DHAVE_ZLIB -fpic -g -O2 -fdebug-prefix-map=/build/r-base-i2PIHO/r-base-4.1.2=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -g -c readstat/spss/readstat_zsav_compress.c -o readstat/spss/readstat_zsav_compress.o readstat/spss/readstat_zsav_compress.c:2:10: fatal error: zlib.h: No such file or directory 2 | #include <zlib.h> | ^~~~~~~~ compilation terminated.
Author   tidyverse
🌐
GitHub
github.com › r-hub › rhub › issues › 62
windows-x86_64-oldrel: fatal error: zlib.h: No such file or directory · Issue #62 · r-hub/rhub
This error has caused me to be interested in: ... This appears to be because it can not find zlib, which my package uses to read gzipped files. The release and devel versions: rhub::check( platform = "windows-x86_64-release" ) rhub::check( platform ...
Author   r-hub
🌐
Ask Ubuntu
askubuntu.com › questions › 1124866 › ubuntu-bionic-18-04-fatal-error-zlib-h-no-such-file-or-directory-include
compiling - Ubuntu Bionic 18.04 -- fatal error: zlib.h: No such file or directory #include <zlib.h> - Ask Ubuntu
March 11, 2019 - I have set up a Ubuntu 18.04 subsystem on my Windows 10 PC for bioinformatics applications. During multiple application installations, I have received the following error after running ./configure & make: bgzf.h:33:10: fatal error: zlib.h: No such file or directory #include <zlib.h>
🌐
GitHub
github.com › dfguan › asset › issues › 5
zlib.h: No such file or directory · Issue #5 · dfguan/asset
December 12, 2020 - You switched accounts on another tab or window. Reload to refresh your session. ... I got a error when I have runned make,below this error. gcc -g -Wall -D VERBOSE -O2 -D PRINT_COVERAGE -c -o paf.o paf.c paf.c:1:10: fatal error: zlib.h: No such file or directory #include <zlib.h> ^~~~~~~~ compilation terminated.
Author   dfguan
🌐
GitHub
github.com › go-vgo › robotgo › issues › 100
./bitmap/../base/zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory · Issue #100 · go-vgo/robotgo
November 9, 2019 - You switched accounts on another tab or window. Reload to refresh your session. ... go get github.com/go-vgo/robotgo github.com/go-vgo/robotgo In file included from ./bitmap/../base/str_io_c.h:2:0, from ./bitmap/goBitmap.h:27, from ......\go\src\github.com\go-vgo\robotgo\robotgo.go:45: ./bitmap/../base/zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory compilation terminated.
Author   go-vgo
Find elsewhere
🌐
SEQanswers
seqanswers.com › home › forum › bioinformatics › bioinformatics
BWA - Zlib.h missing error in windows 10 - SEQanswers
When i try to run the "make" command it gives me the following error: gcc -c -g -Wall -O2 -DHAVE_PTHREAD utils.c -o utils.o utils.c:28:18: fatal error: zlib.h: No such file or directory #include <zlib.h> ^ compilation terminated. Makefile:19: recipe for target 'utils.o' failed make: *** [utils.o] Error 1 Am I missing something?
🌐
GitHub
github.com › go-vgo › robotgo › issues › 240
zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory · Issue #240 · go-vgo/robotgo
November 9, 2019 - Operating system and bit: Windows 10 · Resolution: Can you reproduce the bug · [x ] Yes (provide example code) No · Not relevant · Every time I want to try robotgo I get the following error: In file included from ./bitmap/../base/str_io_c.h:2:0, from ./bitmap/goBitmap.h:17, from ..\go\src\github.com\go-vgo\robotgo\robotgo.go:45: ./bitmap/../base/zlib_util_c.h:2:18: fatal error: zlib.h: No such file or directory compilation terminated.
Author   go-vgo
🌐
Google Groups
groups.google.com › g › snipersim › c › wkmEDJOefDQ
zlib.h not found
zfstream.h:4:18: fatal error: zlib.h: No such file or directory · compilation terminated. make[1]: *** [sift_reader.o] Error 1 make: *** [/home/sparsh/FolderName/sift/libsift.a] Error 2 make: *** Waiting for unfinished jobs.... make[1]: *** No rule to make target `/home/sparsh/FolderName/standalone/../sift/libsift.a', needed by `/home/sparsh/FolderName/standalone/../lib/sniper'.
🌐
GitHub
github.com › grenaud › leeHom › issues › 8
fatal error: zlib.h: No such file or directory · Issue #8 · grenaud/leeHom
September 18, 2018 - You switched accounts on another tab or window. Reload to refresh your session. ... I am having some problems installing leeHom. When I run the Makefile I get the following error: /home/georgia/bin/leeHom-master/bamtools/src/api/internal/io/BgzfStream_p.cpp:20:10: fatal error: zlib.h: No such file or directory #include <zlib.h> ^~~~~~~~ compilation terminated.
Author   grenaud
🌐
GitHub
github.com › go-vgo › robotgo › issues › 525
fatal error: zlib.h: No such file or directory · Issue #525 · go-vgo/robotgo
August 6, 2022 - You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert · {{ message }} go-vgo / robotgo Public · Notifications · You must be signed in to change notification settings · Fork 944 · Star 10.6k · New issueCopy link · New issueCopy link · Closed · Closed · fatal error: zlib.h: No such file or directory#525 ·
Author   go-vgo
🌐
GitHub
github.com › smihica › pyminizip › issues › 3
cannot compile/install on windows · Issue #3 · smihica/pyminizip
April 9, 2014 - Installing collected packages: ...ckaging2473906546786097704.tmp\pyminizip\src\zip.h(43) : fatal error C1083: Cannot open include file: 'zlib.h': No such file or directory error: command '"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\BIN\cl.exe"' failed with exit status ...
Author   smihica
🌐
GitHub
github.com › samtools › htslib › issues › 48
Cannot build HTSlib due to missing zlib.h · Issue #48 · samtools/htslib
December 18, 2013 - Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. ... When I install HTSlib, using make, it says "bgzf.h:33:18: fatal error: zlib.h: no such file or directory, and cause compile interruption.In this case, what should I do?
Author   samtools
🌐
GitHub
github.com › freeorion › freeorion › issues › 373
Compilation failure: zlib/zlib.h: No such file or directory · Issue #373 · freeorion/freeorion
October 9, 2015 - You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert · {{ message }} freeorion / freeorion Public · Notifications · You must be signed in to change notification settings · Fork 165 · Star 916 · New issueCopy link · New issueCopy link · Closed · Closed · Compilation failure: zlib/zlib.h: No such file or directory#373 ·
Author   freeorion