Hi again,

please keep the conversation on the list. :)

It is crucial to successfully complete the super build first. If that doesn't 
work, we can help you when you post the error messages.

You do not need to add the PluginList.cmake to the cache. It is parsed 
automatically by the MITK cmake script.

I suggest you to compile MITK and run its ExtApp application before you make 
any modifications or additions to the code. Delete your build directories and 
start from scratch (and read the basic documentation again):

1. Complete the superbuild (see documentation) 2. Then, and only then specify 
[superbuild-dir]/MITK-build as build directory in cmake-gui.
3. Press configure/generate
4. Build MITK (note that this is different from the superbuild!) 5. Run ExtApp

If you manage to complete all the above steps, you can start to add your 
plugins. I strongly recommend the tutorials which you find in the documentation 
as well. :)

Best,
    Stefan

-----Ursprüngliche Nachricht-----
Von: Mr Francesco Grussu [mailto:[email protected]] 
Gesendet: Mittwoch, 16. Mai 2012 12:54
An: Kislinskiy, Stefan
Betreff: Re: AW: [mitk-users] Problems when building MITK on Ubuntu 11.10

Dear Stefan,
thank you very much for replying.
I could not end the superbuild process either, anyway I will try to change the 
build directory as you suggested. I have my plugins in the MITK/Plugins 
directory and the PluginList.cmake . When I add the PluginList.cmake file as an 
entry to the cache I have to enter a "Name"
and a "Description". Anything should be right? It also asks for a "Type", and I 
can choose among BOOL, FILEPATH,PATH and STRING. I suppose FILEPATH or PATH to 
be the best option, so that I can pass the path value for the PluginList.cmake 
file.

Thank you,
best regards

Francesco

> Hi Francesco,
>
> did you follow the complete build instructions and successfully built 
> the MITK superbuild first? Where is your plugin located? Have a look 
> at the MITK/Plugins directory for some examples. You should put your 
> plugin there and add an entry to PluginList.cmake. You can build your 
> plugin as part of MITK after you did the superbuild. In the build 
> directory of your superbuild there is a directory named MITK-build. 
> Specify this directory as build directory in the cmake gui and press 
> configure. When you put your plugin to the right location and added an 
> entry to PluginList.cmake, you should see your plugin in the cmake gui 
> then. Activate it and configure/generate again. Navigate to the MITK-build 
> directory and "make".
>
> Best,
>     Stefan
>
> -----Ursprüngliche Nachricht-----
> Von: Mr Francesco Grussu [mailto:[email protected]]
> Gesendet: Mittwoch, 16. Mai 2012 11:20
> An: [email protected]
> Betreff: [mitk-users] Problems when building MITK on Ubuntu 11.10
>
> Hello everybody,
> I was trying to follow the build instructions for MITK on 
> http://docs.mitk.org/nightly-qt4/BuildInstructionsPage.html for Linux 
> (Ubuntu 11.10).
> I made sure to have the prerequisites as required, namely Git (I 
> installed it from terminal, $ apt-get install git-core), CMake and Qt 
> (I installed them from the Software Center) and it seemed to be 
> successful. Afterwards I tried to build MITK with CMake but I had some 
> problems.
>
> I downloaded a project template from
> https://github.com/MITK/MITK-ProjectTemplate , as a .zip file. I 
> extracted the directory and created next to it a new directory, named "build".
>
> I opened the CMake Gui, I set the project template directory as 
> directory for the source code and the "build" directory as directory 
> where to build the binaries. I pressed "configure" and "generate" 
> buttons in the CMake GUI and then I ran the "$ make" command from 
> terminal, after setting the current directory as "build". I made sure 
> that I have Python and Python libraries installed from the Software Center.
>
> Anyway, I got this error report:
> "
> ...
>
> -- Could not find tcpd.h - if this is missing in the build 
> libwrap0-dev needs to be installed
>
> ..."
>
> even if I made sure to install libwrap0-dev from the Software Center, 
> and also
>
> "...
>
> [ 90%] Building CXX object 
> Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o
> /home/francesco/Job in the UK/QMUL
> Job/Test1/build/MITK-superbuild/ITK-src/Code/IO/itkGDCMImageIO.cxx:20:22:
> fatal error: gdcmFile.h: No such file or directory compilation terminated.
> make[8]: *** [Code/IO/CMakeFiles/ITKIO.dir/itkGDCMImageIO.o] Error 1
> make[7]: *** [Code/IO/CMakeFiles/ITKIO.dir/all] Error 2
> make[6]: *** [all] Error 2
> make[5]: *** [ITK-cmake/src/ITK-stamp/ITK-build] Error 2
> make[4]: *** [CMakeFiles/ITK.dir/all] Error 2
> make[3]: *** [all] Error 2
> make[2]: *** [MITK-cmake/src/MITK-stamp/MITK-build] Error 2
> make[1]: *** [CMakeFiles/MITK.dir/all] Error 2
> make: *** [all] Error 2
>
> ..."
>
>
> Do you have any advice to try to fix this problems? I have no idea 
> about the next step I should take.
> Thank you very much in advance,
> Best wishes
>
>
> ----------------------------------------------------------------------
> --------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. 
> Discussions will include endpoint security, mobile security and the 
> latest in malware threats. 
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> mitk-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mitk-users
>


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to