kpu / preprocess

Corpus preprocessing
Other
95 stars 21 forks source link

Undefined reference to boost unit_test while using make #14

Open abdullahkhilji opened 4 years ago

abdullahkhilji commented 4 years ago
tokenize_piece_test.cc:(.text.startup+0xb): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
kpu commented 4 years ago

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/