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

windows电脑上编译报错 #5

Open
stephen-TT opened this issue Nov 13, 2024 · 0 comments
Open

windows电脑上编译报错 #5

stephen-TT opened this issue Nov 13, 2024 · 0 comments

Comments

@stephen-TT
Copy link

我在 Windows 下编译 c++ 代码,报了一些错误,好像这个代码不支持 windows 设备


(yolov11_tensorRT_postprocess_cuda) PS C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\build> cmake --build . --config Release
用于 .NET Framework 的 Microsoft (R) 生成引擎版本 16.11.2+f32259642
版权所有(C) Microsoft Corporation。保留所有权利。

  main.cpp
C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\src\postprocess_cuda.hpp(6,10): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or di
rectory [C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\build\yolo_trt.vcxproj]
  CNN.cpp
C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\src\postprocess_cuda.hpp(6,10): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or di
rectory [C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\build\yolo_trt.vcxproj]
  postprocess_cuda.cpp
C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\src\postprocess_cuda.hpp(6,10): fatal error C1083: 无法打开包括文件: “unistd.h”: No such file or di
rectory [C:\Users\tc\Desktop\vs_codium_project\yolov11_tensorRT_postprocess_cuda-main\build\yolo_trt.vcxproj]
  正在生成代码...
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