Crash during Build - invalid application of ‘sizeof’ to incomplete type ‘SPCurve’
![](https://secure.gravatar.com/avatar/c789f851b129bf5fdfe6c1f3a464c3a0.jpg?s=120&d=mm&r=g)
Dear Maintainers,
after pulling revision 5448704355e03a97d2838e1ba30272db335f0dbb I try to build inkscape according to https://inkscape.org/develop/getting-started/ but I receive the following error:
In file included from /usr/include/c++/7/memory:80:0, from /vol/pub/inkscape/linux/git/inkscape/src/document.h:25, from /vol/pub/inkscape/linux/git/inkscape/src/object/sp-use.cpp:27: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = SPCurve]’: /usr/include/c++/7/bits/unique_ptr.h:263:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = SPCurve; _Dp = std::default_delete<SPCurve>]’ /vol/pub/inkscape/linux/git/inkscape/src/object/sp-use-reference.h:45:50: required from here /usr/include/c++/7/bits/unique_ptr.h:76:22: error: invalid application of ‘sizeof’ to incomplete type ‘SPCurve’ static_assert(sizeof(_Tp)>0, ^ My questions: - are there simple means to avoid that error? - what information about my building environment is required?
BTW: I am trying to build Inkscape because the AppImage crashes.
Thanks and best regards
Torsten
![](https://secure.gravatar.com/avatar/35793ec93ca534be7d0cb66232471fee.jpg?s=120&d=mm&r=g)
Hi and thanks for the report! What's your compiler and OS ?
On 27/05/2021 19:37, fi@igh.de wrote:
Dear Maintainers,
after pulling revision 5448704355e03a97d2838e1ba30272db335f0dbb I try to build inkscape according to https://inkscape.org/develop/getting-started/ but I receive the following error:
In file included from /usr/include/c++/7/memory:80:0, from /vol/pub/inkscape/linux/git/inkscape/src/document.h:25, from /vol/pub/inkscape/linux/git/inkscape/src/object/sp-use.cpp:27: /usr/include/c++/7/bits/unique_ptr.h: In instantiation of ‘void std::default_delete<_Tp>::operator()(_Tp*) const [with _Tp = SPCurve]’: /usr/include/c++/7/bits/unique_ptr.h:263:17: required from ‘std::unique_ptr<_Tp, _Dp>::~unique_ptr() [with _Tp = SPCurve; _Dp = std::default_delete<SPCurve>]’ /vol/pub/inkscape/linux/git/inkscape/src/object/sp-use-reference.h:45:50: required from here /usr/include/c++/7/bits/unique_ptr.h:76:22: error: invalid application of ‘sizeof’ to incomplete type ‘SPCurve’ static_assert(sizeof(_Tp)>0, ^ My questions:
- are there simple means to avoid that error?
- what information about my building environment is required?
BTW: I am trying to build Inkscape because the AppImage crashes.
Thanks and best regards
Torsten
participants (2)
-
fi@igh.de
-
Marc Jeanmougin