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. 
Yes certainly. Feel free to do that. I have never written a CMake loop. If it is too difficult and confusing, we can sill stick to just writing all the executables down.

 

From: Arnaud Gelas [mailto:notifications@github.com] 
Sent: Dienstag, 17. Juni 2014 10:45
To: statismo/statismo
Cc: tom-albrecht
Subject: Re: [statismo] Windows bugfixes (#43)

 

In Examples/ITK/CMakeLists.txt:

> +  ADD_DEFINITIONS( -D BOOST_NO_0X_HDR_INITIALIZER_LIST )
> +ENDIF()
> +
> +    
> +SET (ITK_STATISTICAL_MODEL_INCLUDE_DIR ${STATISMO_ROOT_DIR}/ITKstatismo)
> +
> +FILE(GLOB INCLUDE_FILES *.h)
> +FILE(GLOB SOURCE_FILES  *.txx )
> +
> +include_directories(${STATISMO_ROOT_DIR} ${STATISMO_ROOT_DIR}/statismo_ITK  ${STATISMO_ROOT_DIR}/3rdParty  ${STATISMO_INCLUDE_DIR}  
> +                                        ${ITK_INCLUDE_DIRS} ${ITK_INCLUDE_DIRS}/itkhdf5 ${ITK_INCLUDE_DIRS}/itkhdf5/cpp ${STATISMO_ROOT_DIR}/Representers/ITK)
> +
> +
> +link_directories( ${ITK_LIBRARY_DIRS} ${STATISMO_LIBRARY_DIR} )
> +
> +add_executable (itkBuildDeformationModel buildDeformationModel.cpp 

it would be much easier to maintain if there was a for loop here to create all these executables

—
Reply to this email directly or view it on GitHub <https://github.com/statismo/statismo/pull/43/files#r13848275> .  <https://github.com/notifications/beacon/4539251__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcxODYxMzg5OSwiZGF0YSI6eyJpZCI6MzQ4MjQ1MTl9fQ==--333ebc00e982891789aa9b864babea1b1718dac4.gif>