When i compile MITK under 64bit Windows 7 using Visual Studio 10 I get a
lot of the following errors:
10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachine.cpp(294):
error C2220: warning treated as error - no 'object' file generated
10>
10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachine.cpp(294):
warning C4267: 'initializing' : conversion from 'size_t' to 'unsigned
int', possible loss of data
10>
10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachineFactory.cpp(123):
error C2220: warning treated as error - no 'object' file generated
10>
10>..\..\..\..\..\MITK_SOURCE\MITK-2012.09.0\Core\Code\Interactions\mitkStateMachineFactory.cpp(123):
warning C4267: 'argument' : conversion from 'size_t' to 'unsigned int',
possible loss of data
So I have to disable "treat warnings as error" to successfully compile
MITK.