umbrello build

Shawn McKenney shawn.mckenney at emmion.com
Sun Sep 11 15:29:54 UTC 2016


Hello all -

I have just installed KDE neon and would like to join the development
community. I am trying to build umbrello master:

mckenney at sanvicente:~/kde/umbrello-build$ cmake
-DCMAKE_INSTALL_PREFIX=${HOME}/install/umbrello -DBUILD_KF5=On
-DCMAKE_BUILD_TYPE=Debug ../umbrello
-- Using umbrello version 2.20.99-e43b4c1

----- snip -----

[  0%] Building CXX object
umbrello/CMakeFiles/libumbrello.dir/libumbrello_automoc.cpp.o
In file included from
/usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:54:0,
                from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qwidget.h:44,
                from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/qdockwidget.h:43,
                from
/usr/include/x86_64-linux-gnu/qt5/QtWidgets/QDockWidget:1,
                from
/home/mckenney/kde/umbrello-build/umbrello/../../umbrello/umbrello/birdview.h:23,

                from
/home/mckenney/kde/umbrello-build/umbrello/moc_birdview.cpp:9,
                from
/home/mckenney/kde/umbrello-build/umbrello/libumbrello_automoc.cpp:2:
/home/mckenney/kde/umbrello-build/umbrello/../../umbrello/umbrello/models/objectsmodel.h:20:1:
error:
specialization of ‘QMetaTypeId<UMLObject*>’ after instantiation
Q_DECLARE_METATYPE(UMLObject*);
^
/home/mckenney/kde/umbrello-build/umbrello/../../umbrello/umbrello/models/objectsmodel.h:20:1:
error:
redefinition of ‘struct QMetaTypeId<UMLObject*>’
/usr/include/x86_64-linux-gnu/qt5/QtCore/qmetatype.h:1596:8: error: previous
definition of ‘struct QMetaTypeId<UMLObject*>’
struct QMetaTypeId : public QMetaTypeIdQObject<T>
       ^
umbrello/CMakeFiles/libumbrello.dir/build.make:8298: recipe for target
'umbrello/CMakeFiles/libumbrello.dir/libumbrello_automoc.cpp.o' failed
make[2]: ***
[umbrello/CMakeFiles/libumbrello.dir/libumbrello_automoc.cpp.o] Error 1
CMakeFiles/Makefile2:126: recipe for target
'umbrello/CMakeFiles/libumbrello.dir/all' failed
make[1]: *** [umbrello/CMakeFiles/libumbrello.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2

----- snip -----

mckenney at sanvicente:~/kde/umbrello-build$ cat /etc/lsb-release
DISTRIB_ID=neon
DISTRIB_RELEASE=16.04
DISTRIB_CODENAME=xenial
DISTRIB_DESCRIPTION="KDE neon User Edition 5.7"

mckenney at sanvicente:~/kde/umbrello-build$ gcc --version
gcc (Ubuntu 5.4.0-6ubuntu1~16.04.2) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

----- snip -----


I am definitely a rookie at building any KDE software, but I have a bit of
Qt and a lot of C++ background. If you would like some help, I'd be more
than happy to jump in. Just point me in the right direction.

Thanks,
Shawn


-- 
Shawn McKenney
President, Emmion
858 254 5468
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/umbrello-devel/attachments/20160911/3e6a2e53/attachment.html>


More information about the umbrello-devel mailing list