Skip to content

Build error on Ubuntu 19.04 #2

Description

@thibaudk

Attempted with commit 211374c
score commit 211374c
libossia commit d217551e9148309f675adc3ad8598a703d3bda74

neither "QWidget", "PannelStatus" and "MaybeDocument" are known types in
Network/Group/Panel/GroupPanelDelegate.hpp

here is the error log

[ 73%] Building CXX object src/addons/iscore-addon-network/CMakeFiles/score_addon_network.dir/Network/Group/Panel/GroupPanelDelegate.cpp.o
/home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp: In constructor ‘Network::PanelDelegate::PanelDelegate(const score::GUIApplicationContext&)’:
/home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp:26:69: error: no matching function for call to ‘score::PanelDelegate::PanelDelegate()’
 PanelDelegate::PanelDelegate(const score::GUIApplicationContext& ctx)
                                                                     ^
In file included from /home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.hpp:2,
                 from /home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp:1:
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:55:3: note: candidate: ‘score::PanelDelegate::PanelDelegate(const score::GUIApplicationContext&)’
   PanelDelegate(const score::GUIApplicationContext& ctx);
   ^~~~~~~~~~~~~
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:55:3: note:   candidate expects 1 argument, 0 provided
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:52:29: note: candidate: ‘constexpr score::PanelDelegate::PanelDelegate(const score::PanelDelegate&)’
 class SCORE_LIB_BASE_EXPORT PanelDelegate
                             ^~~~~~~~~~~~~
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:52:29: note:   candidate expects 1 argument, 0 provided
/home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp: In member function ‘virtual const score::PanelStatus& Network::PanelDelegate::defaultPanelStatus() const’:
/home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp:43:63: error: no matching function for call to ‘score::PanelStatus::PanelStatus(<brace-enclosed initializer list>)’
                                          QObject::tr("Ctrl+G")};
                                                               ^
In file included from /home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.hpp:2,
                 from /home/scrime/Documents/repos/score/src/addons/iscore-addon-network/Network/Group/Panel/GroupPanelDelegate.cpp:1:
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:25:3: note: candidate: ‘score::PanelStatus::PanelStatus(bool, bool, Qt::DockWidgetArea, int, QString, const QKeySequence&)’
   PanelStatus(
   ^~~~~~~~~~~
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:25:3: note:   candidate expects 6 arguments, 5 provided
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:23:30: note: candidate: ‘score::PanelStatus::PanelStatus(const score::PanelStatus&)’
 struct SCORE_LIB_BASE_EXPORT PanelStatus
                              ^~~~~~~~~~~
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:23:30: note:   candidate expects 1 argument, 5 provided
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:23:30: note: candidate: ‘score::PanelStatus::PanelStatus(score::PanelStatus&&)’
/home/scrime/Documents/repos/score/src/lib/score/plugins/panel/PanelDelegate.hpp:23:30: note:   candidate expects 1 argument, 5 provided
At global scope:
cc1plus: warning: unrecognized command line option ‘-Wno-four-char-constants’
make[2]: *** [src/addons/iscore-addon-network/CMakeFiles/score_addon_network.dir/build.make:526: src/addons/iscore-addon-network/CMakeFiles/score_addon_network.dir/Network/Group/Panel/GroupPanelDelegate.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4571: src/addons/iscore-addon-network/CMakeFiles/score_addon_network.dir/all] Error 2
make: *** [Makefile:163: all] Error 2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions