Getting pthread related errors during opencv compilation for arm64

asked 2017-01-05 06:00:52 -0500

../lib/libopencv_core.so: undefined reference to pthread_mutexattr_destroy' ../../lib/libopencv_imgcodecs.so: undefined reference topthread_create' ../../lib/libopencv_imgcodecs.so: undefined reference to png_init_filter_functions_neon' ../../lib/libopencv_core.so: undefined reference topthread_mutex_trylock' ../../lib/libopencv_core.so: undefined reference to pthread_mutexattr_settype' ../../lib/libopencv_imgcodecs.so: undefined reference topthread_join' ../../lib/libopencv_core.so: undefined reference to `pthread_mutexattr_init' collect2: error: ld returned 1 exit status modules/core/CMakeFiles/opencv_test_core.dir/build.make:854: recipe for target 'bin/opencv_test_core' failed

edit retag flag offensive close merge delete