Hi Anind,
On 08/22/2011 05:59 PM, ANIND DUTTAROY wrote:
Hi Sascha,
Thanks a lot for the very quick reply and sorry for the late reply
from my side.
1.My project is in “Debug” mode right now, on Windows, so, do you
suggest, that I try to link to the release version of MITK and CTK?
You should rebuild your whole project in Release mode. In general, you
will get problems when you try to mix Release and Debug libraries on
Windows.
2.Well, for Mac OS, I don’t get exactly similar issues, but, what
happens is, after running “make” and “make install”, when I try executing
my exe (NiftyView2.exe), from
/Users/duttaroy/build/SomeName-SuperBuild/SomeName-build/bin, it shows
errors like,
It looks like you are trying to start your application from the
build-tree. This is unrelated to the packaging issues and "make install"
is not required to start your app. Your issues might be related to
http://bugs.mitk.org/show_bug.cgi?id=8797 which has been discussed on
this mailing list.
Please note that you usually don't do "make install" or "make package"
very often. This is meant for creating deployable packages which can be
used on non-development machines.
Best,
Sascha
[BlueBerry] ERROR: Failed to install:
file:///Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_core_services.dylib
<file:///%5C%5CUsers%5Cduttaroy%5Cbuild%5CUCLToolkit-SuperBuild%5CMITK-build%5CMITK-build%5Cbin%5Cplugins%5Cliborg_mitk_core_services.dylib>,
Failed to install plugin: The plugin could not be loaded:
/Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_core_services.dylib
................................
................................
................................
"Trying to install file:"
"/Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_common.dylib"
#0.210# [BlueBerry] ERROR: Failed to install:
file:///Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_common.dylib
<file:///%5C%5CUsers%5Cduttaroy%5Cbuild%5CUCLToolkit-SuperBuild%5CMITK-build%5CMITK-build%5Cbin%5Cplugins%5Cliborg_mitk_gui_common.dylib>,
Failed to install plugin: The plugin could not be loaded:
/Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_common.dylib
Caused by: The file
'/Users/duttaroy/build/UCLToolkit-SuperBuild/MITK-build/MITK-build/bin/plugins/liborg_mitk_gui_common.dylib'
is not a valid Qt plugin. ................................
................................ ................................
Please suggest.
Thanks and Kind Regards,
Anind
*From:*Sascha Zelzer [mailto:[email protected]]
*Sent:* 22 August 2011 12:53
*To:* ANIND DUTTAROY
*Cc:* 'mitk-users'
*Subject:* Re: Problem in running MITK-based exe on Windows
Hi Anind,
Thank you for the detailed problem description. "Debug" installations
are not supported on Windows, please retry in "Release" mode. Right
know I am not sure about the status of Debug installations on MacOS (I
would have guessed that it works).
If you get other packaging errors, please report them immediately.
Packaging is tricky (especially for modular applications) and it took
us like four weeks to set-up the current system.
Best,
Sascha
On 08/22/2011 01:22 PM, ANIND DUTTAROY wrote:
Hi everyone,
I am facing a serious problem in running my MITK based GUI framework
exe on Windows.
1.To make it more clear, I have a GUI framework built exactly similar
to the MITK project template, as given in these links.
(http://www.mitk.org/wiki/SetupAMitkBasedProject)
https://github.com/MITK/MITK-ProjectTemplate
This GUI framework also has added plugins (added by
me), other than the already provided MITK example plugins.
This GUI exe is known as NiftyView2 and it sits in a
larger project structure.
2.My source code and build directory is like this....
C:\build\SomeName
C:\build\SomeName-SuperBuild
C:\build\SomeName-SuperBuild\SomeName-build
with the usual MITK, CTK, ITK, VTK, Qt codes,
directories, build directories etc.
It follows pretty standard MITK superbuild structure.
I use Cmake and Microsoft Visual Studio 2008 on Windows 7 workstation.
3.My install directory is..
C:\install\ SomeName –some-version-number\bin
Now my NiftyView2.exe is in C:\install\ SomeName
–some-version-number\bin directory.
4.So, when I double-click on NiftView2.exe, it complains of missing
liborg_blueberry_osgi.dll, though this dll is present in
C:\install\ SomeName –some-version-number\bin
5.Now, if I copy this dll manually to the bin directory and want to
run NiftyView2.exe, it complains of missing CTKPluginFramework.dll
6. If, I copy this dll manually from C:\build\
SomeName-Superbuild\CTK-build\CTK-build\bin\Debug to my install bin
directory and
want to run NiftyView2.exe, it complains of missing
mbilog.dll
7.If I copy mbilog.dll from C:\build\ SomeName
-Superbuild\MITK-build\MITK-build\bin\Debug to my install bin directory,
It complains of missing PocoFoundation.dll
8.I seem to get almost the same issue on my Macintosh laptop too.
Please suggest how do I solve this issue. I have already spent 4(four)
days on this.
Thanks and Kind Regards,
Anind
(Mr. Anind Duttaroy)
Software Engineer
Department of Medical Physics and Bioengineering
Malet Place Engineering Building
University College London
Gower Street,
London WC1E 6BT
*Ph: *+44 (0)20 7679 0240
*E-Mail:*/[email protected] <mailto:[email protected]>/
/[email protected] <mailto:[email protected]>/
------------------------------------------------------------------------------
uberSVN's rich system and user administration capabilities and model
configuration take the hassle out of deploying and managing Subversion and
the tools developers use with it. Learn more about uberSVN and get a free
download at: http://p.sf.net/sfu/wandisco-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users