View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0010093ITKpublic2010-01-05 11:122010-11-13 12:55
Reporterpingkunyan 
Assigned ToMathieu Malaterre 
PrioritynormalSeveritymajorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in VersionITK-4-A3 
Summary0010093: Changes in "itkIntTypes.h" conflict with "gdcmCommon.h"
DescriptionSome recent changes in "itkIntTypes.h" added new type definitions. Previously, my program was able to successfully build under Windows using MSVS2008. However, after updating to the latest version, the program is no longer built. I got the following error:

1>C:\OpenSourceToolkits\Insight\Utilities\gdcm\src\gdcmSerieHelper.h(109) : error C2872: 'uint16_t' : ambiguous symbol
1> could be 'c:\opensourcetoolkits\insight\utilities\gdcm\src\gdcmCommon.h(65) : unsigned short uint16_t'
1> or 'c:\opensourcetoolkits\insight\code\common\itkIntTypes.h(128) : itk::uint16_t'

I checked the files and the conflit is there. Please fix it.
TagsNo tags attached.
Resolution Date
Sprint
Sprint Statusbacklog
Attached Files

 Relationships
child of 0009426closedBradley Lowekamp ITK_UINT64 and vxl_uint_64 are not a 64bit integer on windows 

  Notes
(0019038)
Bradley Lowekamp (developer)
2010-01-05 17:25

Are you dumping the entire itk namespace into the global namespace? Such as doing the following:

using namespace itk;
(0019047)
pingkunyan (reporter)
2010-01-07 10:11

I didn't use it in my main program. But in my own class files, I did put everything under itk namespace, like a normal itk class. Maybe that is causing the problem...
(0019149)
Bradley Lowekamp (developer)
2010-01-15 09:42

Can you please provide a small test sample where this conflict occurs?

Thanks!
(0022702)
Mathieu Malaterre (developer)
2010-10-26 05:51

ITK uses GDCM 2.x the issue should be gone now.

 Issue History
Date Modified Username Field Change
2010-01-05 11:12 pingkunyan New Issue
2010-01-05 17:25 Bradley Lowekamp Note Added: 0019038
2010-01-07 10:11 pingkunyan Note Added: 0019047
2010-01-15 09:38 Bradley Lowekamp Relationship added child of 0009426
2010-01-15 09:42 Bradley Lowekamp Note Added: 0019149
2010-10-26 05:51 Mathieu Malaterre Status new => assigned
2010-10-26 05:51 Mathieu Malaterre Assigned To => Mathieu Malaterre
2010-10-26 05:51 Mathieu Malaterre Sprint Status => backlog
2010-10-26 05:51 Mathieu Malaterre Note Added: 0022702
2010-10-26 05:51 Mathieu Malaterre Status assigned => closed
2010-10-26 05:51 Mathieu Malaterre Resolution open => fixed
2010-11-13 12:55 Mathieu Malaterre Status closed => feedback
2010-11-13 12:55 Mathieu Malaterre Resolution fixed => reopened
2010-11-13 12:55 Mathieu Malaterre Status feedback => closed
2010-11-13 12:55 Mathieu Malaterre Resolution reopened => fixed
2010-11-13 12:55 Mathieu Malaterre Fixed in Version => ITK-4-A3


Copyright © 2000 - 2018 MantisBT Team