Hi,

try Qt 5.4 instead, as VTK 6.2 seems not to be compatible with Qt 5.5. The 
officially supported Qt versions of MITK 2015.05 are versions 5.0 - 5.4. Also 
consider using MSVC 2013 (for example the Community Edition), as we will drop 
MSVC 2012 support in the master after the upcoming release. If you're not an 
experienced MITK developer, you may also consider to base your work on the 
latest release instead of being on the bleeding edge of the unstable master 
branch.

Best regards,
Stefan

-----Original Message-----
From: Ruttorf, Michaela [mailto:michaela.rutt...@medma.uni-heidelberg.de] 
Sent: Mittwoch, 30. März 2016 15:03
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] WG: Building mitk in vs 2012

So once again ....

---------------------------------------------------
Arbeitsgruppenleiter "Funktionelle MRT"
Computerunterstützte Klinische Medizin
Medizinische Fakultät Mannheim
Ruprecht-Karls-Universität Heidelberg
Theodor-Kutzer-Ufer 1 - 3
68167 Mannheim 

Phon: +621-383 5117
Fax: +621-383 5123
http://www.umm.uni-heidelberg.de/inst/cbtm/ckm/groups/FMRI/



-----Ursprüngliche Nachricht-----
Von: Ruttorf, Michaela
Gesendet: Dienstag, 22. März 2016 12:55
An: 'mitk-users@lists.sourceforge.net'
Betreff: [mitk-users] Building mitk in vs 2012

Hi all,

got the same problem as vahid kadivarkadivar <vahidkadivar66@gm...> - 
2015-04-27 09:14:59

CMake Error at CMake/PackageDepends/MITK_VTK_Config.cmake:1 (find_package):
    By not providing "FindVTK.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "VTK", but
    CMake did not find one.

    Could not find a package configuration file provided by "VTK" with any of
    the following names:

      VTKConfig.cmake
      vtk-config.cmake

    Add the installation prefix of "VTK" to CMAKE_PREFIX_PATH or set "VTK_DIR"
    to a directory containing one of the above files.  If "VTK" provides a
    separate development package or SDK, be sure it has been installed.

Already tried ...

it looks like your VTK build was not successful. Please right-click on the 
"VTK" project within the MITK-superbuild.sln solution and select "Build Only / 
Rebuild only VTK" and check if there are error message specific to the VTK 
build.

This is what I get (exemplarily for 2763 more errors):

1>  "C:\MITK\MITK-superbuild\ep\src\VTK-build\ALL_BUILD.vcxproj" 
1>(Standardziel) (1) ->
1>  
1>"C:\MITK\MITK-superbuild\ep\src\VTK-build\GUISupport\Qt\QVTKWidgetPlug
1>in.vcxproj" (Standardziel) (5) ->
1>  (Link Ziel) ->
1>Q4VTKWidgetPlugin.obj : error LNK2019: Verweis auf nicht aufgel÷stes 
1>externes Symbol ""__declspec(dllimport) public: __cdecl 
1>QMessageLogger::QMessageLogger(char const *,int,char const *)"
1>(__imp_??0QMessageLogger@@QEAA@PEBDH0@Z)" in Funktion ""public: 
1>__cdecl QVTKWidgetPlugin::QVTKWidgetPlugin(void)" 
1>(??0QVTKWidgetPlugin@@QEAA@XZ)". 
1>[C:\MITK\MITK-superbuild\ep\src\VTK-build\GUISupport\Qt\QVTKWidgetPlug
1>in.vcxproj] Q4VTKWidgetPlugin.obj : error LNK2019: Verweis auf nicht 
1>aufgel÷stes externes Symbol ""__declspec(dllimport) public: void 
1>__cdecl QMessageLogger::debug(char const *,...)const "
1>(__imp_?debug@QMessageLogger@@QEBAXPEBDZZ)" in Funktion ""public: 
1>__cdecl QVTKWidgetPlugin::QVTKWidgetPlugin(void)" 
1>(??0QVTKWidgetPlugin@@QEAA@XZ)". 
1>[C:\MITK\MITK-superbuild\ep\src\VTK-build\GUISupport\Qt\QVTKWidgetPlug
1>in.vcxproj] Q4VTKWidgetPlugin.obj : error LNK2019: Verweis auf nicht 
1>aufgel÷stes externes Symbol ""__declspec(dllimport) public: __cdecl 
1>QChar::QChar(struct QLatin1Char)"
1>(__imp_??0QChar@@QEAA@UQLatin1Char@@@Z)" in Funktion ""public: virtual 
1>class QString __cdecl 
1>QDesignerCustomWidgetInterface::domXml(void)const "
1>(?domXml@QDesignerCustomWidgetInterface@@UEBA?AVQString@@XZ)". 
1>[C:\MITK\MITK-superbuild\ep\src\VTK-build\GUISupport\Qt\QVTKWidgetPlug
1>in.vcxproj] Q4VTKWidgetPlugin.obj : error LNK2019: Verweis auf nicht 
1>aufgel÷stes externes Symbol ""__declspec(dllimport) public: __cdecl 
1>QString::QString(void)" (__imp_??0QString@@QEAA@XZ)" in Funktion
1>""public: virtual class QString __cdecl 
1>QDesignerCustomWidgetInterface::codeTemplate(void)const "
1>(?codeTemplate@QDesignerCustomWidgetInterface@@UEBA?AVQString@@XZ)". 
1>[C:\MITK\MITK-superbuild\ep\src\VTK-build\GUISupport\Qt\QVTKWidgetPlug
1>in.vcxproj]
 
Using QT 5.5.1 - Visual Studio Express 2012 Update 4 on Windows7 sp1 x64 - MITK 
via git clone http://git.mitk.org/MITK.git

Any ideas? Thanks,

Michaela



------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with Intel Data Analytics 
Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785471&iu=/4140
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to