error C2371: redefinition; different basic types

All other questions regarding DCMTK

Moderator: Moderator Team

Post Reply
Message
Author
gavin_dcm
Posts: 28
Joined: Tue, 2007-12-25, 04:27

error C2371: redefinition; different basic types

#1 Post by gavin_dcm »

hello:

i include dcmtk .h file in my MFC program on vc++2008 , when i compile it get error belowing.

dcmtk-3.5.4-win32-i386\include\dcmtk/dcmdata/dctypes.h(57) : error C2371: “SBYTE” redefinition; different basic types

C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\oledb.h(807)


how to figure it out? change the sourc code in dcmtk? are there any other methods?
thanks, best wishes

Jörg Riesmeier
ICSMED DICOM Services
ICSMED DICOM Services
Posts: 2217
Joined: Fri, 2004-10-29, 21:38
Location: Oldenburg, Germany

#2 Post by Jörg Riesmeier »

Have you already searched for "SBYTE" in the forum? I guess not.

gavin_dcm
Posts: 28
Joined: Tue, 2007-12-25, 04:27

#3 Post by gavin_dcm »

Jörg Riesmeier wrote:Have you already searched for "SBYTE" in the forum? I guess not.
===============
yes,now ,i know what to do now, thanks

Hervé
Posts: 1
Joined: Thu, 2010-10-07, 07:11

#4 Post by Hervé »

gavin_dcm wrote:
Jörg Riesmeier wrote:Have you already searched for "SBYTE" in the forum? I guess not.
===============
yes,now ,i know what to do now, thanks
Please can you tell me what to do?
I can't find the answer anywhere

Michael Onken
DCMTK Developer
Posts: 2049
Joined: Fri, 2004-11-05, 13:47
Location: Oldenburg, Germany
Contact:

#5 Post by Michael Onken »

Hi,

as recommended in another posting Jörg referred to, you should be sure to have read and followed FAQ #26. I hope that already fixes the problem fo you.

Best regards,
Michael

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest