bone-segmentation icon indicating copy to clipboard operation
bone-segmentation copied to clipboard

error C2440: 'initializing' : cannot convert from 'itk::Concept::Detail::UniqueType_bool<true>' to 'itk::Concept::Detail::UniqueType_bool<false>'

Open Lin427 opened this issue 8 years ago • 1 comments

There are some problems when I build the project. 6>..\BoneSegmentation.cpp(141): warning C4996: 'mkdir': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _mkdir. See online help for details. 6> C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\direct.h(140) : see declaration of 'mkdir' 6>e:\tapash project\insighttoolkit-4.6.0\modules\core\common\include\itkConceptChecking.h(729): error C2440: 'initializing' : cannot convert from 'itk::Concept::Detail::UniqueType_bool' to 'itk::Concept::Detail::UniqueType_bool' 6> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called 6> e:\tapash project\insighttoolkit-4.6.0\modules\core\common\include\itkConceptChecking.h(728) : while compiling class template member function 'void itk::Concept::IsInteger::Constraints::constraints(void)' 6> e:\tapash project\insighttoolkit-4.6.0\modules\core\common\include\itkConceptChecking.h(735) : see reference to function template instantiation 'void itk::Concept::IsInteger::Constraints::constraints(void)' being compiled 6> e:\tapash project\insighttoolkit-4.6.0\modules\core\common\include\itkConceptChecking.h(735) : see reference to class template instantiation 'itk::Concept::IsInteger::Constraints' being compiled 6> e:\tapash project\insighttoolkit-4.6.0\modules\core\common\include\itkConceptChecking.h(735) : while compiling class template member function 'void itk::Concept::IsInteger::Enforcer(void)' 6> e:\tapash project\insighttoolkit-4.6.0\modules\segmentation\connectedcomponents\include\itkConnectedComponentImageFilter.h(143) : see reference to class template instantiation 'itk::Concept::IsInteger' being compiled 6> E:\tapash project\imagesim\utils\FilterUtils.h(84) : see reference to class template instantiation 'itk::ConnectedComponentImageFilter<InputImage,OutputImage,TInputImage>' being compiled 6> with 6> [ 6> InputImage=ShortImage 6> , OutputImage=FloatImage 6> , TInputImage=ShortImage 6> ] 6> e:\tapash project\imagesim\01-Preprocessing.h(128) : see reference to class template instantiation 'FilterUtils<ShortImage,FloatImage>' being compiled

Lin427 avatar Aug 18 '17 06:08 Lin427

Sorry, this repo is no longer maintained. If you fix the issue, can you please create a pull-request so I can merge it in? Thanks.

mkrcah avatar Aug 18 '17 16:08 mkrcah