icebert / pblat

parallelized blat with multi-threads support
http://icebert.github.io/pblat/
Other
49 stars 13 forks source link

should update htslib version #16

Open starskyzheng opened 3 years ago

starskyzheng commented 3 years ago

the old version (1.3) give me a error when build it: hts.c:92:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:125:31: error: expected declaration specifiers or ‘...’ before ‘hFILE’ static size_t decompress_peek(hFILE *fp, unsigned char *dest, size_t destsize) ^~~~~ hts.c:158:1: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘{’ token { ^ hts.c:179:23: error: expected declaration specifiers or ‘...’ before ‘hFILE’ int hts_detect_format(hFILE *hfile, htsFormat *fmt)

Fixed after upgrade to version 1.11, but need to add -lbz2 -llzma -lcurl -lpthread to Makefile CFLAGS