Good afternoon,<div>I'm currently trying to work with Gingko CADx (<a href="http://ginkgo-cadx.com/en/">http://ginkgo-cadx.com/en/</a>) in order to develop my own extensions, but I first need to build the sources.</div>
<div>When I do, I'm facing errors from the ITK source files. Here is the deal :</div><div><br></div><div>-ITK solution is configured with the following options in CMake :</div><div><br></div><div><div>BUILD_SHARED_LIBS = ON</div>
<div>ITK_USE_OPTIMIZED_REGISTRATION_METHODS = ON</div><div>ITK_USE_PATENTED = ON</div><div>ITK_USE_REVIEW = ON</div><div>ITK_USE_REVIEW_STATISTICS = ON</div><div>VNL_CONFIG_ENABLE_SSE2 = ON</div></div><div><br></div><div>
After including all the required files into the gingko environment, I'm facing the following errors : </div><div><br></div><div>a whole bunch of C4516 warnings like this one : </div><div><br></div><div><i>c:\itk\src\code\common\itkConstShapedNeighborhoodIterator.h(235) : warning C4516: 'itk::Neighborhood<TImage::InternalPixelType*,itk::GetImageDimension<TImage>::ImageDimension>::itk::Neighborhood<TPixel,VDimension,TAllocator>::GetRadius' : access-declarations are deprecated; member using-declarations provide a better alternative</i></div>
<div><i><br></i></div><div>followed by these errors : </div><div><br></div><div><div>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error C2143: syntax error : missing ';' before '<'</div>
<div>1> C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(70) : see reference to class template instantiation 'itk::Statistics::EuclideanDistanceMetric<TVector>' being compiled</div><div>
1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div><div>1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error C2238: unexpected token(s) preceding ';'</div>
<div>1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(65) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int</div></div><div>[...]</div><div><br></div><div>All the errors are coming from the Review\Statistics files. I failed to find any similar errors on the web. Do you have any idea where I went wrong ?</div>
<div><br></div><div>Thank you,</div><div><br></div><div>Benjamin.</div>