Thanks a lot, Sascha, sounds good so far..
I set up a CMakeList.txt as following:
PROJECT(myMitkModule)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(BUILD_SHARED_LIBS 1)
FIND_PACKAGE(MITK REQUIRED)
MITK_CREATE_MODULE( MyMitkModule
INCLUDE_DIRS core
DEPENDS MitkExt QmitkExt
QT_MODULE
)
And a files.cmake:
SET(CPP_FILES
core/storage/DataStorageAccess.cpp
core/storage/DataStorageComboBox.cpp
)
SET(MOC_H_FILES
core/storage/DataStorageAccess.h
)
SET(UI_FILES
)
SET(QRC_FILES
)
Directory tree:
build
src
core
storage
DataStorageAccess.cpp
DataStorageAccess.h
DataStorageComboBox.cpp
DataStorageComboBox.h
CMakeList.txt
files.cmake
I called ccmake inside "build" with "ccmake ../src" and configured the
variables:
CMAKE_BUILD_TYPE
CMAKE_INSTALL_PREFIX /usr/local
MITK_DIR [my mitk build dir]
Poco_FOUNDATION_LIB [my mitk build dir]/bin
Poco_INCLUDE_DIR [my mitk src dir]/Utilities/Poco
Poco_LIBRARY_DIR [my mitk build dir]/bin
QT_QMAKE_EXECUTABLE [my qt dir]/bin/qmake
After generating the makefile and invoking "make", i receive errors from
mitk / blueberry headers included in DataStorageAccess.cpp:
In file included from [my project
path]/src/core/storage/DataStorageAccess.cpp:11:
[my project path]/src/core/storage/DataStorageAccess.h:18:32: error:
QmitkFunctionality.h: No such file or directory
[my project path]/src/core/storage/DataStorageAccess.h:24:37: error:
berryISelectionListener.h: No such file or directory
[my project path]/src/core/storage/DataStorageAccess.h:25:36: error:
berryISelectionService.h: No such file or directory
[my project path]/src/core/storage/DataStorageAccess.cpp:16:35: error:
berryIWorkbenchWindow.h: No such file or directory
[my project path]/src/core/storage/DataStorageAccess.cpp:18:44: error:
QmitkDataNodeSelectionProvider.h: No such file or directory
[my project
path]/mitk_qt4_core_bmcv/src/core/storage/DataStorageAccess.cpp:21:32:
error: mitkDataNodeObject.h: No such file or directory
Did i miss anything?
Best regards,
Simon
------------------------------------------------------------------------------
What happens now with your Lotus Notes apps - do you make another costly
upgrade, or settle for being marooned without product support? Time to move
off Lotus Notes and onto the cloud with Force.com, apps are easier to build,
use, and manage than apps on traditional platforms. Sign up for the Lotus
Notes Migration Kit to learn more. http://p.sf.net/sfu/salesforce-d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users