Advertisement
Guest User

Implicit instantiation of undefined template

a guest
May 17th, 2018
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CMake 6.89 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 /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:26:
  4. In file included from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.h:35:
  5. In file included from /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/BasicGLLayer.h:33:
  6. In file included from /opt/android-ndk/sysroot/usr/include/Magnum/GL/Mesh.h:38:
  7. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:84:43: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  8.             VectorCount = Implementation::Attribute<T>::VectorCount
  9.                                           ^
  10. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:53:100: note: in instantiation of template class 'Magnum::GL::Attribute<3, int>' requested here
  11.                 Implementation::AbstractQuadShader::ColorIndex{Implementation::AbstractQuadShader::ColorIndex::DataType::Short},
  12.                                                                                                    ^
  13. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  14.         template<class> struct Attribute;
  15.                                ^
  16. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:42: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  17.         typedef typename Implementation::Attribute<T>::ScalarType ScalarType;
  18.                                          ^
  19. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  20.         template<class> struct Attribute;
  21.                                ^
  22. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:42: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  23.         typedef typename Implementation::Attribute<T>::Components Components;
  24.                                          ^
  25. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  26.         template<class> struct Attribute;
  27.                                ^
  28. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:42: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  29.         typedef typename Implementation::Attribute<T>::DataType DataType;
  30.                                          ^
  31. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  32.         template<class> struct Attribute;
  33.                                ^
  34. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:42: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  35.         typedef typename Implementation::Attribute<T>::DataOption DataOption;
  36.                                          ^
  37. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  38.         template<class> struct Attribute;
  39.                                ^
  40. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:42: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  41.         typedef typename Implementation::Attribute<T>::DataOptions DataOptions;
  42.                                          ^
  43. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  44.         template<class> struct Attribute;
  45.                                ^
  46. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:84:43: error: implicit instantiation of undefined template 'Magnum::GL::Implementation::Attribute<int>'
  47.             VectorCount = Implementation::Attribute<T>::VectorCount
  48.                                           ^
  49. /home/jq/projects/magnum-extras-clean/src/Magnum/Ui/Plane.cpp:62:80: note: in instantiation of template class 'Magnum::GL::Attribute<2, int>' requested here
  50.             Implementation::TextShader::ColorIndex{Implementation::TextShader::ColorIndex::DataType::Short},
  51.                                                                                ^
  52. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:41:25: note: template is declared here
  53.         template<class> struct Attribute;
  54.                                ^
  55. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:101:42: error: implicit instantiation of undefined template '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: note: template is declared here
  59.         template<class> struct Attribute;
  60.                                ^
  61. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:156:42: error: implicit instantiation of undefined template '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: note: template is declared here
  65.         template<class> struct Attribute;
  66.                                ^
  67. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:239:42: error: implicit instantiation of undefined template '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: note: template is declared here
  71.         template<class> struct Attribute;
  72.                                ^
  73. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:255:42: error: implicit instantiation of undefined template '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: note: template is declared here
  77.         template<class> struct Attribute;
  78.                                ^
  79. /opt/android-ndk/sysroot/usr/include/Magnum/GL/Attribute.h:265:42: error: implicit instantiation of undefined template '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: note: template is declared here
  83.         template<class> struct Attribute;
  84.                                ^
  85. 12 errors generated.
  86. make[2]: *** [src/Magnum/Ui/CMakeFiles/MagnumUi.dir/build.make:179: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/Plane.cpp.o] Error 1
  87. make[1]: *** [CMakeFiles/Makefile2:141: src/Magnum/Ui/CMakeFiles/MagnumUi.dir/all] Error 2
  88. make: *** [Makefile:130: all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement