Open darachm opened 7 years ago
OK so I know I'm about a year late here, but I just ran into this myself. The problem here is that this version of RapMap (currently the most recent release) bundles an old version of spdlog, which in turn bundles fmt... which is what is actually causing the error here (see this issue for more details.)
The problem has been fixed in fmt and the fix has been included into more recent versions of spdlog. If anyone else runs into this problem, the way I fixed it was to checkout this spdlog commit and then replace the spdlog directory inside the RapMap source include directory with the new checkout version.
Unfortunately, simply updating to the latest version of spdlog doesn't work here, because RapMap relies on some of the older code and will throw other errors if you simply download a recent version of spdlog to update the include dir.
Hi @cljacobs,
The active development has been going on in a different branch, and it seems that "bit rot" caused problems in master (and the 0.5.0 release). I've updated master to be consistent with the latest develop branches, and will tag a 0.6.0 release soon. Could you let me know if the current master works for you without patches?
Thanks! Rob
Hi @rob-p,
The current master appears to be incapable of building right now, because it requires libjellyfish-2.0.a
to be in the external/install/lib
sub-directory, but CMakeLists.txt
no longer includes the rules for building this dependency (see this commit). Specifically, it appears thatsrc/CMakeLists.txt
explicitly requires the library to be in the external sub-directory, so even an system version of Jellyfish won't satisfy this dependency.
After copying over the version of libjellyfish-2.0.a
that was built by this tagged release into the proper sub-directory, building and testing proceeded just fine.
EDIT: Just fixed some typos.
Ahh, thanks for finding this @cljacobs! I'll fix this in master before I tag this release; great catch.
I've got a several-year old installation of Arch, and I'm trying to compile RapMap to benchmark against some other aligners with in silico tests. I'm assessing accuracy and recall as "alignment/mapping overlaps origin of read" and "
bedtools subtract
".Anyways, so to try and compile the 0.5 release of RapMap you linked here, I've got some errors.
gcc -v
isclang -v
iscmake -V
is 3.7.2mkdir build && cd build
of course works finecmake ..
works fine, reports that it couldn't find Cereal or Jellyfish and will fetch and build both.make
reports errors and warnings. It seems to start at stepThere's quite a few warnings, and then it ends with:
Any ideas on how to debug this, and fix it on my end or in the release?