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

Installation issue #7

Open
quentin0515 opened this issue Oct 1, 2020 · 0 comments
Open

Installation issue #7

quentin0515 opened this issue Oct 1, 2020 · 0 comments

Comments

@quentin0515
Copy link

Hi,

I got an error when I tried to install cramore. I tried to update everything I can, didn't fix it. Could you help with it?
Thanks!
Error message:
/topmed/cramore/cramore/filter.cpp: In function 'void filters_set_format_int(filter_t*, bcf1_t*, token_t*)':
/topmed/cramore/cramore/filter.cpp:705:64: error: unable to find string literal operator 'operator""PRId64' with 'const char [59]', 'long unsigned int' arguments
error("Incorrect number of FORMAT fields at %s:%"PRId64" .. %s, %d vs %d\n", bcf_seqname(flt->hdr,line),(int64_t) line->pos+1,tok->tag,line->n_sample,tok->nsamples);
^~~~~~~~~~~~~~~~~~~~
/topmed/cramore/cramore/filter.cpp: In function 'void filters_set_format_float(filter_t*, bcf1_t*, token_t*)':
/topmed/cramore/cramore/filter.cpp:768:64: error: unable to find string literal operator 'operator""PRId64' with 'const char [59]', 'long unsigned int' arguments
error("Incorrect number of FORMAT fields at %s:%"PRId64" .. %s, %d vs %d\n", bcf_seqname(flt->hdr,line),(int64_t) line->pos+1,tok->tag,line->n_sample,tok->nsamples);
^~~~~~~~~~~~~~~~~~~~
/topmed/cramore/cramore/filter.cpp: In function 'void filters_set_format_string(filter_t*, bcf1_t*, token_t*)':
/topmed/cramore/cramore/filter.cpp:831:64: error: unable to find string literal operator 'operator""PRId64' with 'const char [59]', 'long unsigned int' arguments
error("Incorrect number of FORMAT fields at %s:%"PRId64" .. %s, %d vs %d\n", bcf_seqname(flt->hdr,line),(int64_t) line->pos+1,tok->tag,line->n_sample,tok->nsamples);
^~~~~~~~~~~~~~~~~~~~
/topmed/cramore/cramore/filter.cpp: In function 'void _filters_set_genotype(filter_t*, bcf1_t*, token_t*, int)':
/topmed/cramore/cramore/filter.cpp:951:74: error: unable to find string literal operator 'operator""PRId64' with 'const char [44]', 'long unsigned int' arguments
default: error("The GT type is not lineognised: %d at %s:%"PRId64"\n",fmt->type, bcf_seqname(flt->hdr,line),(int64_t) line->pos+1); break;
^~~~
/topmed/cramore/cramore/filter.cpp: In function 'int func_binom(filter_t*, bcf1_t*, token_t*, token_t**, int)':
/topmed/cramore/cramore/filter.cpp:1671:89: error: unable to find string literal operator 'operator""PRId64' with 'const char [43]', 'long unsigned int' arguments
if ( idx1>=line->n_allele ) error("Incorrect allele index at %s:%"PRId64", sample %s\n", bcf_seqname(flt->hdr,line),(int64_t) line->pos+1,flt->hdr->samples[i]);
^~~~~~~~~~~~~~~
/topmed/cramore/cramore/filter.cpp:1672:89: error: unable to find string literal operator 'operator""PRId64' with 'const char [43]', 'long unsigned int' arguments
if ( idx2>=line->n_allele ) error("Incorrect allele index at %s:%"PRId64", sample %s\n", bcf_seqname(flt->hdr,line),(int64_t) line->pos+1,flt->hdr->samples[i]);
^~~~~~~~~~~~~~~
/topmed/cramore/cramore/filter.cpp:1692:95: error: unable to find string literal operator 'operator""PRId64' with 'const char [66]', 'long unsigned int' arguments
error("Expected one value per binom() argument, found %d and %d at %s:%"PRId64"\n",tok->nval1,tok2->nval1, bcf_seqname(flt->hdr,line),(int64_t) line->pos+1);
^~~~
make[2]: *** [CMakeFiles/cramore.dir/build.make:1669: CMakeFiles/cramore.dir/filter.cpp.o] Error 1
make[2]: Leaving directory '/topmed/cramore/cramore/build'
make[1]: *** [CMakeFiles/Makefile2:64: CMakeFiles/cramore.dir/all] Error 2
make[1]: Leaving directory '/topmed/cramore/cramore/build'
make: *** [Makefile:117: all] Error 2

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