Hi,
I'm trying to get started with MITK by following the tutorial steps. I've
successfully build MITK via the superbuild option. Now I've copied step1.cpp
into a new folder and wrote my own CMakeLists holding the following information:
PROJECT(Step1)
CMAKE_MINIMUM_REQUIRED(VERSION 2.4)
if(COMMAND cmake_policy)
cmake_policy(SET CMP0003 OLD)
endif(COMMAND cmake_policy)
FIND_PACKAGE(MITK REQUIRED)
FIND_PACKAGE(Qt4 REQUIRED)
INCLUDE(${QT_USE_FILE})
FIND_PACKAGE(ITK REQUIRED)
FIND_PACKAGE(VTK REQUIRED)
INCLUDE_DIRECTORIES(${QMITK_INCLUDE_DIRS})
LINK_DIRECTORIES(${MITK_LINK_DIRECTORIES})
ADD_EXECUTABLE(Step1 Step1.cpp)
TARGET_LINK_LIBRARIES(Step1 ${QMITK_LIBRARIES} ${QT_LIBRARIES})
however, when I try to compile step1 I get an error "itkObject.h": No such file
or directory.
It's probably simple to solve but I'm not familiar with writing CMake files.
I'm using Visual Studio 2008.
all the best and thanks for your help
Timm
--
NEU: FreePhone - kostenlos mobil telefonieren und surfen!
Jetzt informieren: http://www.gmx.net/de/go/freephone
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users