can't compile Krita

Boudewijn Rempt boud at valdyas.org
Tue Apr 5 17:53:55 UTC 2016


Yeah... We're discussing it on irc now. It's broken for me as well.

On Tue, 5 Apr 2016, Fazekas László wrote:

> I get this error:
>
> [ 93%] Building CXX object 
> plugins/tools/basictools/CMakeFiles/kritadefaulttools.dir/kis_tool_move.cc.o
> /home/fazekas/Asztal/krita-dev/krita/plugins/tools/basictools/kis_tool_move.cc: 
> In member function ‘bool 
> KisToolMove::startStrokeImpl(KisToolMove::MoveToolMode, const QPoint*)’:
> /home/fazekas/Asztal/krita-dev/krita/plugins/tools/basictools/kis_tool_move.cc:120:38: 
> error: no matching function for call to ‘filterContainer(KisNodeList&, 
> KisToolMove::startStrokeImpl(KisToolMove::MoveToolMode, const 
> QPoint*)::__lambda22)’
>                                      });
>                                       ^
> /home/fazekas/Asztal/krita-dev/krita/plugins/tools/basictools/kis_tool_move.cc:120:38: 
> note: candidate is:
> In file included from 
> /home/fazekas/Asztal/krita-dev/krita/plugins/tools/basictools/kis_tool_move.cc:40:0:
> /home/fazekas/Asztal/krita-dev/krita/libs/image/krita_utils.h:99:14: 
> note: template<class C> void KritaUtils::filterContainer(C&, 
> std::function<bool(typename C::reference)>)
>          void filterContainer(C &container, std::function<bool(typename 
> C::reference)> keepIf) {
>               ^
> /home/fazekas/Asztal/krita-dev/krita/libs/image/krita_utils.h:99:14: 
> note:   template argument deduction/substitution failed:
> /home/fazekas/Asztal/krita-dev/krita/plugins/tools/basictools/kis_tool_move.cc:120:38: 
> note:   ‘KisToolMove::startStrokeImpl(KisToolMove::MoveToolMode, const 
> QPoint*)::__lambda22’ is not derived from ‘std::function<bool(typename 
> C::reference)>’
>                                      });
>                                       ^
> make[2]: *** 
> [plugins/tools/basictools/CMakeFiles/kritadefaulttools.dir/kis_tool_move.cc.o] 
> Error 1
> make[1]: *** 
> [plugins/tools/basictools/CMakeFiles/kritadefaulttools.dir/all] Error 2
> make: *** [all] Error 2
> fazekas at delux:~/Asztal/krita-dev$ gcc --version
> gcc (Ubuntu 4.8.4-2ubuntu1~14.04.1) 4.8.4
> Copyright (C) 2013 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.
>
> What's the problem?
>
> Thanks,
> Fazek
> _______________________________________________
> Krita mailing list
> kimageshop at kde.org
> https://mail.kde.org/mailman/listinfo/kimageshop
>

-- 
Boudewijn Rempt | http://www.krita.org, http://www.valdyas.org


More information about the kimageshop mailing list