[Insight-users] ITKv4 build error

Lisa Dean lisadean.leo at gmail.com
Wed Feb 15 00:46:45 EST 2012


Bill,

Yeah sure. But that suggestion was not made on the list and anyway it
hasn't solved the problem either.

Lisa


On 14 February 2012 21:00, Bill Lorensen <bill.lorensen at gmail.com> wrote:

> Lisa,
>
> Please keep the users list involved in the discussion.
>
> Bill
>
> On Tue, Feb 14, 2012 at 4:56 AM, Lisa Dean <lisadean.leo at gmail.com> wrote:
> > Hi Bill,
> >
> > Thanks for replying.
> > An ITK user advised me to make the following change.
> > Tools->Options->Projects and Solutions->Build and Run-> Maximum number of
> > parallel project builds to 1. I configured and generated the binaries
> once
> > again after making this change and I found that the Cmake process was
> > completed without any errors. But, once again when I opened visual studio
> > and gave ALL BUILD, there were 11 errors and 412 builds failed. Only 64
> > succeded. And the error messages were the same as the ones I posted
> earlier
> > on this thread.
> >
> >
> > I cannot fathom the reason.
> >
> > Lisa
> >
> >
> >
> >
> > On 8 February 2012 18:40, Bill Lorensen <bill.lorensen at gmail.com> wrote:
> >>
> >> Visual Studio 8 is a supported compiler and we have nightly dashboards
> >> for it. Let's start from the beginning.
> >>
> >> You said you had cmake errors when you configured the project. What are
> >> they?
> >>
> >> On Tue, Feb 7, 2012 at 10:44 AM, Bill Lorensen <bill.lorensen at gmail.com
> >
> >> wrote:
> >> > Lisa,
> >> >
> >> > What version of Visual Studio are you using?
> >> >
> >> > Bill
> >> >
> >> > On Tue, Feb 7, 2012 at 12:05 AM, Lisa Dean <lisadean.leo at gmail.com>
> >> > wrote:
> >> >>
> >> >> Hello ITK users,
> >> >>
> >> >>
> >> >> Kindly help me solve this problem that I'm facing.
> >> >> I've worked with ITKv3 for some time and did not experience any
> problem
> >> >> while building it for the first time. I've tried building ITKv4 in
> the
> >> >> same
> >> >> manner but many problems crop up. At first, while generating the bin
> >> >> file
> >> >> using CMake it showed many errors. Finally after deselecting 'Build
> >> >> Examples' and 'Build Shared Libraries', the configuration and
> >> >> generation
> >> >> were completed without errors. So, first of all I must ask, what
> should
> >> >> I do
> >> >> if I want to build the examples too? How is the process of building
> >> >> ITKv4
> >> >> different from that of ITKv3?
> >> >>
> >> >>
> >> >> The next problem arose when I opened ALL BUILD using visual studio. I
> >> >> started the build process as usual but once again 36 builds failed. I
> >> >> cannot
> >> >> make heads or tails from the error messages. Please see the error
> >> >> message
> >> >> below and suggest what could be done.
> >> >>
> >> >>
> >> >>
> -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> ------ Build started: Project: ITKCommon, Configuration: Release x64
> >> >> ------
> >> >> Compiling...
> >> >> itkNumericTraitsDiffusionTensor3DPixel.cxx
> >> >> d:\itk\source\modules\core\common\include\itkVector.hxx(146) : error
> >> >> C2244:
> >> >> 'itk::Vector<T,NVectorDimension>::GetSquaredNorm' : unable to match
> >> >> function
> >> >> definition to an existing declaration
> >> >>         d:\itk\source\modules\core\common\include\itkVector.h(211) :
> >> >> see
> >> >> declaration of 'itk::Vector<T,NVectorDimension>::GetSquaredNorm'
> >> >>         definition
> >> >>         'Vector<T,NVectorDimension>::RealValueType
> >> >> itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'
> >> >>         existing declarations
> >> >>         'NumericTraits<T>::RealType
> >> >> itk::Vector<T,NVectorDimension>::GetSquaredNorm(void) const'
> >> >> d:\itk\source\modules\core\common\include\itkVector.hxx(157) : error
> >> >> C2244:
> >> >> 'itk::Vector<T,NVectorDimension>::GetNorm' : unable to match function
> >> >> definition to an existing declaration
> >> >>         d:\itk\source\modules\core\common\include\itkVector.h(208) :
> >> >> see
> >> >> declaration of 'itk::Vector<T,NVectorDimension>::GetNorm'
> >> >>         definition
> >> >>         'Vector<T,NVectorDimension>::RealValueType
> >> >> itk::Vector<T,NVectorDimension>::GetNorm(void) const'
> >> >>         existing declarations
> >> >>         'NumericTraits<T>::RealType
> >> >> itk::Vector<T,NVectorDimension>::GetNorm(void) const'
> >> >>
> d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(187) :
> >> >> error C2244:
> 'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm'
> >> >> :
> >> >> unable to match function definition to an existing declaration
> >> >>
> >> >> d:\itk\source\modules\core\common\include\itkCovariantVector.h(225)
> >> >> : see declaration of
> >> >> 'itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm'
> >> >>         definition
> >> >>         'CovariantVector<T,NVectorDimension>::RealValueType
> >> >> itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'
> >> >>         existing declarations
> >> >>         'NumericTraits<T>::RealType
> >> >> itk::CovariantVector<T,NVectorDimension>::GetSquaredNorm(void) const'
> >> >>
> d:\itk\source\modules\core\common\include\itkCovariantVector.hxx(198) :
> >> >> error C2244: 'itk::CovariantVector<T,NVectorDimension>::GetNorm' :
> >> >> unable to
> >> >> match function definition to an existing declaration
> >> >>
> >> >> d:\itk\source\modules\core\common\include\itkCovariantVector.h(216)
> >> >> : see declaration of
> >> >> 'itk::CovariantVector<T,NVectorDimension>::GetNorm'
> >> >>         definition
> >> >>         'CovariantVector<T,NVectorDimension>::RealValueType
> >> >> itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'
> >> >>         existing declarations
> >> >>         'NumericTraits<T>::RealType
> >> >> itk::CovariantVector<T,NVectorDimension>::GetNorm(void) const'
> >> >>
> >> >>
> >> >>
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
> >> >>
> >> >> There were more of these messages but they seem kind of similar to
> the
> >> >> ones
> >> >> above.
> >> >>
> >> >> Please help ASAP.
> >> >>
> >> >>
> >> >> Thanks a lot
> >> >> Lisa
> >> >>
> >> >> _____________________________________
> >> >> 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
> >> >>
> >> >
> >> >
> >> >
> >> > --
> >> > Unpaid intern in BillsBasement at noware dot com
> >>
> >>
> >>
> >> --
> >> Unpaid intern in BillsBasement at noware dot com
> >
> >
>
>
>
> --
> Unpaid intern in BillsBasement at noware dot com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.itk.org/pipermail/insight-users/attachments/20120215/5e5abe1d/attachment.htm>


More information about the Insight-users mailing list