构建WDK驱动出现fatal error U1087: cannot have : and :: dependents for same target

时间:2022-01-30 00:25:14

原因:WDK在编译驱动时,是不允许源文件所在的路径(全路径)中包含空格的,如果你包含了空格,就会出现上述错误。

解决方法:把源文件放在一个没有空格的路径下。

reference:

http://blog.****.net/crazyingbird/article/details/7305776