Undefined reference to boost unit_test while using make
Opened this issue · 1 comments
abdullahkhilji commented
tokenize_piece_test.cc:(.text.startup+0xb): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
kpu commented
Boost is notoriously difficult to link with. But the good news is this is only tests, so the code should still work for you.
I'm not sure how you're installing Boost, but here is an admittedly outdated guide:
https://neural.mt/code/kenlm/dependencies/