Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 983
Yuval Podoksik Avatar asked Nov 02 '22 04:11

Yuval Podoksik


1 Answers

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.

like image 136
Nick Westgate Avatar answered Nov 15 '22 03:11

Nick Westgate