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

Target test_performance_difference fails #37

Open
TonyCongqianWang opened this issue Jun 7, 2024 · 1 comment
Open

Target test_performance_difference fails #37

TonyCongqianWang opened this issue Jun 7, 2024 · 1 comment

Comments

@TonyCongqianWang
Copy link

When using your build script after cloning, every target but test_performance difference builds. test_performance difference fails to build with error /usr/bin/ld: libSimd.so: undefined reference to pthread_create' also there is no documentation on what that target does

@TonyCongqianWang
Copy link
Author

I managed to fix this error by adding -pthread to line 120 to the CMakeList.txt:

target_link_libraries(test_performance_difference ${SIMD_LIB} Synet -ldl -lpthread -pthread)

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

1 participant