Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/CMakeScratch/TryCompile-x23wpm Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_8afef.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && .NET Framework ??MSBuild ? 17.11.9+a69bbaaf5 Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64 Copyright (C) Microsoft Corporation. ??甈???銝虫??????押€? cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CMAKE_HAVE_LIBC_PTHREAD /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_8afef.dir\Debug\\" /Fd"cmTC_8afef.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-x23wpm\src.c" src.c C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-x23wpm\src.c(1,10): error C1083: ?⊥????瑼?: 'pthread.h': No such file or directory [C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-x23wpm\cmTC_8afef.vcxproj] Source file was: #include static void* test_func(void* data) { return data; } int main(void) { pthread_t thread; pthread_create(&thread, NULL, test_func, NULL); pthread_detach(thread); pthread_cancel(thread); pthread_join(thread, NULL); pthread_atfork(NULL, NULL, NULL); pthread_exit(NULL); return 0; } Determining if the function pthread_create exists in the pthreads failed with the following output: Change Dir: C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/CMakeScratch/TryCompile-ovmyhw Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_4acfd.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && .NET Framework ??MSBuild ? 17.11.9+a69bbaaf5 Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64 Copyright (C) Microsoft Corporation. ??甈???銝虫??????押€? cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_4acfd.dir\Debug\\" /Fd"cmTC_4acfd.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-ovmyhw\CheckFunctionExists.c" CheckFunctionExists.c LINK : fatal error LNK1104: ?⊥???瑼? 'pthreads.lib' [C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-ovmyhw\cmTC_4acfd.vcxproj] Determining if the function pthread_create exists in the pthread failed with the following output: Change Dir: C:/Users/mm930/OneDrive/Documents/Hailo/YUVInfer/CMakeFiles/CMakeScratch/TryCompile-iwj6l7 Run Build Command(s):C:/Program Files/Microsoft Visual Studio/2022/Community/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_c50b9.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && .NET Framework ??MSBuild ? 17.11.9+a69bbaaf5 Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34123 for x64 Copyright (C) Microsoft Corporation. ??甈???銝虫??????押€? cl /c /Zi /W3 /WX- /diagnostics:column /Od /Ob0 /D _MBCS /D WIN32 /D _WINDOWS /D CHECK_FUNCTION_EXISTS=pthread_create /D "CMAKE_INTDIR=\"Debug\"" /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_c50b9.dir\Debug\\" /Fd"cmTC_c50b9.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-iwj6l7\CheckFunctionExists.c" CheckFunctionExists.c LINK : fatal error LNK1104: ?⊥???瑼? 'pthread.lib' [C:\Users\mm930\OneDrive\Documents\Hailo\YUVInfer\CMakeFiles\CMakeScratch\TryCompile-iwj6l7\cmTC_c50b9.vcxproj]