Monday-Leo / Yolov5_Tensorrt_Win10

A simple implementation of tensorrt yolov5 python/c++🔥
175 stars 40 forks source link

cmake报错 #7

Open suixin1424 opened 1 year ago

suixin1424 commented 1 year ago

Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output: Change Dir: D:/2/Yolov5_Tensorrt_Win10-master/build/CMakeFiles/CMakeScratch/TryCompile-1qpn13

Run Build Command(s):E:/vs/MSBuild/Current/Bin/amd64/MSBuild.exe cmTC_0bcb0.vcxproj /p:Configuration=Debug /p:Platform=x64 /p:VisualStudioVersion=17.0 /v:m && MSBuild version 17.3.1+2badb37d1 for .NET Framework 用于 x64 的 Microsoft (R) C/C++ 优化编译器 19.33.31630 版 src.c 版权所有(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_0bcb0.dir\Debug\" /Fd"cmTC_0bcb0.dir\Debug\vc143.pdb" /external:W3 /Gd /TC /errorReport:queue "D:\2\Yolov5_Tensorrt_Win10-master\build\CMakeFiles\CMakeScratch\TryCompile-1qpn13\src.c" D:\2\Yolov5_Tensorrt_Win10-master\build\CMakeFiles\CMakeScratch\TryCompile-1qpn13\src.c(1,10): fatal error C1083: 无法打开包括文件: “pthread.h”: No such file or directory [D:\2\Yolov5_Tensorrt_Win10-master\build\CMakeFiles\CMakeScratch\TryCompile-1qpn13\cmTC_0bcb0.vcxproj]