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

Example showing how to compile my own program containing SeqLib #22

Closed alifare closed 5 years ago

alifare commented 6 years ago

I am using SeqLib in my own program, because I need to align DNA sequences with BWA-MEM in memory.

Now I am struggling with an endless stream of compiling errors, so can you give me a complete example showing how to compile my program containing SeqLib?

walaj commented 6 years ago

Is the problem with compiling SeqLib or with the program you are linking with?

alifare commented 6 years ago

There's no problem in compiling both SeqLib and my own program respectively. But when I #include "SeqLib/RefGenome.h" and "SeqLib/BWAWrapper.h" , and compile and link the new program, a lot of problems appeared.