Dear All,
 
after following the developer tutorial as well as the first-steps-projects I wanted to start working on my own project.
I wanted to start by creating a small application, which for now, is supposed to read in nrrd images and with the help of
certain libraries, for example vtk, transform them to other image formats.
I guessed that building a new project with the plugin - generator, as you are showing on your web page, is a proper
start to that (is that already a wrong assumption, for a project like this, should I proceed differently?).
 
What I did is to follow the plugin-generator tutorial and create my project ("Angelov_Project") within a folder that i specified with the out-dir flag.
I created a new build directory ("Angelov_Project_bin") for all the binaries... what I did afterwards is to build the project using cmake.
I let all the preselected flags as-is and generated the project.
I chose my project folder ("Angelov_Project") as my source directory and "Angelov_Project_bin" as my build directory.
 
In the following I tried to build it within Visual Studio, which quickly results in the following errors:
MSB6006, "cmd.exe" exited with code 1  MITK   Microsoft.CppCommon.targets  line 209
MSB6006, "cmd.exe" exited with code 1  Angelov_Project_configure   Microsoft.CppCommon.targets  line 209
 
I guess I am not understanding the whole build process correctly, I also guess that I should have, again (like in the tutorial), selected the MITK directory (where I checked out the suitable version
as described in the tutorial) as the source directory and my project as an external directory, but I though it should be possible in another way,
also because I don't want to build all the other stuff every time I start a project.
 
Afterwards I saw the possibility of setting the EXTERNAL_MITK_DIR" flag, which, I thought, would solve the problem.
This time, already the configuration with cmake fails, because there is no MITKconfig.cmake file inside the directory....
There only is a "MITKConfig.cmake.in", as I saw after looking inside.
 
It looks like there is something I don't understand on starting my project and the involved build process, therefore I would
appreciate if you could help me with that issue.
I am looking forward to hearing from you soon.
 
Kind regards
 
Ivaylo Angelov
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to