![](/img/trans.png)
[英]Compiling C with MS Visual C++ 2010 'sys/resource.h': No such file
[英]Error using include sys/resource.h with Windows 10 C++
我一直在 macOS 上使用 VS 代碼並切換到 Windows 10,我嘗試從我的 mac 運行代碼,但它給了我這個錯誤,我沒有使用 mac。 我安裝了 LLVM 不確定它是否有幫助。
#Include <sys/resource.h>
我的編譯器路徑當前設置為:
"compilerPath": "C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.27.29110/bin/Hostx64/x64/cl.exe",
我可以這樣使用常用命令 gcc/g++ 嗎?
我是 Windows 新手,不確定如何以干凈的方式配置東西。 謝謝。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.