Hi Esmitt,

I am actually rather surprised that you managed to go that far with MSVS 2017 
as the November release does not support it yet. I am not entirely certain 
whether you used to the plugin generator to generate a plugin or a project. A 
plugin by itself should not be able to generate/compile. For a newbie friendly 
guide you could take a look at [1]. It will walk you through setting up your 
own MITK based project to which you can then add your own plugin as described 
in [2]. Please take note of the recommended tool and toolkit versions.

Best,
Caspar

[1] http://mitk.org/wiki/Developer_Tutorial
[2] http://docs.mitk.org/2016.11/NewPluginPage.html


Von: Esmitt Ramirez J. [mailto:esmitt.rami...@gmail.com]
Gesendet: Freitag, 15. September 2017 14:00
An: mitk-users@lists.sourceforge.net
Betreff: [mitk-users] PluginGenerator using Visual Studio 2017

Hello everyone. I was looking a solution for my problem in the mail listing, 
but I did not found it (sorry if question is repeated)

I downloaded the stable version (november/2016) and compiled into Visual Studio 
2017. Also, I focused on the project MitkPluginGenerator, to generate a set of 
files as described in the documentation (using the .exe in console). To this 
point, everything is right, following the steps described in 
http://docs.mitk.org/2016.11/Step09Page.html (files generated automatically). 
Then, my next step is to compile using CMake to generate the files to start to 
work. The CMake used is as follows:

cmake_minimum_required(VERSION 3.8.2)

project(es_uab_cvc_mitk)

mitk_create_plugin(
  EXPORT_DIRECTIVE MITK_EXPORT
  EXPORTED_INCLUDE_SUFFIXES src
  MODULE_DEPENDS MitkQtWidgetsExt
)
The 1st line was added by me. I used the option "Visual Studio 15 2017" and I 
got the following error in CMakeGUI: https://imgur.com/a/ZpLks
Then, I can not generates files. The build\CMakeFiles\CMakeOutput.log does not 
show errors or even warnings (see here https://ufile.io/ur5vf)
Any clue about that? I am newbie using MITK, my project is about to create a 
MITK plugin. Also, I have another question: how is the debugging process using 
the plugin? is there a way to step-by-step debugging into Visual Studio 
developing a plugin? I know that using MITK as the "Step1 code" the debugging 
mode works perfect, and it runs and executes perfectly.
Thanks for everything in advance.

esmitt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to