Page MenuHomePhabricator

Allow Visual Studio Express compilation
Closed, WontfixPublic

Description

When linking MITK using Visual Studio Express 2008, there's an error message.

Linking...

Creating library D:\projects\build\thirdparty\bin\Debug\mitkCoreExt.lib and object D:\projects\build\thirdparty\bin\Debug\mitkCoreExt.exp

mitkMovieGenerator.obj : error LNK2019: unresolved external symbol "protected: thiscall mitk::MovieGeneratorWin32::MovieGeneratorWin32(void)" (??0MovieGeneratorWin32@mitk@@IAE@XZ) referenced in function "public: static class itk::SmartPointer<class mitk::MovieGeneratorWin32> cdecl mitk::MovieGeneratorWin32::New(void)" (?New@MovieGeneratorWin32@mitk@@SA?AV?$SmartPointer@VMovieGeneratorWin32@mitk@@@itk@@XZ)

To fix this error, I added a flag in CMake to disable the conflicting lines.

Event Timeline

xplanes added a subscriber: xplanes.

Unified patch

Actually nobody at mbi uses Visual Studio Express Version, as a first step to reproduce this bug, I download acopy of VS Express 2010 and create a dart client with this IDE.

I tried to compile MITK with Visual Studio Express 2010. An Error (D8030 internal compiler errror) occurred. This error is an VSE specific error for projects build with /MT (multi threaded) flag set as MITK is. A fix for this MSVC Bug is provided only for commercial version of Visual Studio 2010 and not for the Express version.
We are sorry but this bug will not be fixed, for Visual Studio Express is not officially supported!

kislinsk added a project: Bulk Edit.
kislinsk removed a project: Bulk Edit.