Yuval Podoksik
Yuval Podoksik

Reputation: 528

setenv.bat is missing Windows

I have a problem during building a driver. I downloaded visual studio 2013. I downloaded WDK 8.1. When I'm debugging the program it shows me an error:

"Error  1   error MSB3073: The command "call C:\Program Files (x86)\Windows Kits\8.1\\bin\setenv.cmd C:\Program Files (x86)\Windows Kits\8.1\ chk wxp
cd /d C:\FsFilter\FSFilter\
build.exe -I" exited with code 9009.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets   38  5   FsFilter"

Can you help me?

Here's a link to a snapshot of my project: http://tinypic.com/view.php?pic=2ex4p6x&s=8

Upvotes: 5

Views: 2096

Answers (1)

Nick Westgate
Nick Westgate

Reputation: 3273

For others with the same question: the latest WDKs don't have setenv, so build old samples that use setenv and build.exe with old WDKs, e.g. WDK 7.1.

WDK 8+ samples build in Visual Studio or on the command line with MSBuild.

Upvotes: 2

Related Questions