Hi Junaid,

On 05/24/2011 10:46 PM, Junaid Naseer wrote:
> Hi all,
>
> I have had an mitk ExtApp built on my SuSE linux, but recently (last
> week) I was trying to extend the mitk ExtApp through the function
> generator in the mitk source folder, but ran into some problems.
>
> I had the mitk, itk and vtk libraries installed userwide (no sudo, and
> no system-wide installations) i.e. they were built into their own
> folders inside the user home directory. The built application ExtApp
> would work fine from there.
>
> But, when trying to write a code using those libraries in my own
> program, the gcc would obviously cry out for the missing libraries and
> not finding the header files unless the complete address was given (not
> exactly realistic).
>
> ...
I am not sure I completely understand what you are trying to do but here 
are some points to consider:

- When you write programs using MITK, you *must* use the build tree of 
MITK. For example, if you are using the BundleGenerator to create a 
CMake-based project and a plugin for MITK, CMake will prompt you for a 
MITK_DIR variable. This must point to a build tree of MITK (see 
http://docs.mitk.org/nightly-qt4/NewPluginPage.html )

- "make install" is *not* a typical SDK install. It will install the 
ExtApp (for example) together with its dependencies (see 
http://www.mitk.org/wiki/Deployment )

> Also, I have a second question, I wanted to extend the ExtApp with a
> small application that can give access to some images in the mitk ExtApp
> environment. I am not sure, (because of the above problems), but does
> that application have to be complete on it's own, because I am using
> perl library to access images in that application right now (till I get
> mitk working and get access to those libraries), but I know from the
> mitk documentation that this library is also available in mitk. Can't
> those be used in building the original application and then the
> application can be integrated with the mitk using the FunctionGenerator
> in mitk source directory.
>
Extending the ExtApp can be done by using the BundleGenerator (see the 
link above). You can use whatever libraries/tools you want in your 
plugin (Perl is not used in MITK itself, as far as I know).

Best,
Sascha

------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to