Skip to content

Installation issue #7

Description

@quentin0515

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions