Windows bugfixes

Some minor bug fixes. With the current boost version with MSVC11 (=2012) an additional define is needed. 
Also, the template name in the DeformationFieldTrafo was confusing.
In the ITK Examples CMakeLists, there seems to be some problems with the line endings. It may help to check in my version. 
It is in the comment already.

 

In a way, it may not belong in the same pull request, but it was too complicated to separate it out. 

 

It changes only the name of the template parameter. However, the old name was badly confusing. In statismo-0.9, the data set type goes there, not the representer. It would still run if you assign your data set type to TRepresenter, but the name leads you to put the representer type there and then it does not compile.

 

From: Arnaud Gelas [mailto:notifications@github.com] 
Sent: Dienstag, 17. Juni 2014 10:47
To: statismo/statismo
Cc: tom-albrecht
Subject: Re: [statismo] Windows bugfixes (#43)

 

In statismo_ITK/itkStatisticalDeformationModelTransform.h:

> @@ -55,14 +55,14 @@ namespace itk
>  *
>   * \ingroup Transforms
>   */
> -template <class TRepresenter, class TScalarType,  unsigned int TDimension >
> +template <class TDataSet, class TScalarType,  unsigned int TDimension >

can you comment this change with respect to the rest of the pull request?

—
Reply to this email directly or view it on GitHub <https://github.com/statismo/statismo/pull/43/files#r13848347> .  <https://github.com/notifications/beacon/4539251__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODYxNDAzNCwiZGF0YSI6eyJpZCI6MzQ4MjQ1MTl9fQ==--0bb7cd0146a3a63b2b364cd681cd73f570f29153.gif>