Hi all,

I have problems to run CoreApp and ExtApp Applications on an linux
machine. Building MITK fine, but ExtApp does not run properly.

here's my configuration:
InsightToolkit-3.18.0
VTK-5.6.0
latest MITK from svn repository

As mentioned in http://www.mitk.org/wiki/SetupMitkQt4BlueBerry I added
the build directories of ITK, VTK and qt binary directory to PATH
variable. According to
http://article.gmane.org/gmane.comp.lib.mitk.user/1019/match=ld_library_path 
I exported org.blueberry.osgi/bin directory to LD_LIBRARY_PATH

Here is my environment configuration:

export MITK_DIR=/path/to/mitk_svn_build
export VTK_DIR=/path/to/VTK_Build
export ITK_DIR=/path/to/InsightToolkit-3.18.0_Build
export QT_DIR=/usr/share/qt4
export QMAKESPEC=linux-g++-32
export BLUEBERRY=$MITK_DIR/bin/BlueBerry
export OSGI_RUNTIME_BIN=$BLUEBERRY/org.blueberry.osgi/bin
export BLUEBERRY_UI=$BLUEBERRY/org.blueberry.ui/bin
export BLUEBERRY_UI_QT=$BLUEBERRY/org.blueberry.ui.qt/bin

export PATH=$PATH:$VTK_DIR/bin:$ITK_DIR/bin:$QT_DIR/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OSGI_RUNTIME_BIN


When starting ExtApp I get:

[Mon Jun 14 11:19:13 2010
0.370] Registering CoreExtObjectFactory...
[0.370] CoreObjectFactory c'tor
[0.370] CoreExtObjectFactory c'tor
[0.370] CoreObjectFactory: registering extra factory of type
CoreExtObjectFactory
[0.660] Registering DiffusionImagingObjectFactory...
[0.660] DiffusionImagingObjectFactory c'tor
[0.670] CoreObjectFactory: registering extra factory of type
DiffusionImagingObjectFactory
[0.670] CoreObjectFactory: registering extra factory of type
DiffusionImagingObjectFactory
[0.680] Registering PlanarFigureObjectFactory...
[0.680] PlanarFigureObjectFactory c'tor
[0.680] CoreObjectFactory: registering extra factory of type
PlanarFigureObjectFactory
[0.760] QmitkRegisterClasses()
[0.780] QmitkExtRegisterClasses()
Aborted


I am not sure if it works in linux to edit the PATH variable, since
there are no executables in those directories. Does LD_LIBRARY_PATH
would be a better choice? I tried different configurations of those
variables but without success, so maybe MITK uses the PATH during the
build process, so I have to compile it again, when I changed the PATH.

Is there anyone running MITK on linux who could give me some hints?

Best Regards and thanks in advance

Antje Gruner



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to