2013年10月10日星期四

win 7 environment, the compiler is not installed download wdk7.1.0 through

I installed the system is windows 7, downloaded from the Internet wdk7.1.0 (7600.16385.1), installation,

In the process, see

Start Menu:
|-Windows Driver Kits
|-WDK 7600.16385.1
|-Build Environments
|-Windows 7
|-Windows Server 2003
|-Windows Vista and Windows Server 2008
|-Windows XP

then build Environment , the take windows 7, then in the following election x86 free build environment

appear dos environment , in which to write build

to generate driver library , etc.

results appear better warnings and errors. ( Other x64, ia64 environment is also wrong, but my machine is a 32 -bit machine , so the election x86 should be good )


build: done

275 files compiles - 61 warnings - 198 Errors - 3,862 LPS
13 libraries built - 23 Errors
7 executables built - 6 errors


I ask is where the problem is ? Thank you. .
------ Solution ---------------------------------------- ----
Yes, with your system, it does not matter , an XP can compile all supported systems

But really, there are still people with XP do ?
------ For reference only -------------------------------------- -
try the following method

1 search i386mk.inc file , add a line in there : MSC_WARNING_LEVEL = / W1
2把e: \ winddk \ 7600.16385.1 \ inc \ api \ common.ver save as Unicode format try
------ For reference only --------- ------------------------------
Thank you upstairs,

but doing the latter still has errors:

22 files compiled - 24 warnings - 13 Errors - 3,543 LPS
1 library built - 1 Error
6 executables built - 5 Errors.


I did not do anything , install WINDOWS 7, download and install the WDK 7.1.0, then enter the build environment environmental generate driver library .

In the previous version of XP DDK perishable very simple no problem ah. Why windows 7 under this wdk7. 1 will not do it ?

Please help . Thank you.


------ For reference only ---------------------------------- -----
1. to compile the driver code itself right do ?
2. To confirm that the driver code compiler environment have a problem or question , first find a simple sample driver build next try doing something wrong

Also build Environment , the taking or other windows 7 build environment ( eg xp, server 2003) only with the final drive you want to run the system on , with your native operating system independent
------ For reference only --------------------------------------- < br>

Thank you.

I was prepared to compile the driver under windows 7 , is also prepared to run in window 7 . So after installing the wdk7.1 wanted to compile its library , so you do not need ? I have not yet tried it own drive , directly build its library only.


Also, according to your last sentence , as if under windows xp installation wdk7.1 can also be developed to run under windows 7 driver ?
------ For reference only -------------------------------------- -
code itself has a problem .
------ For reference only ----------------------------- ----------
you look at the error file is valid and error
------ For reference only ------------- --------------------------
buildchk_win7_x86.err this file in your installation directory
---- - For reference only ---------------------------------------
I also appeared that mistake how to solve ah ? Seeking guidance !

没有评论:

发表评论