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