Greetings,
1) On what system do you work? (Linux/Windows/Mac, which OS-Version, 32 or
64 bit)
a. Windows 10 64

2) What compiler do you use? (e.g. gcc, VC9, VC10, clang)
a. VC15 (Visual Studio 17)

3) Which tool did you use to build the project? (e.g. cmake, also provide
the version number)
a. CMake 3.12.4
b. CMake 3.13.5
c. CMake 3.14.5
d. CMake 3.15.3

4) Which version of MITK did you try to build/compile? (please also provide
the branch name or the hash value of the git version)
a. I'm not sure which version I'm using, but I checked my mitk
source/CMakeLists.txt, one line is like this 'project(MITK VERSION
2018.04.99)'


In a word, I want to make my own QT applications ( with my own ui ), but I
also want to use some mitk functions.
I've finished the superbuild of MITK, then I stucked here for 3 weeks ;___;
I tried the following steps:
1. The first thing I do after compiled the mitk is trying to use
the MitkPluginGenerator.
And I tried the command: MitkPluginGenerator -plugin-symbolic-name
org.mycompany.myplugin -view-name "My View" -project-name "MyProject"
-project-app-name "MyApp" -o E:\MITKxm\bianyi
Then superbuild this MyProject, but it shows fatal error LNK1112: module
machine type 'x86' conflicts with target machine type 'x64' I tried to
change earlier CMake version, but the CMakeLists.txt of MyProject requires
cmake version minimum 3.14.5.  I couldn't fix it.
2. Then I read some posts, I think you can just write your own CMakeLists
to construct the project and inject the MITK stuff, but I couldn't find an
example that can use on recently MITK version.  And I'm new with CMake...
(I can only find  the one in
http://docs.mitk.org/2018.04/BuildInstructionsPage.html#BuildInstructions_Prerequisites,
but the one is too small, and it doesnt contain the QT)
3. Then read some more posts, they said you can use the mitk-project
template but I couldn't know how to run this template(like I wanted to run
Modules/ExampleModule/cmdapps to do the same with the step1 of tutorials).
I tried to use CMake to config the cmdapps directory (only this directory
has CMakeLists.txt), and it doesnt work T__T
Then i tried to config the MITK source directory and set the
MITK_EXTENSION_DIRS to the template dir, but it still doesn't work (I cant
find the external mitk dir in CMake,and it starts to re superbuild MITK ?_?)
4. After that, I was thinking if my mitk version is wrong, I tried to get
another version of mitk git clone -b releases/2018-04 (but I'm not sure if
its the right command), but fail of compile: CMake Error at
CMake/mitkMacroInstallTargets.cmake:23 (get_target_property): called with
non-existent target 'MitkImageResampler). And I tried to change CMake
verstsion, but can't fix it :<


I only want to make my own QT project, and use some mitk functions inside,
(like use the image registration, and image segmentation part)
Could you please help me out?


Best regards
Veltia
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to