Hi Marcos,
am I correct in assuming, that you are not using CMake for your own project?
MITK is designed to be used in conjunction with CMake and the documentation is
oriented along these lines.
As CMake will set all include and library paths accordingly you usually do not
have to worry about them.
I am not aware of an easy way of extracting all the required information from
the configured cmake cache and using them to set all the required paths by hand.
Unless there are urgent reasons not to use CMake for your own project, it will
be easier by far if you switch to CMake. You can supply your own builds of ITK
and VTK during the mitk superbuild, but you will have to make sure they are
built accordingly.
Regarding the make install issue, MITK does not provide an install target.
I hope this helps,
Regards
Caspar
Von: Marcos [mailto:[email protected]]
Gesendet: Mittwoch, 12. Dezember 2012 16:06
An: [email protected]
Betreff: [mitk-users] Just use MITK in QT Creator
I was looking through a lot of webs, but... I'm tired.
It should be easier. I guess it is.
I have a Qt Creator project. I was using VTK and ITK, but connecting them is...
complicated. So I was thinking to try MITK.
I've downloaded the last stable release (MITK-2012.09.0-src). I've configured
with ccmake. Then I used make. I tried make install: ok, it doesn't work that
way.
So I have to use a CMakeLists.txt file. I was reading
http://docs.mitk.org/2012.09/BuildInstructionsPage.html
the section "Use MITK in your own project (as a toolkisd
The problem is I already have a .pro file, with another libraries.
I can use VTK and ITK, knowing where the header files (/usr/local/include) and
libraries (/usr/local/lib) are. But in MITK-build folder I can't find the
header files.
Ok, an example: the Step1.cpp file. It includes
<QmitkRenderWindow.h<http://docs.mitk.org/2012.09/QmitkRenderWindow_8h.html>>.
It is at the MITK-src folder, but inside subfolders. I have to look for it. And
the .so files? I find them in MITK-build/bin/
So, my include path is in MITK-src/Modules/... ? and my libs path in
MITK-build/bin?
I don't know.
It would be good to have these things clearer. It's frustrating.
Any suggestions? Thanks in advance.
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users