Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
Hi,
I am getting error of "No Target architecture defined" in driver entry. i am trying to write driver entry for wireless miniport in vc++ and wdk on vista plateform. But this error fed up me.
so pls help me out.
 

1>------ Rebuild All started: Project: DriverMiniport, Configuration: checked Win32 ------
1>Deleting intermediate and output files for project 'DriverMiniport', configuration 'checked|Win32'
1>Compiling...
1>miniport.c
1>c:\winddk\7600.16385.0\inc\ddk\wdm.h(14197) : fatal error C1189: #error :   "No target architecture defined"
1>protocol.c
1>c:\winddk\7600.16385.0\inc\ddk\wdm.h(14197) : fatal error C1189: #error :   "No target architecture defined"
1>vwifi.c
1>c:\winddk\7600.16385.0\inc\ddk\wdm.h(14197) : fatal error C1189: #error :   "No target architecture defined"
1>Generating Code...
1>Build log was saved at "file://e:\DriverMiniport\checked\BuildLog.htm"
1>DriverMiniport - 3 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
Posted 23-Mar-10 4:25am
Edited 27-Apr-10 9:01am
Moak11.4K
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

By a double click on a error line
you would see its source... Smile | :)
 
Probably you will need to define something like _X86_
(see, for instance "The Old New Thing: You already know what your target architecture is (or at least you should)"). Smile | :)
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 57

hi,i met the exactly problem ,can you tell me how you solve it?i'm very appreciate.please......
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 58

Here's a decent tutorial on what you're experiencing:
http://mcdermottcybersecurity.com/articles/64-bit-device-driver-development[^]
 
The DDK files are dependent on environment variables set by other files (read article and you'll see what I mean).
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Sergey Alexandrovich Kryukov 432
1 sanket saxena 355
2 Abhinav S 258
3 OriginalGriff 235
4 CPallini 205
0 Sergey Alexandrovich Kryukov 8,704
1 OriginalGriff 5,000
2 Peter Leow 3,839
3 Maciej Los 3,535
4 Er. Puneet Goel 3,107


Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 11 May 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid