Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

should update htslib version #16

Open
starskyzheng opened this issue Nov 25, 2020 · 0 comments
Open

should update htslib version #16

starskyzheng opened this issue Nov 25, 2020 · 0 comments

Comments

@starskyzheng
Copy link

starskyzheng commented Nov 25, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant