ruanjue / wtdbg2

Redbean: A fuzzy Bruijn graph approach to long noisy reads assembly
GNU General Public License v3.0
513 stars 94 forks source link

compiled error #153

Closed baizixiansheng closed 5 years ago

baizixiansheng commented 5 years ago

Good evening, jue I had downloaded it with command git clone https://github.com/ruanjue/wtdbg2, but when I make, there is the error: gcc -g3 -W -Wall -Wno-unused-but-set-variable -O4 -DVERSION="2.5" -DRELEASE="20190621" -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -mpopcnt -msse4.2 -o kbm2 kbm.c ksw.c -lm -lrt -lpthread -lz In file included from filereader.h:34:0, from kbm.h:26, from kbm.c:20: pgzf.h:23:10: fatal error: zlib.h: No such file or directory #include <zlib.h> ^~~~~~~~ compilation terminated. Makefile:25: recipe for target 'kbm2' failed make: *** [kbm2] Error 1 I've seen the related mistakes before on the github, but I couldn't solve it. Em......Could you tell me how to solve it?

baizixiansheng commented 5 years ago

Oh!I've solved it. Thank you.