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

Tests fail to link: undefined symbol: testing::AssertionSuccess() #2654

Closed
yurivict opened this issue Jan 8, 2023 · 1 comment
Closed

Tests fail to link: undefined symbol: testing::AssertionSuccess() #2654

yurivict opened this issue Jan 8, 2023 · 1 comment

Comments

@yurivict
Copy link
Contributor

yurivict commented Jan 8, 2023

Summary

ld: error: undefined symbol: testing::AssertionSuccess()
>>> referenced by test_binary_flat.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_binary_flat.cpp.o:(BinaryFlat_accuracy_Test::TestBody())
>>> referenced by test_dealloc_invlists.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_dealloc_invlists.cpp.o:((anonymous namespace)::test_dealloc_invlists(char const*))
>>> referenced by test_ivfpq_codec.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_ivfpq_codec.cpp.o:(IVFPQ_codec_Test::TestBody())
>>> referenced 533 more times

ld: error: undefined symbol: testing::Message::Message()
>>> referenced by test_binary_flat.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_binary_flat.cpp.o:(BinaryFlat_accuracy_Test::TestBody())
>>> referenced by test_dealloc_invlists.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_dealloc_invlists.cpp.o:((anonymous namespace)::test_dealloc_invlists(char const*))
>>> referenced by test_ivfpq_codec.cpp
>>>               tests/CMakeFiles/faiss_test.dir/test_ivfpq_codec.cpp.o:(IVFPQ_codec_Test::TestBody())
>>> referenced 746 more times

Platform

OS: FreeBSD 13.1

Faiss version: 1.7.3

Installed from: FreeBSD port

@mdouze
Copy link
Contributor

mdouze commented Jan 9, 2023

Sorry, this is not a supported configuration.

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

No branches or pull requests

2 participants