Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined reference to boost unit_test while using make #14

Open
abdullahkhilji opened this issue Jun 16, 2020 · 1 comment
Open

Undefined reference to boost unit_test while using make #14

abdullahkhilji opened this issue Jun 16, 2020 · 1 comment

Comments

@abdullahkhilji
Copy link

tokenize_piece_test.cc:(.text.startup+0xb): undefined reference to `boost::unit_test::unit_test_main(bool (*)(), int, char**)'
@kpu
Copy link
Owner

kpu commented Jun 16, 2020

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants