更新时间:2023-11-19 19:37:10
您似乎没有正确使用该选项.语法为-I directory
,根据Microsoft文档,
It looks like you're not using the option correctly. The syntax is -I directory
, and according to the Microsoft documentation, to add more than one directory, you must use this option more than once. If you have faithfully reproduced the actual command-line you're using, then you have got -I directory -I directory directory directory directory
, so several of your include directories are ignored.
假设您希望所有这些目录都包含在include路径中,则正确的语法为:
Assuming you want all of these directories in the include path, the correct syntax is:
-I "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys"
-I.
-I "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include\sys"
-I "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Include"
-I "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\include"
请注意在每个目录之前的-I
的使用,其中包括 .
.
Note the use of -I
before each directory, including .
.