Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VC8.0 Windows compiler
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 5:25am
Edited 27-Apr-10 10:01am
Moak11.4K
v2
Page 1 of 3

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  
Page 1 of 3
1 2 3

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

  Print Answers RSS
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 85
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100