Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [ 0%] Built target MagnumUi_RESOURCES-dependencies
- [ 6%] Building CXX object src/Magnum/Ui/CMakeFiles/MagnumUi.dir/Plane.cpp.o
- In file included from /opt/android-ndk/sysroot/usr/include/Magnum/GL/Mesh.h:38:0,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/BasicGLLayer.h:33,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.h:35,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:26:
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h: In instantiation of 'class Magnum::GL::Attribute<3u, int>':
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:53:110: required from here
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:71:13: error: incomplete type 'Magnum::GL::Implementation::Attribute<int>' used in nested name specifier
- enum: UnsignedInt {
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::ScalarType ScalarType;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::Components Components;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:65: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataType DataType;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataOption DataOption;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:68: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataOptions DataOptions;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp: In constructor 'Magnum::Ui::Plane::Plane(Magnum::Ui::UserInterface&, const Magnum::Ui::Anchor&)':
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:53:63: error: expected primary-expression before '{' token
- Implementation::AbstractQuadShader::ColorIndex{Implementation::AbstractQuadShader::ColorIndex::DataType::Short},
- ^
- In file included from /opt/android-ndk/sysroot/usr/include/Magnum/GL/Mesh.h:38:0,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/BasicGLLayer.h:33,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.h:35,
- from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:26:
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h: In instantiation of 'class Magnum::GL::Attribute<2u, int>':
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:62:90: required from here
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:71:13: error: incomplete type 'Magnum::GL::Implementation::Attribute<int>' used in nested name specifier
- enum: UnsignedInt {
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::ScalarType ScalarType;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::Components Components;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:65: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataType DataType;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataOption DataOption;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:68: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
- typedef typename Implementation::Attribute<T>::DataOptions DataOptions;
- ^
- /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
- template<class> struct Attribute;
- ^
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:62:51: error: expected primary-expression before '{' token
- Implementation::TextShader::ColorIndex{Implementation::TextShader::ColorIndex::DataType::Short},
- ^
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp: In member function 'void Magnum::Ui::Plane::setText(size_t, Magnum::UnsignedByte, Magnum::Float, Corrade::Containers::ArrayView<const char>, const Vector2&, Magnum::Text::Alignment)':
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:126:82: warning: missing initializer for member 'Magnum::Ui::Implementation::TextVertex::position' [-Wmissing-field-initializers]
- for(std::size_t i = positions.size(); i != vertices.size(); ++i) vertices[i] = {};
- ^
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:126:82: warning: missing initializer for member 'Magnum::Ui::Implementation::TextVertex::textureCoordinates' [-Wmissing-field-initializers]
- /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:126:82: warning: missing initializer for member 'Magnum::Ui::Implementation::TextVertex::colorIndex' [-Wmissing-field-initializers]
- make[2]: *** [src/Magnum/Ui/CMakeFiles/MagnumUi.dir/build.make:182: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/Plane.cpp.o] Error 1
- make[1]: *** [CMakeFiles/Makefile2:141: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/all] Error 2
- make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement