MITK构建错误

时间:2015-04-01 05:08:14

标签: visual-studio-2010 qt cmake mitk

我手动构建Qt 4.7.4 64位并在window7中使用cmake-gui制作MITK源。

configure.exe -debug-and-release -qt-sql-sqlite -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-declarative -mp -nomake examples -nomake demos -nomake docs -opensource -platform win32-msvc2013

制作MITK之后,我使用visual studio 2010 64bit构建它

但是有一些像这样的错误

Error   91  error : could not find CMAKE_GENERATOR in Cache D:\MITK\MITK-superbuild-msvc2010_x64-03\CUSTOMBUILD

Error   89  error MSB6006: "cmd.exe" exited with code 1.    C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets   151

我该怎么做才能解决这个问题?

1 个答案:

答案 0 :(得分:0)

我有类似的问题。这两个链接非常有用:

https://www.mail-archive.com/mitk-users@lists.sourceforge.net/msg06034.html

http://sourceforge.net/p/mitk/mailman/message/34233529/

首先我从gnuwin32网站下载了patch.exe。然后我在系统变量中添加了它的路径。

使用CMake我从源文件构建了MITK: MITK-2015.05.0-src-win.zip

在所有程序中,我阻止了我的防病毒软件。现在它工作正常。