walaj / SeqLib

C++ htslib/bwa-mem/fermi interface for interrogating sequence data
http://bioinformatics.oxfordjournals.org/content/early/2016/12/21/bioinformatics.btw741.full.pdf+html
Other
132 stars 36 forks source link

Error when compiling #1

Closed SHuang-Broad closed 8 years ago

SHuang-Broad commented 8 years ago

Hi Jeremiah,

I was compiling SnowTools on my machine and was hit by the following error:

MiniRules.cpp:535:8: error: use of undeclared identifier 'atm'
MiniRules.cpp:540:12: error: expected unqualified-id

I checked and found that possibly the cause is lack of #ifndef APPLE #endif pair around the lines.

Steve

walaj commented 8 years ago

Hi Steve, I haven't tested compiling on a Mac for a while. The Aho-Corasick library doesn't compile on osx, which is why I have the pre-processor ifelse. This should work on the Broad Unix system though, just make sure to configure with the --with-boost option with a path to installed boost libraries. I'm trying again on osx though and will let you know.

walaj commented 8 years ago

Just made your suggested change and tested it on Mac, and it works great. I updated the README with better installation instructions too.

SHuang-Broad commented 8 years ago

Great! Thanks for the pointer to boost.