Click here to Skip to main content
12,945,066 members (56,507 online)
Rate this:
 
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
Updated 27-Apr-10 9:01am
Moak11.6K
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... :)

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)"). :)
  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
Top Experts
Last 24hrsThis month
OriginalGriff 4,781
CHill60 3,135
Maciej Los 2,443
Jochen Arndt 1,910
ppolymorphe 1,765


Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 11 May 2011
Copyright © CodeProject, 1999-2017
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