Re: Fwd: Ginkgo CADx 2.4.0.0 released
It may actually be useful to start collecting this
information somewhere so it doesn't get lost again - or even
commit preliminary packaging stuff to the Debian Med SVN
which holds those compile notes etc.
Karsten
On Thu, Apr 28, 2011 at 10:47:28AM +0200, Hilbert, Sebastian wrote:
> Date: Thu, 28 Apr 2011 10:47:28 +0200
> From: Sebastian Hilbert <sebastian.hilbert@gmx.net>
> To: debian-med@lists.debian.org
> Subject: Re: Fwd: Ginkgo CADx 2.4.0.0 released
> User-Agent: KMail/1.13.6 (Linux/2.6.38.2-19-default; KDE/4.6.0; i686; ; )
>
> Hi all,
>
> See below
>
>
> > http://sourceforge.net/projects/ginkgocadx/files/2.4.0.0/Ginkgo_CADx-2.4.0.
> > 0.tgz/download
> >
> > >We updated the Readme-compilation for package maintainers to compile it
> > >with original libs.
>
> See instructions below.
>
> > >... tried to compile it on ubuntu 10.x, but ... was unable to finish
> > >because: * VTK devel package did not provide some necesary interfaces
> > >(Pixel Buffer related).
>
> This was elaborated on like this:
>
> I asked :
>
> > what problems did you have with the vtk devel package ?
>
> The reply was:
>
> >Not sure about why. At least two .h interfacing classes were not full
> >provided (we need it for subclassing):
> >vtkOpenGLTexture and vtkPixelBufferObject
> >Maybe I was wrong and the vtk version from -dev package were < 5.6
>
> Debian has vtk 5.6 in wheezy (Debian testing) so maybe this can be ignored.
>
> >
> > >* DCMTK was old (3.5.x)
>
> DCMTK 3.6 is in unstable (Debian SID) so maybe it should be working against
> this version.
>
> > >
> > >wxWidgets and ITK were OK.
> > >
>
> Good to know. The sources still contain patches for wxwidgets but maybe they
> are not necessary. I will ask the Dinkgo developers again.
>
> I contacted the wxwidgets developers and it seems the 2.8.x series will likely
> not see this included. I was referred to the 2.9 series.
>
> There seem to be no packages for the 2.9 series.
>
> > >However, compiling against non working with original (not debian-packaged)
> >
> > libraries was successful.
> >
>
> I read this as:
>
> Compiling went ok but that does not mean it will work. I still have to find
> out if the patches need to be applied ( that is what I read from the
> instructions below)
>
> So it boils down to:
>
> All dependencies should be available in Debian (if you use testing and
> unstable as well)
>
> and compiling should work.
>
> ---------------------------------------------
>
> compilation instructions
>
> Linux:
> Tools and deps:
> CMake >=2.6
> GTK-2.0-dev
> libx11-dev
> libxt-dev
> libxml2-dev
> libssl-dev
> libwrap0-dev
> GCC 4.2
>
> wxWidgets:
> Expand and apply apply wxWidgets-2.8.11.diff patches.
> Debug:
> ./configure --enable-monolithic --enable-dynlib --enable-shared --enable-
> unicode
> --enable-debug --with-opengl --enable-dataobj --enable-dataviewctrl --disable-
> compat26
> --prefix=/opt/local/wxdebug
> Release:
> ./configure --enable-monolithic --enable-dynlib --enable-shared --enable-
> unicode
> --enable-optimise --disable-debug --with-opengl --enable-dataobj --enable-
> dataviewctrl
> --disable-compat26 --prefix=/opt/local/wxrelease
> make
> sudo make install
> Copy includes and libs to ginkgo dll tree.
>
> VTK:
> Expand VTK source archive.
> Debug:
> cmake ../VTK-* -DBUILD_TESTING:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
> -DVTK_DEBUG_LEAKS:BOOL=ON -DCMAKE_BUILD_TARGET=Debug
> -DCMAKE_INSTALL_PREFIX=/opt/local/vtkdebug
> Relase:
> cmake ../VTK-* -DBUILD_TESTING:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=ON
> -DVTK_DEBUG_LEAKS:BOOL=OFF -DCMAKE_BUILD_TARGET=Release
> -DCMAKE_INSTALL_PREFIX=/opt/local/vtkrelease
> make
> sudo make install
> Copy includes and libs to ginkgo dll tree.
>
> ITK:
> Expand and apply apply ITK-3.20.0.diff patches.
> Debug:
> cmake ../InsightToolkit-* -DBUILD_EXAMPLES:BOOL=OFF
> -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF
> -DITK_USE_PATENTED:BOOL=ON -DVNL_CONFIG_ENABLE_SSE2:BOOL=ON
> -DCMAKE_BUILD_TARGET=Debug -DCMAKE_INSTALL_PREFIX=/opt/local/itkdebug
> Release:
> cmake ../InsightToolkit-* -DBUILD_EXAMPLES:BOOL=OFF
> -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_TESTING:BOOL=OFF
> -DITK_USE_PATENTED:BOOL=ON -DVNL_CONFIG_ENABLE_SSE2:BOOL=ON
> -DCMAKE_BUILD_TARGET=Release -DCMAKE_INSTALL_PREFIX=/opt/local/itkrelease
> make
> sudo make install
> Copy includes and libs to ginkgo dll tree.
>
> DCMTK:
> Expand and apply apply dcmtk-3.6.0.diff patches.
> Debug:
> cmake ../dcmtk-3.6.0 -DBUILD_SHARED_LIBS:BOOL=ON
> -DDCMTK_WITH_ZLIB:BOOL=ON -DDCMTK_WITH_TIFF:BOOL=OFF
> -DCMAKE_BUILD_TARGET=Debug -DCMAKE_INSTALL_PREFIX=/opt/local/dcmtkdebug
> Release:
> cmake ../dcmtk-3.6.0 -DBUILD_SHARED_LIBS:BOOL=ON
> -DDCMTK_WITH_ZLIB:BOOL=ON -DDCMTK_WITH_TIFF:BOOL=OFF
> -DCMAKE_BUILD_TARGET=Release -DCMAKE_INSTALL_PREFIX=/opt/local/dcmtkrelease
>
> # We need to rebuild dcmdata without diccionary.
> cd dcmdata/libsrc
> make builtindict
> make
> cp libdcmdata.a ../../../../../trunk/dll/DCMTK-101021/Linux-
> /lib/release/libdcmdata.a
> Copy includes and libs to ginkgo dll tree.
>
> Best regards,
> Sebastian
>
>
> --
> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 201104281047.29095.sebastian.hilbert@gmx.net">http://lists.debian.org/[🔎] 201104281047.29095.sebastian.hilbert@gmx.net
>
--
GPG key ID E4071346 @ gpg-keyserver.de
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346
Reply to: