Dear Sascha,
Thank you very much. Yes, YaoRao is my name. I'm a chinese, I
translate the important part of the mitk compiling errors report into
english.
I set BUILD_OPENCHERRY to ON in my CMake configuration and found the
project MainApp in the mitk.sln and MainApp.exe in the debug bin. But
the errors occured
during compiling. Then, I set the MainApp as the start project, but
the MainApp interface did not appeared after the cmd window flashed. I
found the reasons
mainly about the opencherry. How to use the opencherry and where to
download it. I download the mitk source using
TortoiseSVN-1.5.5.14361-win32-svn-1.5.4
from http://svn.mitk.org/trunk/mitk. Would you like to help me. Thanks
a lot.
1>..\..\..\..\..\source\Utilities\openCherry\Bundles\org.opencherry.core.commands\src\cherryCommandManager.cpp(169)
: error C2259:
??cherry::CommandManager::ExecutionListener??: cannot instantiate
abstract class
1> because of the folowing :
1> ??void cherry::IExecutionListener::PostExecuteSuccess(const
std::string &,cherry::Object::Pointer)??: is abstract
1>
d:\mitk\source\utilities\opencherry\bundles\org.opencherry.core.commands\src\cherryIExecutionListener.h(99)
: ????
??cherry::IExecutionListener::PostExecuteSuccess????????
1>..\..\..\..\..\source\Utilities\openCherry\Bundles\org.opencherry.core.commands\src\cherryCommandManager.cpp(192)
: warning C4290: ignore C++ ????????????
???????????? __declspec(nothrow)
1>..\..\..\..\..\source\Utilities\openCherry\Bundles\org.opencherry.core.commands\src\cherryCommandManager.cpp(318)
: warning C4290: ignore C++ ????????????
???????????? __declspec(nothrow)
1>..\..\..\..\..\source\Utilities\openCherry\Bundles\org.opencherry.core.commands\src\cherryCommandManager.cpp(444)
: warning C4290: ignore C++ ????????????
???????????? __declspec(nothrow)
1>..\..\..\..\..\source\Utilities\openCherry\Bundles\org.opencherry.core.commands\src\cherryCommandManager.cpp(503)
: warning C4290: ignore C++ ????????????
???????????? __declspec(nothrow)
1>????????????????file://d:\mitk\bin\Utilities\openCherry\Bundles\
org.opencherry.core.commands\org_opencherry_core_commands.dir\Debug\BuildLog.htm??
1>org_opencherry_core_commands - 1 errors??129 warnings
10>------ started to generate: project: org_opencherry_ui, configure:
Debug Win32 ------
10>linking...
10>LINK : fatal error LNK1104: can not open
file??org_opencherry_core_commandsd.lib??
10>????????????????file://d:\mitk\bin\Utilities\openCherry\Bundles\
org.opencherry.ui\org_opencherry_ui.dir\Debug\BuildLog.htm??
10>org_opencherry_ui - 1 errors??0 warnings
11>------ started to generate: project: org_opencherry_ui_qt,
configure: Debug Win32 ------
12>------ started to generate: project: org_mitk_gui_common,
configure: Debug Win32 ------
12>linking...
12>LINK : fatal error LNK1104: can not open file??org_opencherry_uid.lib??
12>????????????????file://d:\mitk\bin\Bundles\org.mitk.gui.common\
org_mitk_gui_common.dir\Debug\BuildLog.htm??
12>org_mitk_gui_common - 1 errors??0 warnings
11>linking...
11>LINK : fatal error LNK1104: can not open file??org_opencherry_uid.lib??
11>????????????????file://d:\mitk\bin\Utilities\openCherry\Bundles\
org.opencherry.ui.qt\org_opencherry_ui_qt.dir\Debug\BuildLog.htm??
11>org_opencherry_ui_qt - 1 errors??0 warnings
13>------ started to generate: project: org_mitk_gui_qt_application,
configure: Debug Win32 ------
13>linking...
13>LINK : fatal error LNK1104: can not open file??org_mitk_gui_commond.lib??
13>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.application\
org_mitk_gui_qt_application.dir\Debug\BuildLog.htm??
13>org_mitk_gui_qt_application - 1 errors??0 warnings
14>------ started to generate: project: org_mitk_gui_qt_common,
configure: Debug Win32 ------
14>linking...
14>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_applicationd.lib??
14>????????????????file://d:\mitk\bin\Bundles\org.mitk.gui.qt.common\
org_mitk_gui_qt_common.dir\Debug\BuildLog.htm??
14>org_mitk_gui_qt_common - 1 errors??0 warnings
15>------ started to generate: project: org_mitk_gui_qt_stdviews,
configure: Debug Win32 ------
16>------ started to generate: project: org_mitk_gui_qt_datamanager,
configure: Debug Win32 ------
17>------ started to generate: project: org_mitk_gui_qt_helloworld,
configure: Debug Win32 ------
18>------ started to generate: project: org_mitk_gui_qt_imagecropper,
configure: Debug Win32 ------
15>linking...
16>linking...
17>linking...
15>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
18>linking...
17>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
16>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
18>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
15>????????????????file://d:\mitk\bin\Bundles\org.mitk.gui.qt.stdviews\
org_mitk_gui_qt_stdviews.dir\Debug\BuildLog.htm??
15>org_mitk_gui_qt_stdviews - 1 errors??0 warnings
17>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.helloworld\
org_mitk_gui_qt_helloworld.dir\Debug\BuildLog.htm??
17>org_mitk_gui_qt_helloworld - 1 errors??0 warnings
16>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.datamanager\
org_mitk_gui_qt_datamanager.dir\Debug\BuildLog.htm??
18>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.imagecropper\
org_mitk_gui_qt_imagecropper.dir\Debug\BuildLog.htm??
18>org_mitk_gui_qt_imagecropper - 1 errors??0 warnings
16>org_mitk_gui_qt_datamanager - 1 errors??0 warnings
19>------ started to generate: project:
org_mitk_gui_qt_interactivesegmentation, configure: Debug Win32 ------
20>------ started to generate: project: org_mitk_gui_qt_isosurface,
configure: Debug Win32 ------
21>------ started to generate: project: org_mitk_gui_qt_measurement,
configure: Debug Win32 ------
22>------ started to generate: project: org_mitk_gui_qt_regiongrowing,
configure: Debug Win32 ------
20>linking...
21>linking...
19>linking...
20>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
21>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
19>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
20>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.isosurface\
org_mitk_gui_qt_isosurface.dir\Debug\BuildLog.htm??
20>org_mitk_gui_qt_isosurface - 1 errors??0 warnings
21>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.measurement\
org_mitk_gui_qt_measurement.dir\Debug\BuildLog.htm??
21>org_mitk_gui_qt_measurement - 1 errors??0 warnings
19>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.interactivesegmentation\org_mitk_gui_qt_interactivesegmentation.dir\Debug\BuildLog.htm??
19>org_mitk_gui_qt_interactivesegmentation - 1 errors??0 warnings
22>linking...
22>LINK : fatal error LNK1104: can not open
file??org_mitk_gui_qt_commond.lib??
22>????????????????file://d:\mitk\bin\Bundles\
org.mitk.gui.qt.regiongrowing\
org_mitk_gui_qt_regiongrowing.dir\Debug\BuildLog.htm??
22>org_mitk_gui_qt_regiongrowing - 1 errors??0 warnings
23>------ ??????????: project: PACKAGE, configure: Debug Win32 ------
23>????????????????configure????????????project
24>------ ??????????: project: INSTALL, configure: Debug Win32 ------
24>????????????????configure????????????project
========== ????: 0 success, 14 failed, 24 latest, 10 escaped ==========
----- ???????? -----
????????Sascha Zelzer <[email protected]>
[email protected]
??????Re: [mitk-users] Can not find the project MainApp
??????2009-4-15 03:05:35
Hi yaorao (is that your name?),
please see the FAQ at http://www.mitk.org/wiki/MITKOpenCherryFAQ and
http://www.mitk.org/wiki/SetupMitkQt4OpenCherry. You probably have to
set BUILD_OPENCHERRY to ON in your CMake configuration in order to
generate a MainApp.exe. However, this will not lead to the application
in your screenshot (this is the Qt3 MainApp). Be sure to update your svn
checkout regularly if you want to try out the Qt4 MainApp.
Regards,
Sascha
[email protected] schrieb:
> I configed the mitk-0.10.0 with Cmake-2.6.3 based on VC2005,
> VTK-5.2.1, ITK-3.8.0 and Qt-4.5.0 and compiled the MITK.sln
> successfully. But there was not project MainApp in MITK.sln. Why? I
> want to run the interface in VC2005 as the picture below (the same
> interface as the MITK - Main Application.exe). How to do? Please help!
> ------------------------------------------------------------------------
>
>
------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ------------------------------------------------------------------------
>
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>