(VS2008)Cannot open include file: 'windows.h': No such file or directory 解决办法
生活随笔
收集整理的這篇文章主要介紹了
(VS2008)Cannot open include file: 'windows.h': No such file or directory 解决办法
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
在使用VS2008編譯SystemC庫時,遇到這個問題。我使用的win7系統,只要
1、打開菜單欄Project-->XXXX?properties?
2、如下圖在C/C++下面的General 選項的Additional Include Directories 欄加入 如下路徑
C:\Program Files\Microsoft SDKs\Windows\v5.0\Include(可能非win7用的不是5.0的SDK,這個我不太懂,但差不多都是Include這個文件夾)
3、Rebuild ,編譯通過。
總結
以上是生活随笔為你收集整理的(VS2008)Cannot open include file: 'windows.h': No such file or directory 解决办法的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: matlab(1)矩阵的输入及运算
- 下一篇: 【Vue3从零开始-实战】S14:详情页