Re: vc++ different basic types
- From: Joseph M. Newcomer <newcomer@xxxxxxxxxxxx>
- Date: Fri, 28 Sep 2007 23:58:12 -0400
You have two header files that are defining values in different ways. It tells you
precisely which files are involved, and precisely what line in each file the definition is
found. So figure out why this is happening. You would have to tell us what those lines
are, for example. It might be that one of the files is hopelessly obsolete, but without
showing a couple of those lines it is hard to guess.
You have ALL the information necessary to tell us what the problem is, why not show it?
joe
On Fri, 28 Sep 2007 19:45:36 -0700, worlman385@xxxxxxxxx wrote:
Recently i downloaded a wireless card vc++ open source project fromJoseph M. Newcomer [MVP]
http://wire.cs.nthu.edu.tw/wire1x/wire1x_2_2_src.zip
but when i build the project in vc++ 2005 i got 5 errors :
1>d:\sourceforge\wire1x_2_2_src\wpa.h(80) : error C2371:
'NDIS_802_11_KEY' : redefinition; different basic types
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\ntddndis.h(914) : see declaration of
'NDIS_802_11_KEY'
1>d:\sourceforge\wire1x_2_2_src\cm_func.h(156) : error C2371:
'NDIS_802_11_REMOVE_KEY' : redefinition; different basic types
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\ntddndis.h(921) : see declaration of
'NDIS_802_11_REMOVE_KEY'
1>d:\sourceforge\wire1x_2_2_src\cm_func.h(165) : error C2011:
'_NDIS_WLAN_BSSID_EX' : 'struct' type redefinition
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\ntddndis.h(987) : see declaration of
'_NDIS_WLAN_BSSID_EX'
1>d:\sourceforge\wire1x_2_2_src\cm_func.h(180) : error C2371:
'NDIS_802_11_BSSID_LIST_EX' : redefinition; different basic types
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\ntddndis.h(1007) : see declaration of
'NDIS_802_11_BSSID_LIST_EX'
1>d:\sourceforge\wire1x_2_2_src\cm_func.h(185) : error C2371:
'NDIS_802_11_FIXED_IEs' : redefinition; different basic types
1> c:\program files\microsoft visual studio
8\vc\platformsdk\include\ntddndis.h(1014) : see declaration of
'NDIS_802_11_FIXED_IEs'
The 3 source code files related to the above error is the following
http://www.oniva.com/upload/1356/wpa.h
http://www.oniva.com/upload/1356/ntddndis.h
http://www.oniva.com/upload/1356/cm_func.h
the open source project need the follow library
Microsoft Platform SDK
Microsoft DDK
OpenSSL
WinPcap
Any one knows how to fix this build error?
Thank you!
email: newcomer@xxxxxxxxxxxx
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
.
- References:
- vc++ different basic types
- From: worlman385
- vc++ different basic types
- Prev by Date: Re: vc++ different basic types
- Next by Date: Re: Is there a way to send a user message to any of app's active dialogs?
- Previous by thread: Re: vc++ different basic types
- Next by thread: How to read cookie for particular site from VC++
- Index(es):
Relevant Pages
|
Loading