bingmann / cobs

COBS - Compact Bit-Sliced Signature Index (for Genomic k-Mer Data or q-Grams)
https://panthema.net/cobs
MIT License
83 stars 15 forks source link

Failing to build COBS during make #8

Closed dpellow closed 4 years ago

dpellow commented 4 years ago

EDIT - got it to work Hi I am using CMake 3.14 and gcc 7.2 but run into errors about half way through the build when running make. Here is the first error that appears:

In file included from /path/cobs/cobs/kmer_buffer.hpp:14:0,
                 from /path/cobs/cobs/cortex_file.hpp:16,
                 from /path/cobs/cobs/document_list.hpp:12,
                 from /path/cobs/cobs/construction/classic_index.hpp:13,
                 from /pathcobs/cobs/construction/classic_index.cpp:14:
/pathcobs/cobs/kmer.hpp: In constructor 'cobs::KMer<N>::KMer()':
/path/cobs/cobs/kmer.hpp:47:55: error: expected ',' before ')' token
         static_assert(sizeof(KMer<N>) == KMer<N>::size);
                                                       ^

Any ideas what is causing this?