Hi luoxiayizhi,
please keep the discussion on the list so others can profit from it in the
future.
There should be no need to copy the ITK source anywhere. You can just change
the configuration in the binary folder and should be fine. However regarding
ITKVTKGlue and so on, these configurations are not tested by us and you might
need to do additional things (like providing a VTK path etc.). For these
problems you will probably get better help from the ITK mailing list.
Regarding your usage of MITK I am not entirely certain what your issue is. Do
you want to use MITK to develop your application, or only as a library (like
VTK)? You could take a look at our documentation to get a feeling what would
suit your situation best [1].
Best,
Caspar
[1] http://docs.mitk.org/nightly/Overview.html
Von: luoxiayizhi [mailto:[email protected]]
Gesendet: Mittwoch, 15. April 2015 10:47
An: Goch, Caspar Jonas
Betreff: Re: AW: [mitk-users] How to compile ITK projects?
Hi Caspar,
Thanks for your reply. Let me express my problem in another way.
Actually, I have once copied a folder in MITK-master-bin/VTK-build to desktop,
then I CMAKE and build it, it can run successfully! So I tried to use ITK the
same way but I failed as I said in the email before.
Is this building ITK yourself and not using the MITK superbuild?
The cmakelists in turtorial is incomplete, so when I want to realize the
function in step1 , I have to open QT,open MITK project , run the example.
Everytime I try to open the project MITK-master in QT, it takes me 3-4 minutes.
It takes to much time isn't it?Is there any way to use MITK conveniently
likeVTK? Can I realize simple functions indepently?(I know that with files
xxx.camkelists and xxx.cpp I can realize VTK function. How about MITK? )
Bests,
2015-04-15
________________________________
luoxiayizhi
________________________________
发件人:"Goch, Caspar Jonas"
<[email protected]<mailto:[email protected]>>
发送时间:2015-04-13 19:35
主题:AW: [mitk-users] How to compile ITK projects?
收件人:"'luoxiayizhi'"<[email protected]<mailto:[email protected]>>,"mitk-users"<[email protected]<mailto:[email protected]>>
抄送:
Hi Luoxiayizhi,
if I interpret your path correctly you are building ITK yourself and not using
the MITK superbuild? In that case, and with regards to ITK example questions I
would like to point you to the ITK users list [1], where they are probably more
qualified to answer those questions.
Best,
Caspar
[1] http://www.itk.org/ITK/help/mailing.html
Von: luoxiayizhi [mailto:[email protected]]
Gesendet: Montag, 13. April 2015 08:50
An: mitk-users
Betreff: [mitk-users] How to compile ITK projects?
Dear mitk-users,
I have met a problem that is hard to be solved myself.
I tried to compile the first example
http://itk.org/Wiki/ITK/Examples/SimpleOperations/SetPixels<http://www.itk.org/Wiki/ITK/Examples/IO/ImageFileReader>
but I failed to configure it when open the project in QT.
I have already ticked Module_itkvtkglue. I can compile VTK programme easily but
not ITK. I want to know how to solve this problem without add a mitk-plugin.
Here is the QT message:
**********************************************************
Configuring incomplete, errors occurred!
See also
"/home/lingling/Tutorial/itktutorial/build-SetPixels-Desktop-Default/CMakeFiles/CMakeOutput.log".
CMake Warning at /usr/share/cmake-2.8/Modules/FindITK.cmake:48 (find_package):
Could not find a package configuration file named "ITKConfig.cmake"
provided by package "ITK".
Add the installation prefix of "ITK" to CMAKE_PREFIX_PATH or set "ITK_DIR"
to a directory containing one of the above files. If "ITK" provides a
separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
CMakeLists.txt:5 (find_package)
CMake Error at CMakeLists.txt:6 (include):
include called with wrong number of arguments. Include only takes one
file.
CMake Warning at CMakeLists.txt:11 (find_package):
By not providing "FindItkVtkGlue.cmake" in CMAKE_MODULE_PATH this project
has asked CMake to find a package configuration file provided by
"ItkVtkGlue", but CMake did not find one.
Could not find a package configuration file provided by "ItkVtkGlue" with
any of the following names:
ItkVtkGlueConfig.cmake
itkvtkglue-config.cmake
Add the installation prefix of "ItkVtkGlue" to CMAKE_PREFIX_PATH or set
"ItkVtkGlue_DIR" to a directory containing one of the above files. If
"ItkVtkGlue" provides a separate development package or SDK, be sure it has
been installed.
CMake Error at CMakeLists.txt:12 (include):
include called with wrong number of arguments. Include only takes one
file.
************************************************************
Yours,
Luoxiayizhi
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users