Synet icon indicating copy to clipboard operation
Synet copied to clipboard

Target test_performance_difference fails

Open TonyCongqianWang opened this issue 1 year ago • 1 comments

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 avatar Jun 07 '24 15:06 TonyCongqianWang

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)

TonyCongqianWang avatar Jun 23 '24 21:06 TonyCongqianWang