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:luoxiayi...@163.com]
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
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users