Advertisement
Guest User

Untitled

a guest
May 18th, 2018
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 8.66 KB | None | 0 0
  1. [  0%] Built target MagnumUi_RESOURCES-dependencies
  2. [  6%] Building CXX object src/Magnum/Ui/CMakeFiles/MagnumUi.dir/Plane.cpp.o
  3. In file included from /opt/android-ndk/sysroot/usr/include/Magnum/GL/Mesh.h:38:0,
  4.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/BasicGLLayer.h:33,
  5.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.h:35,
  6.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:26:
  7. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h: In instantiation of 'class Magnum::GL::Attribute<3u, int>':
  8. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:53:110:   required from here
  9. /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
  10.          enum: UnsignedInt {
  11.              ^
  12. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  13.          typedef typename Implementation::Attribute<T>::ScalarType ScalarType;
  14.                                                                    ^
  15. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  16.   template<class> struct Attribute;
  17.                          ^
  18. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  19.          typedef typename Implementation::Attribute<T>::Components Components;
  20.                                                                    ^
  21. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  22.   template<class> struct Attribute;
  23.                          ^
  24. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:65: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  25.          typedef typename Implementation::Attribute<T>::DataType DataType;
  26.                                                                  ^
  27. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  28.   template<class> struct Attribute;
  29.                          ^
  30. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  31.          typedef typename Implementation::Attribute<T>::DataOption DataOption;
  32.                                                                    ^
  33. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  34.   template<class> struct Attribute;
  35.                          ^
  36. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:68: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  37.          typedef typename Implementation::Attribute<T>::DataOptions DataOptions;
  38.                                                                     ^
  39. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  40.   template<class> struct Attribute;
  41.                          ^
  42. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp: In constructor 'Magnum::Ui::Plane::Plane(Magnum::Ui::UserInterface&, const Magnum::Ui::Anchor&)':
  43. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:53:63: error: expected primary-expression before '{' token
  44.                  Implementation::AbstractQuadShader::ColorIndex{Implementation::AbstractQuadShader::ColorIndex::DataType::Short},
  45.                                                                ^
  46. In file included from /opt/android-ndk/sysroot/usr/include/Magnum/GL/Mesh.h:38:0,
  47.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/BasicGLLayer.h:33,
  48.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.h:35,
  49.                  from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:26:
  50. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h: In instantiation of 'class Magnum::GL::Attribute<2u, int>':
  51. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:62:90:   required from here
  52. /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
  53.          enum: UnsignedInt {
  54.              ^
  55. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  56.          typedef typename Implementation::Attribute<T>::ScalarType ScalarType;
  57.                                                                    ^
  58. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  59.   template<class> struct Attribute;
  60.                          ^
  61. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  62.          typedef typename Implementation::Attribute<T>::Components Components;
  63.                                                                    ^
  64. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  65.   template<class> struct Attribute;
  66.                          ^
  67. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:65: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  68.          typedef typename Implementation::Attribute<T>::DataType DataType;
  69.                                                                  ^
  70. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  71.   template<class> struct Attribute;
  72.                          ^
  73. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:67: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  74.          typedef typename Implementation::Attribute<T>::DataOption DataOption;
  75.                                                                    ^
  76. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  77.   template<class> struct Attribute;
  78.                          ^
  79. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:68: error: invalid use of incomplete type 'struct Magnum::GL::Implementation::Attribute<int>'
  80.          typedef typename Implementation::Attribute<T>::DataOptions DataOptions;
  81.                                                                     ^
  82. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: error: declaration of 'struct Magnum::GL::Implementation::Attribute<int>'
  83.   template<class> struct Attribute;
  84.                          ^
  85. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:62:51: error: expected primary-expression before '{' token
  86.              Implementation::TextShader::ColorIndex{Implementation::TextShader::ColorIndex::DataType::Short},
  87.                                                    ^
  88. /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)':
  89. /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]
  90.      for(std::size_t i = positions.size(); i != vertices.size(); ++i) vertices[i] = {};
  91.                                                                                   ^
  92. /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]
  93. /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]
  94. make[2]: *** [src/Magnum/Ui/CMakeFiles/MagnumUi.dir/build.make:182: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/Plane.cpp.o] Error 1
  95. make[1]: *** [CMakeFiles/Makefile2:141: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/all] Error 2
  96. make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement