Hi!
I'd like to build my own Step1 of the tutorial, so I wrote the following CMakeList.txt:

PROJECT(Step1)

CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
if(COMMAND cmake_policy)
   cmake_policy(SET CMP0003 OLD)
endif(COMMAND cmake_policy)

FIND_PACKAGE(MITK REQUIRED)

MITK_USE_MODULE(QmitkExt)
INCLUDE_DIRECTORIES(${ALL_INCLUDE_DIRECTORIES})

FIND_PACKAGE(ITK REQUIRED)
INCLUDE(${ITK_USE_FILE})

FIND_PACKAGE(Qt4 REQUIRED)
INCLUDE(${QT_USE_FILE})
INCLUDE_DIRECTORIES(${QMITK_INCLUDE_DIRS})
LINK_DIRECTORIES(${QMITK_LINK_DIRECTORIES})

ADD_EXECUTABLE(Step1 Step1.cpp QtTesting.cpp)
TARGET_LINK_LIBRARIES(Step1 ${QMITK_LIBRARIES} ${QT_LIBRARIES})


I'm using the following versions of the programs:
VS2008, CMake 2.8.2, QT4.7, VTK5.6.1, ITK 3.20, MITK svn http://svn2.mitk.org/trunk/mitk The programs are working, so is the tutorial in MITK, but by configuring CMake I get the following errors:



CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:138 (INCLUDE):

include could not find load file:

MacroParseArguments

Call Stack (most recent call first):

C:/Program Files/MITK/bin/MITKConfig.cmake:37 (INCLUDE)

CMakeLists.txt:8 (FIND_PACKAGE)

CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:347 (INCLUDE):

include could not find load file:

MITK_ITK_Config

Call Stack (most recent call first):

CMakeLists.txt:10 (MITK_USE_MODULE)

CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:347 (INCLUDE):

include could not find load file:

MITK_Poco_Config

Call Stack (most recent call first):

CMakeLists.txt:10 (MITK_USE_MODULE)

CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:347 (INCLUDE):

include could not find load file:

MITK_QT_Config

Call Stack (most recent call first):

CMakeLists.txt:10 (MITK_USE_MODULE)

CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:347 (INCLUDE):

include could not find load file:

MITK_QVTK_Config

Call Stack (most recent call first):

CMakeLists.txt:10 (MITK_USE_MODULE)

CMake Error at C:/Program Files/MITK/src/CMake/CoreHelpers.cmake:347 (INCLUDE):

include could not find load file:

MITK_VTK_Config

Call Stack (most recent call first):

CMakeLists.txt:10 (MITK_USE_MODULE)


Does anybody know what's wrong about the file?


Best regards
Michela
------------------------------------------------------------------------------
Achieve Improved Network Security with IP and DNS Reputation.
Defend against bad network traffic, including botnets, malware, 
phishing sites, and compromised hosts - saving your company time, 
money, and embarrassment.   Learn More! 
http://p.sf.net/sfu/hpdev2dev-nov
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to