Page MenuHomePhabricator

Visual Studio 2012 compatibility
Closed, ResolvedPublic

Description

Make MITK compatible with Visual Studio. Main issue is compiling QT for x64 and the new interface of std::make_pair

Related Objects

StatusAssignedTask
ResolvedNone
ResolvedNone

Event Timeline

New remote branch pushed: bug-15398-VisualStudioCompatibilty

New remote branch pushed: bug-15398-IntegrationVisualStudio2012Compatibility

Duo to problems with boost and VS2012, boost must be version 1.53 or higher if its used.

To be able to enable diffusion minor changes in QmitkRigidRegistrationSelector are necessary. The main problem is that the return type of Geometry3D::clone() has changed from AffineGeometryFrame3D::Pointer to Geometry3D::Pointer. If this is taken into account diffusion compiles without any problems.

Segmentation, Measurement, Moviemaker and Volumenvisualisation are compiling without any problems.

Since the definition of std::make_pair has changed in C++11 it had to be changed in a few places in the core. The best solution is to remove the template parameter and let the compiler deduce the template parameters from the function parameters.

This solution works with VS2012, VS2008 and gcc.

[aabf94]: Merge branch 'bug-15398-IntegrationVisualStudio2012Compatibility'

Merged commits:

2013-06-28 10:37:06 Michael Goetz [7c11fe]
Fixed Problems with the regid registration (std::map related)


2013-06-28 10:35:15 Michael Goetz [9f04f2]
Merge branch 'bug-15398-VisualStudioCompatibilty' into bug-15398-IntegrationVisualStudio2012Compatibility


2013-06-27 01:59:12 Sascha Zelzer [3a1d20]
MITK 2013.06.00 version update


2013-06-17 14:51:15 Michael Goetz [fcbafb]
Workaround for small bug


2013-06-17 14:19:43 Michael Goetz [9670f6]
Workaround for ConstPointer Issue on Linux


2013-06-17 13:59:58 Michael Goetz [c50e3f]
Changed some calls of std::make_pair since interface changed

Mitk can now be compiled with VS 2012. No Problem so far, so i'll close this bug.