Hi,

I will try to make same things clearer:

1. The Tutorial code (Step1 to StepX) included in the MITK sources will be build only if you enable the CMake option MITK_BUILD_EXAMPLES. After enabling that option, the Visual Studio solution MITK.sln contains separate projects for each tutorial step. Make sure to use the StartVS_release.bat (or its debug version) for starting Visual Studio in order to be able to launch the StepX executables (they also need command line arguments!)

2. When you say you created a new empty C++ project, how did you do it? Using Visual Studio to create a new C++ project and copying some source files from MITK into that project needs a lot of manual configuration (setting up include and linker paths, etc.). How to create a new MITK based project is detailed here:

http://docs.mitk.org/2013.12/HowToNewProject.html

3. MITK makes extensive use of CMake and you are best of by also using CMake for your own project. Your own code should always live outside of the MITK source tree. The MITK-ProjectTemplate or the PluginGenerator both help you with setting up your own project for MITK development.


Hope that helps,

Sascha


On 02/05/2014 03:03 PM, Soufiane Haddani wrote:
Hi Sacha and Christ,
thanks you for your awnser.

I'm on windows 8 and using VS2010

I actually just want go for now throught the tutorial (step(n)) to get used to the environnent and later I will have to do some image segmentation task on MRI stacks and do a 3D modelisation of organs and blood vessels (thats the ultimate goal).

However I really don't undersand the difference between using the template and the superbuild from the building instruction" page. I already built everything from this http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html and once I open 'StartVS_release.bat ' I cant find any ""Step1"-project" to right click on as they say in the turorial http://docs.mitk.org/nightly-qt4/Step01Page.html Can you please give me a clear intruction to display this firs image please? Do I really need to use the template or can I use what I already built from http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html

Thanks and sorry for all those questions

------------------------------------------------------------------------
Date: Tue, 4 Feb 2014 20:49:54 +0100
From: [email protected]
To: [email protected]
CC: [email protected]
Subject: Re: [mitk-users] Help with MITK steps tutorials

Hi Soufiane,

Welcome to MITK.

Many thanks to Chris for the provided information and for sharing his experience.

Please make also sure to use the latest MITK Release when working with MITK source code. In your E-Mails, please also always state the MITK version you are using.

Best,

Sascha

On 02/04/2014 04:34 PM, Chris wrote:

    Hello Soufiane,

    I am also still relatively new to MITK and found the best approach
    to "easy" MITK development is to use the MITK Project template,
    which you can find here: https://github.com/MITK/MITK-ProjectTemplate

    Generally speaking, you need to download that template, build it
    and follow the instructions in the link below, which I guess is
    what you have done?
    http://docs.mitk.org/nightly-qt4/HowToNewProject.html

    Now, regarding your issue.

    Do you simply want to use MITK?
    Then your best approach is probably to download the executable:
    http://www.mitk.org/download/releases/MITK-2013.12/Windows/

    Do you want to develop software with MITK?
    Then, you will want to get familiar with cmake, linkers and stuff
    like that.

    Let's assume you want to write some code and maybe develop your
    own MITK plugin. In this case you need to make sure you meet these
    prerequisites:
    http://docs.mitk.org/nightly-qt4/SupportedPlatformsPage.html

    For Windows, you need Visual Studio 2008 SP1, you will also need
    CMake (http://www.cmake.org/) to configure the project and most
    likely Qt as you want a UI:
    http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html

    To get started you want to open CMake and set the "source code
    path" to where your project template is located (e.g.
    C:/dev/MITK-ProjectTemplate) and the "build path" to wherever you
    want to build your project (preferably not inside the source
    directory, e.g. C:/build/MITK-Project).

    Then you click "Configure", you need to select Visual Studio 2008,
    then you click "Generate".
    After that completed, you can start your Visual Studio project
    from that build directory, where you should find an
    "AwesomeProject" Visual Studio project file.

    Hope this helps.
    Chris


    On Mon, Feb 3, 2014 at 4:23 PM, Soufiane Haddani
    <[email protected] <mailto:[email protected]>>
    wrote:



        *De :* Soufiane Haddani <mailto:[email protected]>
        *Envoyé :* lundi 3 février 2014 15:12
        *À :* [email protected]
        <mailto:[email protected]>

        Hello,

        I’m doing an internship were I started using MITK.

        So I want actually to go throught the MITK tutorial step 1 to
        the last step.
        I’m alreday stuck at the step 1 like this:
        -I launch ‘StartVS_release.bat” like they say in the tutorial
        -create a new empty project called “step1”
        -Then I copy the code from the tutorial in an empty c++ project

        but when I start compiling it says:’ Cannot open include file:
        'QmitkRegisterClasses.h': No such file or directory’
        I dont understand because by staring the batch file, all the
        directories should be set, no?

        I’m not familiar with linkers, cmake files and other stuff
        like this. All what I want is to be able to “play” wit MITK as
        a toolkit, get familiar with it and then develope some image
        procesing methode that I will apply on images examples.

        What do you advice me to do?

        Thank you very much


        
------------------------------------------------------------------------------
        Managing the Performance of Cloud-Based Applications
        Take advantage of what the Cloud has to offer - Avoid Common
        Pitfalls.
        Read the Whitepaper.
        
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
        _______________________________________________
        mitk-users mailing list
        [email protected]
        <mailto:[email protected]>
        https://lists.sourceforge.net/lists/listinfo/mitk-users




------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to