[prev in list] [next in list] [prev in thread] [next in thread] 

List:       insight-users
Subject:    [Insight-users] Building Gingko in VS.
From:       Benjamin CONAN <bconan () gmail ! com>
Date:       2011-06-27 21:14:03
Message-ID: BANLkTi=Q19JrLs_GbSkRgwBWQ75m1xUC9A () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Good afternoon,
I'm currently trying to work with Gingko CADx (http://ginkgo-cadx.com/en/)
in order to develop my own extensions, but I first need to build the
sources.
When I do, I'm facing errors from the ITK source files. Here is the deal :

-ITK solution is configured with the following options in CMake :

BUILD_SHARED_LIBS = ON
ITK_USE_OPTIMIZED_REGISTRATION_METHODS = ON
ITK_USE_PATENTED = ON
ITK_USE_REVIEW = ON
ITK_USE_REVIEW_STATISTICS = ON
VNL_CONFIG_ENABLE_SSE2 = ON

After including all the required files into the gingko environment, I'm
facing the following errors :

a whole bunch of C4516 warnings like this one :

*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*
*
*
followed by these errors :

C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error
C2143: syntax error : missing ';' before '<'
1>        C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(70)
> see reference to class template instantiation
'itk::Statistics::EuclideanDistanceMetric<TVector>' being compiled
1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) : error
C2238: unexpected token(s) preceding ';'
1>C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(65) : error
C4430: missing type specifier - int assumed. Note: C++ does not support
default-int
[...]

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 ?

Thank you,

Benjamin.


[Attachment #5 (text/html)]

Good afternoon,<div>I&#39;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&#39;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&#39;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: &#39;itk::Neighborhood&lt;TImage::InternalPixelType*,itk::GetImageDim \
ension&lt;TImage&gt;::ImageDimension&gt;::itk::Neighborhood&lt;TPixel,VDimension,TAllocator&gt;::GetRadius&#39; \
: 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 &#39;;&#39; before &#39;&lt;&#39;</div>

<div>1&gt;        C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(70) \
: see reference to class template instantiation \
&#39;itk::Statistics::EuclideanDistanceMetric&lt;TVector&gt;&#39; being \
compiled</div><div>

1&gt;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&gt;C:\ITK\src\Code\Review\Statistics\itkEuclideanDistanceMetric.h(44) \
: error C2238: unexpected token(s) preceding &#39;;&#39;</div>

<div>1&gt;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>



_____________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Kitware offers ITK Training Courses, for more information visit:
http://www.kitware.com/products/protraining.html

Please keep messages on-topic and check the ITK FAQ at:
http://www.itk.org/Wiki/ITK_FAQ

Follow this link to subscribe/unsubscribe:
http://www.itk.org/mailman/listinfo/insight-users


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic