Hi Frank,

the last weeks we actively worked on cross-platform packaging support in 
our build-system. There might still be some minor issues (especially on 
MacOS), but Windows and Linux should be usable by now. However, we 
didn't test MinGW yet, so please consider the packaging support as 
experimental.

So here is what you can do:

- Windows (known to work with Visual Studio)

Create a .zip file or a NSIS installer (needs a separate NSIS 
installation) by building the PACKAGE project.

- Linux

Create a tarball by issuing "make package". Make sure to enable the 
advanced option "MITK_INSTALL_RPATH_RELATIVE" if you want support for 
arbitrary target directories. All library dependencies from non-standard 
system locations (ITK, VTK, etc.) are automatically included in the 
tarball, together with a start script for the executable(s).

As you already realized, make sure to create the Linux package on a 
system which is "old enough", e.g. use libc 2.10 etc.

Feedback is always welcome :-)


Best,
Sascha

On 11/11/2010 05:17 PM, Frank Blaschke wrote:
> Hi,
>
> I've tried to make the ExtApp usable for some students. But most of
> them can't build the whole toolkit system.
> So I wanna give them a portable MITK-ExtApp with my plugin.
> I compiled all toolkits (itk-3.20.0, vtk-5.6.1, qt-4.7.0,
> mitk-svn-26632) with a MinGW compiler and CodeBlocks under Windows 7
> x64 and under GNU/Linux Ubuntu 10.10 x64/x86.
>
> For Windows it's very nice: Copy all libs (itk,vtk,qt,mitk) in a new
> lib subfolder(s), copy execs with *.ini and plugin directories into
> folder and create a start.bat within path to libs. It works on windows
> XP, and 7 (x64&x32) very fine (but it's big ->  320MB for usage of one
> plugin).
>
> But for Ubuntu and other distributions its very complicated. I can do
> it on the windows way, but sometimes, if the compiling and executing
> linux has different system libs (like libc.so.6), the program can't
> run. there some errors like "libc.so.6 is not in correct version 2.11"
>
>
> Is there any way to create some portable app or an installer (make,
> make install) to /opt ?
>
>
> Greetings
>
> Frank
>
>    


------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users

Reply via email to