You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The PRId64 in bam_plcmd.c was introduced recently in samtools develop, and happens to work against HTSlib develop because on develophtslib/faidx.h includes <inttypes.h> (really it should just include <stdint.h>).
So bam_plcmd.c does need to get that #include <inttypes.h> itself; but once you've fixed that you'll get lots more errors as develop samtools uses new API functions that aren't in HTSlib 1.9. So (at the moment) you'll need to compile develop samtools against develop HTSlib too anyway.
Activity
daviesrob commentedon Jul 24, 2019
It looks like it's missing a definition for
PRId64. Could you try adding:To
bam_plcmd.c? You should put it with the other#includelines, for example after#include <getopt.h>.jmarshall commentedon Jul 24, 2019
The
PRId64in bam_plcmd.c was introduced recently in samtools develop, and happens to work against HTSlib develop because on develop htslib/faidx.h includes<inttypes.h>(really it should just include<stdint.h>).So bam_plcmd.c does need to get that
#include <inttypes.h>itself; but once you've fixed that you'll get lots more errors as develop samtools uses new API functions that aren't in HTSlib 1.9. So (at the moment) you'll need to compile develop samtools against develop HTSlib too anyway.daviesrob commentedon Jul 24, 2019
Ah, thanks. I was wondering how it was managing to work.