Zilong-Li / vcfpp

a C++ API of htslib to be easily integrated and safely used. More importantly, it can be callled seamlessly in R/Python/Julia etc.
https://doi.org/10.1093/bioinformatics/btae049
MIT License
23 stars 3 forks source link

xxx was not declared in this scope, which library did the error come from? #1

Closed KesarChi closed 1 month ago

KesarChi commented 1 month ago

hi author, when i build&run your test code, it raised some errors such as: ‘kputd’ was not declared in this scope; ‘bcf_has_variant_types’ was not declared in this scope. where did the error come from? Is it because i failed to import any library? thx 屏幕截图 2024-09-26 192118

Zilong-Li commented 1 month ago

Hi, can you show your compiling command? Also, do you have https://github.com/samtools/htslib/tree/develop installed system-wide?

Thanks

KesarChi commented 1 month ago

Thx!i think it's due to lib env conflict, now it works😀