Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista Drivers > 'SIZE_T' : redefinition; different basic types

Reply
Thread Tools Display Modes

'SIZE_T' : redefinition; different basic types

 
 
Sivaraj
Guest
Posts: n/a

 
      05-20-2011
Hello,

I am integrating our own library built using VS 2008 with one of the
dsf application in WinDDK 7600.16385.1.

I am getting the error "'SIZE_T' : redefinition; different basic
types". Could anyone help how to solve this issue? Please let me know
if more details are required.

Below is the complete build log for reference.

C:\WinDDK\7600.16385.1\src\test\dsf\usb\softusbloo pback>build
BUILD: Compile and Link for x86
BUILD: Loading c:\winddk\7600.16385.1\build.dat...
BUILD: Computing Include file dependencies:
BUILD: Start time: Fri May 20 11:10:39 2011
BUILD: Examining c:\winddk\7600.16385.1\src\test\dsf\usb
\softusbloopback directo
ry for files to compile.
c:\winddk\7600.16385.1\src\test\dsf\usb\softusbloo pback
Invalidating OACR wa
rning log for 'WDKSamples:x86chk'
c:\winddk\7600.16385.1\src\test\dsf\usb\softusbloo pback - 1 Pass
Zero files
(120 lines)
BUILD: Saving c:\winddk\7600.16385.1\build.dat...
BUILD: Building generated files in c:\winddk\7600.16385.1\src\test\dsf
\usb\softu
sbloopback directory
Configuring OACR for 'WDKSamples:x86chk' - <OACR on>
_NT_TARGET_VERSION SET TO WINXP
BUILD: Examining c:\winddk\7600.16385.1\src\test\dsf\usb
\softusbloopback directo
ry for files to compile. (2nd Pass)
c:\winddk\7600.16385.1\src\test\dsf\usb\softusbloo pback - 1 source
files (1,
147 lines)
BUILD: Compiling c:\winddk\7600.16385.1\src\test\dsf\usb
\softusbloopback directo
ry
_NT_TARGET_VERSION SET TO WINXP
Compiling - loopbackdevice.cpp
1>errors in directory c:\winddk\7600.16385.1\src\test\dsf\usb
\softusbloopback
1>e:\sandbox\sample\source\\i\def\stdtypes.h(111) : error C2371:
'SIZE_T' : redefinition; different basic types
1>e:\sandbox\sample\source\i\def\stdtypes.h(111) : error C2371:
'PSIZE_T' : redefinition; different basic types
Building Library - objchk_wxp_x86\i386\softusbloopback.lib
1>link : error LNK1181: cannot open input file 'c:\winddk
\7600.16385.1\src\test\
dsf\usb\softusbloopback\objchk_wxp_x86\i386\loopba ckdevice.obj'
BUILD: Compile errors: not linking c:\winddk\7600.16385.1\src\test\dsf
\usb\softu
sbloopback directory
BUILD: Finish time: Fri May 20 11:10:53 2011
BUILD: Done

3 files compiled - 2 Errors - 1,147 LPS
1 library built - 1 Error
 
Reply With Quote
 
 
 
 
Burkhardt Braun
Guest
Posts: n/a

 
      05-20-2011
Hello!
On 20 Mai, 07:46, Sivaraj <ssivara...@gmail.com> wrote:
> 1>errors in directory c:\winddk\7600.16385.1\src\test\dsf\usb
> \softusbloopback
> 1>e:\sandbox\sample\source\\i\def\stdtypes.h(111) : error C2371:
> 'SIZE_T' : redefinition; different basic types
> 1>e:\sandbox\sample\source\i\def\stdtypes.h(111) : error C2371:
> 'PSIZE_T' : redefinition; different basic types
> Building Library - objchk_wxp_x86\i386\softusbloopback.lib
> 1>link : error LNK1181: cannot open input file 'c:\winddk
> \7600.16385.1\src\test\
> dsf\usb\softusbloopback\objchk_wxp_x86\i386\loopba ckdevice.obj'
> BUILD: Compile errors: not linking c:\winddk\7600.16385.1\src\test\dsf

This issue is seemingly caused by a wrong include path in the DDK
environment.
I have the same DDK and no stdtypes.h

Kind regards
Burkhardt Braun


 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Discovery of PMI-Compliant Power Meter Devices Javier Càceres Windows Vista Drivers 1 09-09-2010 07:18 PM
Office Basic 2007 Product Key not working on new laptop w/ Vista Frustrated Toshiba Buyer Windows Vista Installation 6 02-23-2009 12:01 PM
Vista Colour Scheme switched to 'basic' Pinballl Windows Vista Performance 0 12-20-2007 04:14 PM
Upgrade issue Basic to Premium Dave H. Windows Vista Installation 5 10-07-2007 08:31 AM
switching between Basic & Aero interfaces foreverLaur Windows Vista Administration 1 02-03-2007 07:35 PM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59