Advertisement
AndySomogyi

Untitled

Apr 7th, 2020
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 19.51 KB | None | 0 0
  1. [ 83%] Building CXX object src/CMakeFiles/mechanica_obj.dir/MxUI.cpp.o
  2. In file included from /home/andy/src/mechanica/src/MxTestView.h:23:0,
  3.                  from /home/andy/src/mechanica/src/MxUI.cpp:9:
  4. /home/andy/src/mechanica/extern/magnum/src/Magnum/Trade/MeshData3D.h:44:13: warning: use Magnum/Trade/MeshData.h and the MeshData class instead
  5.  CORRADE_DEPRECATED_FILE("use Magnum/Trade/MeshData.h and the MeshData class instead")
  6.              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  7. In file included from /usr/include/X11/Xlib.h:44:0,
  8.                  from /usr/include/EGL/eglplatform.h:130,
  9.                  from /usr/include/EGL/egl.h:39,
  10.                  from /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/WindowlessEglApplication.h:35,
  11.                  from /home/andy/src/mechanica/include/Mechanica.h:24,
  12.                  from /home/andy/src/mechanica/src/mechanica_private.h:24,
  13.                  from /home/andy/src/mechanica/src/MxUI.h:12,
  14.                  from /home/andy/src/mechanica/src/MxUI.cpp:8:
  15. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1766:13: error: expected identifier before numeric constant
  16.              Button1 = GLFW_MOUSE_BUTTON_1,        /**< Mouse button 1 */
  17.              ^
  18. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1766:13: error: expected ‘}’ before numeric constant
  19. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1766:13: error: expected unqualified-id before numeric constant
  20. In file included from /home/andy/src/mechanica/src/MxTestView.h:18:0,
  21.                  from /home/andy/src/mechanica/src/MxUI.cpp:9:
  22. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1777:9: error: ‘Button’ does not name a type; did you mean ‘Button2’?
  23.          Button button() const { return _button; }
  24.          ^~~~~~
  25.          Button2
  26. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1780:29: error: non-member function ‘Magnum::Vector2i Magnum::Platform::position()’ cannot have cv-qualifier
  27.          Vector2i position() const { return _position; }
  28.                              ^~~~~
  29. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h: In function ‘Magnum::Vector2i Magnum::Platform::position()’:
  30. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1780:44: error: ‘_position’ was not declared in this scope
  31.          Vector2i position() const { return _position; }
  32.                                             ^~~~~~~~~
  33. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1780:44: note: suggested alternative: ‘position’
  34.          Vector2i position() const { return _position; }
  35.                                             ^~~~~~~~~
  36.                                             position
  37. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h: At global scope:
  38. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1783:9: error: ‘Modifiers’ does not name a type; did you mean ‘AnyModifier’?
  39.          Modifiers modifiers() const { return _modifiers; }
  40.          ^~~~~~~~~
  41.          AnyModifier
  42. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1785:5: error: expected unqualified-id before ‘private’
  43.      private:
  44.      ^~~~~~~
  45. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:9: error: ‘explicit’ outside class declaration
  46.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  47.          ^~~~~~~~
  48. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:29: error: ‘Button’ was not declared in this scope
  49.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  50.                              ^~~~~~
  51. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:29: note: suggested alternative: ‘Button2’
  52.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  53.                              ^~~~~~
  54.                              Button2
  55. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:44: error: expected primary-expression before ‘const’
  56.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  57.                                             ^~~~~
  58. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:70: error: ‘Modifiers’ was not declared in this scope
  59.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  60.                                                                       ^~~~~~~~~
  61. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:70: note: suggested alternative: ‘AnyModifier’
  62.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  63.                                                                       ^~~~~~~~~
  64.                                                                       AnyModifier
  65. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:89: error: expression list treated as compound expression in initializer [-fpermissive]
  66.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  67.                                                                                          ^
  68. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:107: error: expected unqualified-id before ‘,’ token
  69.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  70.                                                                                                            ^
  71. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:118: error: expected constructor, destructor, or type conversion before ‘{’ token
  72.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  73.                                                                                                                       ^
  74. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:128: error: expected unqualified-id before ‘,’ token
  75.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  76.                                                                                                                                 ^
  77. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:140: error: expected constructor, destructor, or type conversion before ‘{’ token
  78.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  79.                                                                                                                                             ^
  80. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1788:152: error: expected unqualified-id before ‘{’ token
  81.          explicit MouseEvent(Button button, const Vector2i& position, Modifiers modifiers): _button{button}, _position{position}, _modifiers{modifiers} {}
  82.                                                                                                                                                         ^
  83. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1790:15: error: ‘Button’ does not name a type; did you mean ‘Button2’?
  84.          const Button _button;
  85.                ^~~~~~
  86.                Button2
  87. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1792:15: error: ‘Modifiers’ does not name a type; did you mean ‘AnyModifier’?
  88.          const Modifiers _modifiers;
  89.                ^~~~~~~~~
  90.                AnyModifier
  91. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1800:7: error: ‘GlfwApplication’ has not been declared
  92.  class GlfwApplication::MouseMoveEvent: public GlfwApplication::InputEvent {
  93.        ^~~~~~~~~~~~~~~
  94. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1800:38: error: expected unqualified-id before ‘:’ token
  95.  class GlfwApplication::MouseMoveEvent: public GlfwApplication::InputEvent {
  96.                                       ^
  97. In file included from /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/WindowlessEglApplication.h:42:0,
  98.                  from /home/andy/src/mechanica/include/Mechanica.h:24,
  99.                  from /home/andy/src/mechanica/src/mechanica_private.h:24,
  100.                  from /home/andy/src/mechanica/src/MxUI.h:12,
  101.                  from /home/andy/src/mechanica/src/MxUI.cpp:8:
  102. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: declaration of ‘operator==’ as non-function
  103.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  104.                            ^
  105. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:209:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  106.      constexpr bool operator==(class::Type a, class b) {                     \
  107.                                ^~~~~
  108. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  109.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  110.                            ^
  111. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:209:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  112.      constexpr bool operator==(class::Type a, class b) {                     \
  113.                                ^~~~~
  114. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  115.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  116.                            ^
  117. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:209:46: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  118.      constexpr bool operator==(class::Type a, class b) {                     \
  119.                                               ^~~~~
  120. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: declaration of ‘operator!=’ as non-function
  121.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  122.                            ^
  123. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:212:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  124.      constexpr bool operator!=(class::Type a, class b) {                     \
  125.                                ^~~~~
  126. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  127.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  128.                            ^
  129. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:212:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  130.      constexpr bool operator!=(class::Type a, class b) {                     \
  131.                                ^~~~~
  132. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  133.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  134.                            ^
  135. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:212:46: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  136.      constexpr bool operator!=(class::Type a, class b) {                     \
  137.                                               ^~~~~
  138. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: declaration of ‘operator>=’ as non-function
  139.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  140.                            ^
  141. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:215:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  142.      constexpr bool operator>=(class::Type a, class b) {                     \
  143.                                ^~~~~
  144. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  145.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  146.                            ^
  147. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:215:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  148.      constexpr bool operator>=(class::Type a, class b) {                     \
  149.                                ^~~~~
  150. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  151.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  152.                            ^
  153. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:215:46: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  154.      constexpr bool operator>=(class::Type a, class b) {                     \
  155.                                               ^~~~~
  156. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: declaration of ‘operator<=’ as non-function
  157.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  158.                            ^
  159. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:218:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  160.      constexpr bool operator<=(class::Type a, class b) {                     \
  161.                                ^~~~~
  162. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  163.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  164.                            ^
  165. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:218:31: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  166.      constexpr bool operator<=(class::Type a, class b) {                     \
  167.                                ^~~~~
  168. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ has not been declared
  169.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  170.                            ^
  171. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:218:46: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  172.      constexpr bool operator<=(class::Type a, class b) {                     \
  173.                                               ^~~~~
  174. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ does not name a type
  175.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  176.                            ^
  177. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:221:15: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  178.      constexpr class operator|(class::Type a, class b) {                     \
  179.                ^~~~~
  180. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ does not name a type
  181.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  182.                            ^
  183. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:224:15: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  184.      constexpr class operator&(class::Type a, class b) {                     \
  185.                ^~~~~
  186. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ does not name a type
  187.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  188.                            ^
  189. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:227:15: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  190.      constexpr class operator^(class::Type a, class b) {                     \
  191.                ^~~~~
  192. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1859:27: error: ‘GlfwApplication’ does not name a type
  193.  CORRADE_ENUMSET_OPERATORS(GlfwApplication::MouseMoveEvent::Buttons)
  194.                            ^
  195. /home/andy/src/mechanica/extern/corrade/src/Corrade/Containers/EnumSet.h:230:15: note: in definition of macro ‘CORRADE_ENUMSET_OPERATORS’
  196.      constexpr class operator~(class::Type a) {                              \
  197.                ^~~~~
  198. In file included from /home/andy/src/mechanica/src/MxTestView.h:18:0,
  199.                  from /home/andy/src/mechanica/src/MxUI.cpp:9:
  200. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1866:7: error: ‘GlfwApplication’ has not been declared
  201.  class GlfwApplication::MouseScrollEvent: public GlfwApplication::InputEvent {
  202.        ^~~~~~~~~~~~~~~
  203. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1866:40: error: expected unqualified-id before ‘:’ token
  204.  class GlfwApplication::MouseScrollEvent: public GlfwApplication::InputEvent {
  205.                                         ^
  206. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1901:7: error: ‘GlfwApplication’ has not been declared
  207.  class GlfwApplication::TextInputEvent {
  208.        ^~~~~~~~~~~~~~~
  209. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1901:39: error: expected unqualified-id before ‘{’ token
  210.  class GlfwApplication::TextInputEvent {
  211.                                        ^
  212. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1969:9: error: ‘GlfwApplication’ does not name a type
  213.  typedef GlfwApplication Application;
  214.          ^~~~~~~~~~~~~~~
  215. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1970:9: error: ‘BasicScreen’ does not name a type; did you mean ‘Screen’?
  216.  typedef BasicScreen<GlfwApplication> Screen;
  217.          ^~~~~~~~~~~
  218.          Screen
  219. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1971:9: error: ‘BasicScreenedApplication’ does not name a type
  220.  typedef BasicScreenedApplication<GlfwApplication> ScreenedApplication;
  221.          ^~~~~~~~~~~~~~~~~~~~~~~~
  222. /home/andy/src/mechanica/extern/magnum/src/Magnum/Platform/GlfwApplication.h:1978:2: error: expected declaration before ‘}’ token
  223.  }}
  224.   ^
  225. src/CMakeFiles/mechanica_obj.dir/build.make:956: recipe for target 'src/CMakeFiles/mechanica_obj.dir/MxUI.cpp.o' failed
  226. make[2]: *** [src/CMakeFiles/mechanica_obj.dir/MxUI.cpp.o] Error 1
  227. CMakeFiles/Makefile2:4363: recipe for target 'src/CMakeFiles/mechanica_obj.dir/all' failed
  228. make[1]: *** [src/CMakeFiles/mechanica_obj.dir/all] Error 2
  229. Makefile:146: recipe for target 'all' failed
  230. make: *** [all] Error 2
  231. andy@osboxes:~/src/mx$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement