Dear Caspar
Thanks for the reply.
I just went back to basics and started fresh from 2015-05 using the zip
file (previously I've been using were last version from git)
I can say that in my fedora 22 platform (gcc. 5.1.1, cmake 3.2.2):
- Vanilla MITK 2015-05 with QT 5 (default flags and components of
superbuild) does not compile. Fails at CTKCore, ctkPluginArchiveSQL.cpp
- [ 68%] Performing build step for 'CTK'
[ 7%] Built target CTKCore
[ 7%] Building CXX object
Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/ctkPluginArchiveSQL.cpp.o
In file included from
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL.cpp:22:0:
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL_p.h:60:37:
error: expected ‘)’ before ‘<’ token
ctkPluginArchiveSQL(QSharedPointer<ctkPluginArchiveSQL> old, int
generation,
^
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL.cpp:44:1:
error: prototype for
‘ctkPluginArchiveSQL::ctkPluginArchiveSQL(QSharedPointer<ctkPluginArchiveSQL>,
int, const QUrl&, const QString&)’ does not match any in class
‘ctkPluginArchiveSQL’
ctkPluginArchiveSQL::ctkPluginArchiveSQL(QSharedPointer<ctkPluginArchiveSQL>
old, int generation,
^
In file included from
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL.cpp:22:0:
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL_p.h:42:7:
error: candidates are: ctkPluginArchiveSQL::ctkPluginArchiveSQL(const
ctkPluginArchiveSQL&)
class ctkPluginArchiveSQL : public ctkPluginArchive
^
/home/sergio/bin/libs/MITK-2015.05.0-Qt5/ep/src/CTK/Libs/PluginFramework/ctkPluginArchiveSQL.cpp:33:1:
error:
ctkPluginArchiveSQL::ctkPluginArchiveSQL(ctkPluginStorageSQL*,
const QUrl&,
const QString&, int, int, const QDateTime&, int)
ctkPluginArchiveSQL::ctkPluginArchiveSQL(ctkPluginStorageSQL*
pluginStorage,
^
Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/build.make:274:
recipe for target
'Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/ctkPluginArchiveSQL.cpp.o'
failed
make[8]: ***
[Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/ctkPluginArchiveSQL.cpp.o]
Error 1
CMakeFiles/Makefile2:125: recipe for target
'Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/all' failed
make[7]: ***
[Libs/PluginFramework/CMakeFiles/CTKPluginFramework.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make[6]: *** [all] Error 2
CMakeFiles/CTK.dir/build.make:112: recipe for target
'CTK-prefix/src/CTK-stamp/CTK-build' failed
make[5]: *** [CTK-prefix/src/CTK-stamp/CTK-build] Error 2
CMakeFiles/Makefile2:61: recipe for target 'CMakeFiles/CTK.dir/all'
failed
make[4]: *** [CMakeFiles/CTK.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make[3]: *** [all] Error 2
CMakeFiles/CTK.dir/build.make:113: recipe for target
'ep/src/CTK-stamp/CTK-build' failed
make[2]: *** [ep/src/CTK-stamp/CTK-build] Error 2
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/CTK.dir/all'
failed
make[1]: *** [CMakeFiles/CTK.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
- Vanilla MITK 2015-05 with QT4 compiles and installs Ok.
- MITK 2015-05 + QT4 + boost builds and installs ok.
- MITK 2015-05 + QT4 + boost + sofa (sofa activates boost libraries
system;thread;chrono) fails trying to compile boost with this error:
- error: duplicate initialization of gcc with the following parameters:
error: version = 5.1.1
error: previous initialization at project-config.jam:12
CMakeFiles/Boost.dir/build.make:111: recipe for target
'ep/src/Boost-stamp/Boost-build' failed
make[2]: *** [ep/src/Boost-stamp/Boost-build] Error 1
CMakeFiles/Makefile2:95: recipe for target 'CMakeFiles/Boost.dir/all'
failed
make[1]: *** [CMakeFiles/Boost.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
On 1 September 2015 at 13:19, Goch, Caspar Jonas <[email protected]>
wrote:
> Hi Sergio,
>
>
>
> we welcome any help in dealing with compatibility issues. Could you check
> the “CMAKE_INSTALL_PREFIX” for your DCMTK-build (binary path:
> YourSuperbuild/ep/src/DCMTK-build), is it “YourSuperbuild/ep”? Do the
> DCMTK_INSTALL_XXXX entries look reasonable?
>
>
>
> Best,
>
> Caspar
>
>
>
> *Von:* Sergio Vera [mailto:[email protected]]
> *Gesendet:* Dienstag, 1. September 2015 11:35
> *An:* [email protected]
> *Betreff:* [mitk-users] MITK 2015-05 building in linux platforms
>
>
>
> Dear MITK users
>
> I'm having problems building MITK 2015.5 on Fedora 22 (gcc. 5.1.1, cmake
> 3.2.2, qt5)
>
> Although my experience in CMake and linux development is limited, I would
> like to help to make MITK more compatible with this platform.
>
> So far the most troublesome package seems to be DCMTK. the superbuild
> version of DCMTK compiles fine, but on the install step it fails with the
> an error similar to this onehttp://
> answers.opencv.org/question/20221/installing-opencv-linux-cmake-error/
> but with libdcmstat instead.. I have tried to set CMAKE_SKIP_INSTALL_RPATH
> and CMAKE_SKIP_RPATH to true to no avail.
>
> If providing the path to a system installed DCMTK via EXTERNAL_DCMTK_DIR,
> then all works ok until the superbuild tries to configure MITK-Configure,
> which fails with:
>
>
>
> Could NOT find DCMTK (missing: DCMTK_ofstd_LIBRARY DCMTK_dcmdata_LIBRARY
> DCMTK_dcmimgle_LIBRARY)
>
>
>
> Any help building MITK for this platform would be greatly appreciated
>
> Thanks in advance
>
> --
>
> Sergio Vera
>
> Alma IT Systems
> C/ Vilana, 4B, 4º 1ª
> 08022 Barcelona
> T. (+34) 932 380 592
> www.alma3d.com
>
--
Sergio Vera
Alma IT Systems
C/ Vilana, 4B, 4º 1ª
08022 Barcelona
T. (+34) 932 380 592
www.alma3d.com
------------------------------------------------------------------------------
_______________________________________________
mitk-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mitk-users