Guest User

Untitled

a guest
May 25th, 2019
82
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ make
  2. g++ -Isrc -Isrc/dsp -std=c++11 -Wsuggest-override -fPIC -I../../include -I../../dep/include -MMD -MP -g -O3 -march=athlon-fx -funsafe-math-optimizations -Wall -Wextra -Wno-unused-parameter -DARCH_LIN -c -o build/src/trigger_on_load.cpp.o src/trigger_on_load.cpp
  3. In file included from ../../include/rack.hpp:11:0,
  4. from src/trigger_on_load.hpp:2,
  5. from src/trigger_on_load.cpp:2:
  6. ../../include/window.hpp:65:2: error: ‘math’ does not name a type
  7. math::Vec mousePos;
  8. ^
  9. In file included from ../../include/widget/Widget.hpp:6:0,
  10. from ../../include/widget/OpaqueWidget.hpp:2,
  11. from ../../include/ui/MenuOverlay.hpp:2,
  12. from ../../include/helpers.hpp:3,
  13. from ../../include/rack.hpp:14,
  14. from src/trigger_on_load.hpp:2,
  15. from src/trigger_on_load.cpp:2:
  16. ../../include/event.hpp:98:2: error: ‘math’ does not name a type
  17. math::Vec pos;
  18. ^
  19. ../../include/event.hpp:130:2: error: ‘math’ does not name a type
  20. math::Vec mouseDelta;
  21. ^
  22. ../../include/event.hpp:173:2: error: ‘math’ does not name a type
  23. math::Vec scrollDelta;
  24. ^
  25. ../../include/event.hpp:243:2: error: ‘math’ does not name a type
  26. math::Vec mouseDelta;
  27. ^
  28. In file included from ../../include/widget/Widget.hpp:6:0,
  29. from ../../include/widget/OpaqueWidget.hpp:2,
  30. from ../../include/ui/MenuOverlay.hpp:2,
  31. from ../../include/helpers.hpp:3,
  32. from ../../include/rack.hpp:14,
  33. from src/trigger_on_load.hpp:2,
  34. from src/trigger_on_load.cpp:2:
  35. ../../include/event.hpp:254:2: error: ‘math’ does not name a type
  36. math::Vec mouseDelta;
  37. ^
  38. In file included from ../../include/widget/Widget.hpp:6:0,
  39. from ../../include/widget/OpaqueWidget.hpp:2,
  40. from ../../include/ui/MenuOverlay.hpp:2,
  41. from ../../include/helpers.hpp:3,
  42. from ../../include/rack.hpp:14,
  43. from src/trigger_on_load.hpp:2,
  44. from src/trigger_on_load.cpp:2:
  45. ../../include/event.hpp:376:20: error: ‘math’ has not been declared
  46. bool handleButton(math::Vec pos, int button, int action, int mods);
  47. ^
  48. ../../include/event.hpp:376:30: error: expected ‘,’ or ‘...’ before ‘pos’
  49. bool handleButton(math::Vec pos, int button, int action, int mods);
  50. ^
  51. ../../include/event.hpp:377:19: error: ‘math’ has not been declared
  52. bool handleHover(math::Vec pos, math::Vec mouseDelta);
  53. ^
  54. ../../include/event.hpp:377:29: error: expected ‘,’ or ‘...’ before ‘pos’
  55. bool handleHover(math::Vec pos, math::Vec mouseDelta);
  56. ^
  57. ../../include/event.hpp:379:20: error: ‘math’ has not been declared
  58. bool handleScroll(math::Vec pos, math::Vec scrollDelta);
  59. ^
  60. ../../include/event.hpp:379:30: error: expected ‘,’ or ‘...’ before ‘pos’
  61. bool handleScroll(math::Vec pos, math::Vec scrollDelta);
  62. ^
  63. ../../include/event.hpp:380:18: error: ‘math’ has not been declared
  64. bool handleText(math::Vec pos, int codepoint);
  65. ^
  66. ../../include/event.hpp:380:28: error: expected ‘,’ or ‘...’ before ‘pos’
  67. bool handleText(math::Vec pos, int codepoint);
  68. ^
  69. ../../include/event.hpp:381:17: error: ‘math’ has not been declared
  70. bool handleKey(math::Vec pos, int key, int scancode, int action, int mods);
  71. ^
  72. ../../include/event.hpp:381:27: error: expected ‘,’ or ‘...’ before ‘pos’
  73. bool handleKey(math::Vec pos, int key, int scancode, int action, int mods);
  74. ^
  75. ../../include/event.hpp:382:18: error: ‘math’ has not been declared
  76. bool handleDrop(math::Vec pos, const std::vector<std::string> &paths);
  77. ^
  78. ../../include/event.hpp:382:28: error: expected ‘,’ or ‘...’ before ‘pos’
  79. bool handleDrop(math::Vec pos, const std::vector<std::string> &paths);
  80. ^
  81. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  82. from ../../include/ui/MenuOverlay.hpp:2,
  83. from ../../include/helpers.hpp:3,
  84. from ../../include/rack.hpp:14,
  85. from src/trigger_on_load.hpp:2,
  86. from src/trigger_on_load.cpp:2:
  87. ../../include/widget/Widget.hpp:24:2: error: ‘math’ does not name a type
  88. math::Rect box = math::Rect(math::Vec(), math::Vec(INFINITY, INFINITY));
  89. ^
  90. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  91. from ../../include/ui/MenuOverlay.hpp:2,
  92. from ../../include/helpers.hpp:3,
  93. from ../../include/rack.hpp:14,
  94. from src/trigger_on_load.hpp:2,
  95. from src/trigger_on_load.cpp:2:
  96. ../../include/widget/Widget.hpp:35:19: error: ‘math’ has not been declared
  97. void setPosition(math::Vec pos);
  98. ^
  99. ../../include/widget/Widget.hpp:35:29: error: expected ‘,’ or ‘...’ before ‘pos’
  100. void setPosition(math::Vec pos);
  101. ^
  102. ../../include/widget/Widget.hpp:36:15: error: ‘math’ has not been declared
  103. void setSize(math::Vec size);
  104. ^
  105. ../../include/widget/Widget.hpp:36:25: error: expected ‘,’ or ‘...’ before ‘size’
  106. void setSize(math::Vec size);
  107. ^
  108. ../../include/widget/Widget.hpp:41:10: error: ‘math’ does not name a type
  109. virtual math::Rect getChildrenBoundingBox();
  110. ^
  111. ../../include/widget/Widget.hpp:43:10: error: ‘math’ does not name a type
  112. virtual math::Vec getRelativeOffset(math::Vec v, Widget *relative);
  113. ^
  114. ../../include/widget/Widget.hpp:45:2: error: ‘math’ does not name a type
  115. math::Vec getAbsoluteOffset(math::Vec v) {
  116. ^
  117. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  118. from ../../include/ui/MenuOverlay.hpp:2,
  119. from ../../include/helpers.hpp:3,
  120. from ../../include/rack.hpp:14,
  121. from src/trigger_on_load.hpp:2,
  122. from src/trigger_on_load.cpp:2:
  123. ../../include/widget/Widget.hpp:49:10: error: ‘math’ does not name a type
  124. virtual math::Rect getViewport(math::Rect r);
  125. ^
  126. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  127. from ../../include/ui/MenuOverlay.hpp:2,
  128. from ../../include/helpers.hpp:3,
  129. from ../../include/rack.hpp:14,
  130. from src/trigger_on_load.hpp:2,
  131. from src/trigger_on_load.cpp:2:
  132. ../../include/widget/Widget.hpp:87:3: error: ‘math’ does not name a type
  133. math::Rect clipBox;
  134. ^
  135. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  136. from ../../include/ui/MenuOverlay.hpp:2,
  137. from ../../include/helpers.hpp:3,
  138. from ../../include/rack.hpp:14,
  139. from src/trigger_on_load.hpp:2,
  140. from src/trigger_on_load.cpp:2:
  141. ../../include/widget/Widget.hpp: In member function ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&)’:
  142. ../../include/widget/Widget.hpp:128:16: error: ‘struct rack::widget::Widget’ has no member named ‘box’
  143. if (!child->box.isContaining(e.pos))
  144. ^
  145. ../../include/widget/Widget.hpp:133:32: error: ‘struct rack::widget::Widget’ has no member named ‘box’
  146. e2.pos = e.pos.minus(child->box.pos);
  147. ^
  148. In file included from ../../include/app/PortWidget.hpp:2:0,
  149. from ../../include/helpers.hpp:7,
  150. from ../../include/rack.hpp:14,
  151. from src/trigger_on_load.hpp:2,
  152. from src/trigger_on_load.cpp:2:
  153. ../../include/app/common.hpp: At global scope:
  154. ../../include/app/common.hpp:29:8: error: ‘math’ does not name a type
  155. inline math::Vec in2px(math::Vec in) {
  156. ^
  157. ../../include/app/common.hpp:38:8: error: ‘math’ does not name a type
  158. inline math::Vec mm2px(math::Vec mm) {
  159. ^
  160. ../../include/app/common.hpp:46:14: error: ‘math’ does not name a type
  161. static const math::Vec RACK_GRID_SIZE = math::Vec(RACK_GRID_WIDTH, RACK_GRID_HEIGHT);
  162. ^
  163. ../../include/app/common.hpp:47:14: error: ‘math’ does not name a type
  164. static const math::Vec RACK_OFFSET = RACK_GRID_SIZE.mult(math::Vec(2000, 100));
  165. ^
  166. ../../include/app/common.hpp:48:14: error: ‘math’ does not name a type
  167. static const math::Vec BUS_BOARD_GRID_SIZE = math::Vec(RACK_GRID_WIDTH * 20, RACK_GRID_HEIGHT);
  168. ^
  169. In file included from ../../include/engine/ParamQuantity.hpp:2:0,
  170. from ../../include/engine/Module.hpp:8,
  171. from ../../include/app/PortWidget.hpp:5,
  172. from ../../include/helpers.hpp:7,
  173. from ../../include/rack.hpp:14,
  174. from src/trigger_on_load.hpp:2,
  175. from src/trigger_on_load.cpp:2:
  176. ../../include/Quantity.hpp: In member function ‘void rack::Quantity::setScaledValue(float)’:
  177. ../../include/Quantity.hpp:90:12: error: ‘math’ has not been declared
  178. setValue(math::rescale(scaledValue, 0.f, 1.f, getMinValue(), getMaxValue()));
  179. ^
  180. ../../include/Quantity.hpp: In member function ‘float rack::Quantity::getScaledValue()’:
  181. ../../include/Quantity.hpp:95:10: error: ‘math’ has not been declared
  182. return math::rescale(getValue(), getMinValue(), getMaxValue(), 0.f, 1.f);
  183. ^
  184. In file included from ../../include/app/ParamWidget.hpp:6:0,
  185. from ../../include/helpers.hpp:8,
  186. from ../../include/rack.hpp:14,
  187. from src/trigger_on_load.hpp:2,
  188. from src/trigger_on_load.cpp:2:
  189. ../../include/history.hpp: At global scope:
  190. ../../include/history.hpp:70:2: error: ‘math’ does not name a type
  191. math::Vec pos;
  192. ^
  193. ../../include/history.hpp:90:2: error: ‘math’ does not name a type
  194. math::Vec oldPos;
  195. ^
  196. ../../include/history.hpp:91:2: error: ‘math’ does not name a type
  197. math::Vec newPos;
  198. ^
  199. In file included from ../../include/app/RackScrollWidget.hpp:3:0,
  200. from ../../include/app/Scene.hpp:4,
  201. from ../../include/helpers.hpp:9,
  202. from ../../include/rack.hpp:14,
  203. from src/trigger_on_load.hpp:2,
  204. from src/trigger_on_load.cpp:2:
  205. ../../include/ui/ScrollWidget.hpp:16:2: error: ‘math’ does not name a type
  206. math::Vec offset;
  207. ^
  208. ../../include/ui/ScrollWidget.hpp:19:16: error: ‘math’ has not been declared
  209. void scrollTo(math::Rect r);
  210. ^
  211. ../../include/ui/ScrollWidget.hpp:19:27: error: expected ‘,’ or ‘...’ before ‘r’
  212. void scrollTo(math::Rect r);
  213. ^
  214. In file included from ../../include/app/RackScrollWidget.hpp:4:0,
  215. from ../../include/app/Scene.hpp:4,
  216. from ../../include/helpers.hpp:9,
  217. from ../../include/rack.hpp:14,
  218. from src/trigger_on_load.hpp:2,
  219. from src/trigger_on_load.cpp:2:
  220. ../../include/widget/ZoomWidget.hpp:13:2: error: ‘math’ does not name a type
  221. math::Vec getRelativeOffset(math::Vec v, Widget *relative) override;
  222. ^
  223. ../../include/widget/ZoomWidget.hpp:14:2: error: ‘math’ does not name a type
  224. math::Rect getViewport(math::Rect r) override;
  225. ^
  226. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onHover(const rack::event::Hover&)’:
  227. ../../include/widget/ZoomWidget.hpp:20:6: error: ‘struct rack::event::Hover’ has no member named ‘pos’
  228. e2.pos = e.pos.div(zoom);
  229. ^
  230. ../../include/widget/ZoomWidget.hpp:20:14: error: ‘const struct rack::event::Hover’ has no member named ‘pos’
  231. e2.pos = e.pos.div(zoom);
  232. ^
  233. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onButton(const rack::event::Button&)’:
  234. ../../include/widget/ZoomWidget.hpp:25:6: error: ‘struct rack::event::Button’ has no member named ‘pos’
  235. e2.pos = e.pos.div(zoom);
  236. ^
  237. ../../include/widget/ZoomWidget.hpp:25:14: error: ‘const struct rack::event::Button’ has no member named ‘pos’
  238. e2.pos = e.pos.div(zoom);
  239. ^
  240. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onHoverKey(const rack::event::HoverKey&)’:
  241. ../../include/widget/ZoomWidget.hpp:30:6: error: ‘struct rack::event::HoverKey’ has no member named ‘pos’
  242. e2.pos = e.pos.div(zoom);
  243. ^
  244. ../../include/widget/ZoomWidget.hpp:30:14: error: ‘const struct rack::event::HoverKey’ has no member named ‘pos’
  245. e2.pos = e.pos.div(zoom);
  246. ^
  247. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onHoverText(const rack::event::HoverText&)’:
  248. ../../include/widget/ZoomWidget.hpp:35:6: error: ‘struct rack::event::HoverText’ has no member named ‘pos’
  249. e2.pos = e.pos.div(zoom);
  250. ^
  251. ../../include/widget/ZoomWidget.hpp:35:14: error: ‘const struct rack::event::HoverText’ has no member named ‘pos’
  252. e2.pos = e.pos.div(zoom);
  253. ^
  254. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onHoverScroll(const rack::event::HoverScroll&)’:
  255. ../../include/widget/ZoomWidget.hpp:40:6: error: ‘struct rack::event::HoverScroll’ has no member named ‘pos’
  256. e2.pos = e.pos.div(zoom);
  257. ^
  258. ../../include/widget/ZoomWidget.hpp:40:14: error: ‘const struct rack::event::HoverScroll’ has no member named ‘pos’
  259. e2.pos = e.pos.div(zoom);
  260. ^
  261. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onDragHover(const rack::event::DragHover&)’:
  262. ../../include/widget/ZoomWidget.hpp:45:6: error: ‘struct rack::event::DragHover’ has no member named ‘pos’
  263. e2.pos = e.pos.div(zoom);
  264. ^
  265. ../../include/widget/ZoomWidget.hpp:45:14: error: ‘const struct rack::event::DragHover’ has no member named ‘pos’
  266. e2.pos = e.pos.div(zoom);
  267. ^
  268. ../../include/widget/ZoomWidget.hpp: In member function ‘virtual void rack::widget::ZoomWidget::onPathDrop(const rack::event::PathDrop&)’:
  269. ../../include/widget/ZoomWidget.hpp:50:6: error: ‘struct rack::event::PathDrop’ has no member named ‘pos’
  270. e2.pos = e.pos.div(zoom);
  271. ^
  272. ../../include/widget/ZoomWidget.hpp:50:14: error: ‘const struct rack::event::PathDrop’ has no member named ‘pos’
  273. e2.pos = e.pos.div(zoom);
  274. ^
  275. In file included from ../../include/app/RackWidget.hpp:4:0,
  276. from ../../include/app/RackScrollWidget.hpp:5,
  277. from ../../include/app/Scene.hpp:4,
  278. from ../../include/helpers.hpp:9,
  279. from ../../include/rack.hpp:14,
  280. from src/trigger_on_load.hpp:2,
  281. from src/trigger_on_load.cpp:2:
  282. ../../include/widget/FramebufferWidget.hpp: At global scope:
  283. ../../include/widget/FramebufferWidget.hpp:20:2: error: ‘math’ does not name a type
  284. math::Vec scale;
  285. ^
  286. ../../include/widget/FramebufferWidget.hpp:22:2: error: ‘math’ does not name a type
  287. math::Vec offset;
  288. ^
  289. ../../include/widget/FramebufferWidget.hpp:24:2: error: ‘math’ does not name a type
  290. math::Vec fbSize;
  291. ^
  292. ../../include/widget/FramebufferWidget.hpp:28:2: error: ‘math’ does not name a type
  293. math::Rect fbBox;
  294. ^
  295. ../../include/widget/FramebufferWidget.hpp:30:2: error: ‘math’ does not name a type
  296. math::Vec fbScale;
  297. ^
  298. ../../include/widget/FramebufferWidget.hpp:32:2: error: ‘math’ does not name a type
  299. math::Vec fbOffset;
  300. ^
  301. In file included from ../../include/app/RackWidget.hpp:5:0,
  302. from ../../include/app/RackScrollWidget.hpp:5,
  303. from ../../include/app/Scene.hpp:4,
  304. from ../../include/helpers.hpp:9,
  305. from ../../include/rack.hpp:14,
  306. from src/trigger_on_load.hpp:2,
  307. from src/trigger_on_load.cpp:2:
  308. ../../include/app/ModuleWidget.hpp:28:2: error: ‘math’ does not name a type
  309. math::Vec dragPos;
  310. ^
  311. ../../include/app/ModuleWidget.hpp:29:2: error: ‘math’ does not name a type
  312. math::Vec oldPos;
  313. ^
  314. In file included from ../../include/app/RackWidget.hpp:6:0,
  315. from ../../include/app/RackScrollWidget.hpp:5,
  316. from ../../include/app/Scene.hpp:4,
  317. from ../../include/helpers.hpp:9,
  318. from ../../include/rack.hpp:14,
  319. from src/trigger_on_load.hpp:2,
  320. from src/trigger_on_load.cpp:2:
  321. ../../include/app/CableWidget.hpp:28:2: error: ‘math’ does not name a type
  322. math::Vec getOutputPos();
  323. ^
  324. ../../include/app/CableWidget.hpp:29:2: error: ‘math’ does not name a type
  325. math::Vec getInputPos();
  326. ^
  327. In file included from ../../include/app/RackScrollWidget.hpp:5:0,
  328. from ../../include/app/Scene.hpp:4,
  329. from ../../include/helpers.hpp:9,
  330. from ../../include/rack.hpp:14,
  331. from src/trigger_on_load.hpp:2,
  332. from src/trigger_on_load.cpp:2:
  333. ../../include/app/RackWidget.hpp:24:2: error: ‘math’ does not name a type
  334. math::Vec mousePos;
  335. ^
  336. In file included from ../../include/app/RackScrollWidget.hpp:5:0,
  337. from ../../include/app/Scene.hpp:4,
  338. from ../../include/helpers.hpp:9,
  339. from ../../include/rack.hpp:14,
  340. from src/trigger_on_load.hpp:2,
  341. from src/trigger_on_load.cpp:2:
  342. ../../include/app/RackWidget.hpp:26:16: error: ‘math’ was not declared in this scope
  343. std::map<int, math::Vec> moduleDragPositions;
  344. ^
  345. ../../include/app/RackWidget.hpp:26:25: error: template argument 2 is invalid
  346. std::map<int, math::Vec> moduleDragPositions;
  347. ^
  348. ../../include/app/RackWidget.hpp:26:25: error: template argument 4 is invalid
  349. ../../include/app/RackWidget.hpp:56:42: error: ‘math’ has not been declared
  350. bool requestModulePos(ModuleWidget *mw, math::Vec pos);
  351. ^
  352. ../../include/app/RackWidget.hpp:56:52: error: expected ‘,’ or ‘...’ before ‘pos’
  353. bool requestModulePos(ModuleWidget *mw, math::Vec pos);
  354. ^
  355. ../../include/app/RackWidget.hpp:58:45: error: ‘math’ has not been declared
  356. void setModulePosNearest(ModuleWidget *mw, math::Vec pos);
  357. ^
  358. ../../include/app/RackWidget.hpp:58:55: error: expected ‘,’ or ‘...’ before ‘pos’
  359. void setModulePosNearest(ModuleWidget *mw, math::Vec pos);
  360. ^
  361. ../../include/app/RackWidget.hpp:59:43: error: ‘math’ has not been declared
  362. void setModulePosForce(ModuleWidget *mw, math::Vec pos);
  363. ^
  364. ../../include/app/RackWidget.hpp:59:53: error: expected ‘,’ or ‘...’ before ‘pos’
  365. void setModulePosForce(ModuleWidget *mw, math::Vec pos);
  366. ^
  367. In file included from ../../include/app/Scene.hpp:4:0,
  368. from ../../include/helpers.hpp:9,
  369. from ../../include/rack.hpp:14,
  370. from src/trigger_on_load.hpp:2,
  371. from src/trigger_on_load.cpp:2:
  372. ../../include/app/RackScrollWidget.hpp:16:2: error: ‘math’ does not name a type
  373. math::Vec zoomPos;
  374. ^
  375. ../../include/app/RackScrollWidget.hpp:17:2: error: ‘math’ does not name a type
  376. math::Vec oldOffset;
  377. ^
  378. In file included from ../../include/rack.hpp:14:0,
  379. from src/trigger_on_load.hpp:2,
  380. from src/trigger_on_load.cpp:2:
  381. ../../include/helpers.hpp:47:23: error: ‘math’ has not been declared
  382. TWidget *createWidget(math::Vec pos) {
  383. ^
  384. ../../include/helpers.hpp:47:10: warning: variable templates only available with -std=c++14 or -std=gnu++14
  385. TWidget *createWidget(math::Vec pos) {
  386. ^
  387. ../../include/helpers.hpp:47:38: error: expected ‘;’ before ‘{’ token
  388. TWidget *createWidget(math::Vec pos) {
  389. ^
  390. ../../include/helpers.hpp:54:31: error: ‘math’ has not been declared
  391. TWidget *createWidgetCentered(math::Vec pos) {
  392. ^
  393. ../../include/helpers.hpp:54:10: warning: variable templates only available with -std=c++14 or -std=gnu++14
  394. TWidget *createWidgetCentered(math::Vec pos) {
  395. ^
  396. ../../include/helpers.hpp:54:46: error: expected ‘;’ before ‘{’ token
  397. TWidget *createWidgetCentered(math::Vec pos) {
  398. ^
  399. ../../include/helpers.hpp:61:27: error: ‘math’ has not been declared
  400. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  401. ^
  402. ../../include/helpers.hpp:61:57: error: expected primary-expression before ‘*’ token
  403. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  404. ^
  405. ../../include/helpers.hpp:61:58: error: ‘module’ was not declared in this scope
  406. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  407. ^
  408. ../../include/helpers.hpp:61:66: error: expected primary-expression before ‘int’
  409. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  410. ^
  411. ../../include/helpers.hpp:61:15: warning: variable templates only available with -std=c++14 or -std=gnu++14
  412. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  413. ^
  414. ../../include/helpers.hpp:61:79: error: expected ‘;’ before ‘{’ token
  415. TParamWidget *createParam(math::Vec pos, engine::Module *module, int paramId) {
  416. ^
  417. ../../include/helpers.hpp:71:35: error: ‘math’ has not been declared
  418. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  419. ^
  420. ../../include/helpers.hpp:71:65: error: expected primary-expression before ‘*’ token
  421. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  422. ^
  423. ../../include/helpers.hpp:71:66: error: ‘module’ was not declared in this scope
  424. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  425. ^
  426. ../../include/helpers.hpp:71:74: error: expected primary-expression before ‘int’
  427. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  428. ^
  429. ../../include/helpers.hpp:71:15: warning: variable templates only available with -std=c++14 or -std=gnu++14
  430. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  431. ^
  432. ../../include/helpers.hpp:71:87: error: expected ‘;’ before ‘{’ token
  433. TParamWidget *createParamCentered(math::Vec pos, engine::Module *module, int paramId) {
  434. ^
  435. ../../include/helpers.hpp:78:26: error: ‘math’ has not been declared
  436. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  437. ^
  438. ../../include/helpers.hpp:78:56: error: expected primary-expression before ‘*’ token
  439. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  440. ^
  441. ../../include/helpers.hpp:78:57: error: ‘module’ was not declared in this scope
  442. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  443. ^
  444. ../../include/helpers.hpp:78:65: error: expected primary-expression before ‘int’
  445. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  446. ^
  447. ../../include/helpers.hpp:78:14: warning: variable templates only available with -std=c++14 or -std=gnu++14
  448. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  449. ^
  450. ../../include/helpers.hpp:78:78: error: expected ‘;’ before ‘{’ token
  451. TPortWidget *createInput(math::Vec pos, engine::Module *module, int inputId) {
  452. ^
  453. ../../include/helpers.hpp:88:34: error: ‘math’ has not been declared
  454. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  455. ^
  456. ../../include/helpers.hpp:88:64: error: expected primary-expression before ‘*’ token
  457. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  458. ^
  459. ../../include/helpers.hpp:88:65: error: ‘module’ was not declared in this scope
  460. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  461. ^
  462. ../../include/helpers.hpp:88:73: error: expected primary-expression before ‘int’
  463. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  464. ^
  465. ../../include/helpers.hpp:88:14: warning: variable templates only available with -std=c++14 or -std=gnu++14
  466. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  467. ^
  468. ../../include/helpers.hpp:88:86: error: expected ‘;’ before ‘{’ token
  469. TPortWidget *createInputCentered(math::Vec pos, engine::Module *module, int inputId) {
  470. ^
  471. ../../include/helpers.hpp:95:27: error: ‘math’ has not been declared
  472. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  473. ^
  474. ../../include/helpers.hpp:95:57: error: expected primary-expression before ‘*’ token
  475. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  476. ^
  477. ../../include/helpers.hpp:95:58: error: ‘module’ was not declared in this scope
  478. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  479. ^
  480. ../../include/helpers.hpp:95:66: error: expected primary-expression before ‘int’
  481. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  482. ^
  483. ../../include/helpers.hpp:95:14: warning: variable templates only available with -std=c++14 or -std=gnu++14
  484. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  485. ^
  486. ../../include/helpers.hpp:95:80: error: expected ‘;’ before ‘{’ token
  487. TPortWidget *createOutput(math::Vec pos, engine::Module *module, int outputId) {
  488. ^
  489. ../../include/helpers.hpp:105:35: error: ‘math’ has not been declared
  490. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  491. ^
  492. ../../include/helpers.hpp:105:65: error: expected primary-expression before ‘*’ token
  493. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  494. ^
  495. ../../include/helpers.hpp:105:66: error: ‘module’ was not declared in this scope
  496. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  497. ^
  498. ../../include/helpers.hpp:105:74: error: expected primary-expression before ‘int’
  499. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  500. ^
  501. ../../include/helpers.hpp:105:14: warning: variable templates only available with -std=c++14 or -std=gnu++14
  502. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  503. ^
  504. ../../include/helpers.hpp:105:88: error: expected ‘;’ before ‘{’ token
  505. TPortWidget *createOutputCentered(math::Vec pos, engine::Module *module, int outputId) {
  506. ^
  507. ../../include/helpers.hpp:112:33: error: ‘math’ has not been declared
  508. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  509. ^
  510. ../../include/helpers.hpp:112:63: error: expected primary-expression before ‘*’ token
  511. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  512. ^
  513. ../../include/helpers.hpp:112:64: error: ‘module’ was not declared in this scope
  514. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  515. ^
  516. ../../include/helpers.hpp:112:72: error: expected primary-expression before ‘int’
  517. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  518. ^
  519. ../../include/helpers.hpp:112:21: warning: variable templates only available with -std=c++14 or -std=gnu++14
  520. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  521. ^
  522. ../../include/helpers.hpp:112:90: error: expected ‘;’ before ‘{’ token
  523. TModuleLightWidget *createLight(math::Vec pos, engine::Module *module, int firstLightId) {
  524. ^
  525. ../../include/helpers.hpp:121:41: error: ‘math’ has not been declared
  526. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  527. ^
  528. ../../include/helpers.hpp:121:71: error: expected primary-expression before ‘*’ token
  529. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  530. ^
  531. ../../include/helpers.hpp:121:72: error: ‘module’ was not declared in this scope
  532. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  533. ^
  534. ../../include/helpers.hpp:121:80: error: expected primary-expression before ‘int’
  535. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  536. ^
  537. ../../include/helpers.hpp:121:21: warning: variable templates only available with -std=c++14 or -std=gnu++14
  538. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  539. ^
  540. ../../include/helpers.hpp:121:98: error: expected ‘;’ before ‘{’ token
  541. TModuleLightWidget *createLightCentered(math::Vec pos, engine::Module *module, int firstLightId) {
  542. ^
  543. ../../include/helpers.hpp: In function ‘TMenu* rack::createMenu()’:
  544. ../../include/helpers.hpp:145:33: error: ‘struct rack::Window’ has no member named ‘mousePos’
  545. o->box.pos = APP->window->mousePos;
  546. ^
  547. In file included from ../../include/app/SvgKnob.hpp:5:0,
  548. from ../../include/componentlibrary.hpp:2,
  549. from ../../include/rack.hpp:15,
  550. from src/trigger_on_load.hpp:2,
  551. from src/trigger_on_load.cpp:2:
  552. ../../include/widget/TransformWidget.hpp: At global scope:
  553. ../../include/widget/TransformWidget.hpp:22:17: error: ‘math’ has not been declared
  554. void translate(math::Vec delta) {
  555. ^
  556. ../../include/widget/TransformWidget.hpp:22:27: error: expected ‘,’ or ‘...’ before ‘delta’
  557. void translate(math::Vec delta) {
  558. ^
  559. ../../include/widget/TransformWidget.hpp:34:13: error: ‘math’ has not been declared
  560. void scale(math::Vec s) {
  561. ^
  562. ../../include/widget/TransformWidget.hpp:34:23: error: expected ‘,’ or ‘...’ before ‘s’
  563. void scale(math::Vec s) {
  564. ^
  565. ../../include/widget/TransformWidget.hpp: In member function ‘void rack::widget::TransformWidget::translate(int)’:
  566. ../../include/widget/TransformWidget.hpp:24:28: error: ‘delta’ was not declared in this scope
  567. nvgTransformTranslate(t, delta.x, delta.y);
  568. ^
  569. ../../include/widget/TransformWidget.hpp: In member function ‘void rack::widget::TransformWidget::scale(int)’:
  570. ../../include/widget/TransformWidget.hpp:36:24: error: ‘s’ was not declared in this scope
  571. nvgTransformScale(t, s.x, s.y);
  572. ^
  573. In file included from ../../include/componentlibrary.hpp:3:0,
  574. from ../../include/rack.hpp:15,
  575. from src/trigger_on_load.hpp:2,
  576. from src/trigger_on_load.cpp:2:
  577. ../../include/app/SvgSlider.hpp: At global scope:
  578. ../../include/app/SvgSlider.hpp:20:2: error: ‘math’ does not name a type
  579. math::Vec minHandlePos, maxHandlePos;
  580. ^
  581. In file included from ../../include/rack.hpp:15:0,
  582. from src/trigger_on_load.hpp:2,
  583. from src/trigger_on_load.cpp:2:
  584. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::BefacoSlidePot::BefacoSlidePot()’:
  585. ../../include/componentlibrary.hpp:344:3: error: ‘math’ has not been declared
  586. math::Vec margin = math::Vec(3.5, 3.5);
  587. ^
  588. ../../include/componentlibrary.hpp:345:3: error: ‘maxHandlePos’ was not declared in this scope
  589. maxHandlePos = math::Vec(-1, -2).plus(margin);
  590. ^
  591. ../../include/componentlibrary.hpp:345:18: error: ‘math’ has not been declared
  592. maxHandlePos = math::Vec(-1, -2).plus(margin);
  593. ^
  594. ../../include/componentlibrary.hpp:345:41: error: ‘margin’ was not declared in this scope
  595. maxHandlePos = math::Vec(-1, -2).plus(margin);
  596. ^
  597. ../../include/componentlibrary.hpp:346:3: error: ‘minHandlePos’ was not declared in this scope
  598. minHandlePos = math::Vec(-1, 87).plus(margin);
  599. ^
  600. ../../include/componentlibrary.hpp:346:18: error: ‘math’ has not been declared
  601. minHandlePos = math::Vec(-1, 87).plus(margin);
  602. ^
  603. ../../include/componentlibrary.hpp:349:15: error: ‘struct rack::widget::SvgWidget’ has no member named ‘box’
  604. background->box.pos = margin;
  605. ^
  606. ../../include/componentlibrary.hpp:350:3: error: ‘box’ was not declared in this scope
  607. box.size = background->box.size.plus(margin.mult(2));
  608. ^
  609. ../../include/componentlibrary.hpp:350:26: error: ‘struct rack::widget::SvgWidget’ has no member named ‘box’
  610. box.size = background->box.size.plus(margin.mult(2));
  611. ^
  612. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::LEDSlider::LEDSlider()’:
  613. ../../include/componentlibrary.hpp:356:3: error: ‘maxHandlePos’ was not declared in this scope
  614. maxHandlePos = app::mm2px(math::Vec(0.738, 0.738).plus(math::Vec(2, 0)));
  615. ^
  616. ../../include/componentlibrary.hpp:356:29: error: ‘math’ has not been declared
  617. maxHandlePos = app::mm2px(math::Vec(0.738, 0.738).plus(math::Vec(2, 0)));
  618. ^
  619. ../../include/componentlibrary.hpp:356:58: error: ‘math’ has not been declared
  620. maxHandlePos = app::mm2px(math::Vec(0.738, 0.738).plus(math::Vec(2, 0)));
  621. ^
  622. ../../include/componentlibrary.hpp:357:3: error: ‘minHandlePos’ was not declared in this scope
  623. minHandlePos = app::mm2px(math::Vec(0.738, 22.078).plus(math::Vec(2, 0)));
  624. ^
  625. ../../include/componentlibrary.hpp:357:29: error: ‘math’ has not been declared
  626. minHandlePos = app::mm2px(math::Vec(0.738, 22.078).plus(math::Vec(2, 0)));
  627. ^
  628. ../../include/componentlibrary.hpp:357:59: error: ‘math’ has not been declared
  629. minHandlePos = app::mm2px(math::Vec(0.738, 22.078).plus(math::Vec(2, 0)));
  630. ^
  631. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::LargeLight<BASE>::LargeLight()’:
  632. ../../include/componentlibrary.hpp:470:31: error: ‘math’ has not been declared
  633. this->box.size = app::mm2px(math::Vec(5.179, 5.179));
  634. ^
  635. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::MediumLight<BASE>::MediumLight()’:
  636. ../../include/componentlibrary.hpp:478:31: error: ‘math’ has not been declared
  637. this->box.size = app::mm2px(math::Vec(3.176, 3.176));
  638. ^
  639. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::SmallLight<BASE>::SmallLight()’:
  640. ../../include/componentlibrary.hpp:486:31: error: ‘math’ has not been declared
  641. this->box.size = app::mm2px(math::Vec(2.176, 2.176));
  642. ^
  643. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::TinyLight<BASE>::TinyLight()’:
  644. ../../include/componentlibrary.hpp:494:31: error: ‘math’ has not been declared
  645. this->box.size = app::mm2px(math::Vec(1.088, 1.088));
  646. ^
  647. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::LEDBezelLight<BASE>::LEDBezelLight()’:
  648. ../../include/componentlibrary.hpp:503:31: error: ‘math’ has not been declared
  649. this->box.size = app::mm2px(math::Vec(6.0, 6.0));
  650. ^
  651. ../../include/componentlibrary.hpp: In constructor ‘rack::componentlibrary::PB61303Light<BASE>::PB61303Light()’:
  652. ../../include/componentlibrary.hpp:514:31: error: ‘math’ has not been declared
  653. this->box.size = app::mm2px(math::Vec(9.0, 9.0));
  654. ^
  655. In file included from ../../include/rack.hpp:26:0,
  656. from src/trigger_on_load.hpp:2,
  657. from src/trigger_on_load.cpp:2:
  658. ../../include/ui/SequentialLayout.hpp: At global scope:
  659. ../../include/ui/SequentialLayout.hpp:25:2: error: ‘math’ does not name a type
  660. math::Vec spacing;
  661. ^
  662. In file included from ../../include/rack.hpp:31:0,
  663. from src/trigger_on_load.hpp:2,
  664. from src/trigger_on_load.cpp:2:
  665. ../../include/ui/TextField.hpp:35:30: error: ‘math’ has not been declared
  666. virtual int getTextPosition(math::Vec mousePos);
  667. ^
  668. ../../include/ui/TextField.hpp:35:40: error: expected ‘,’ or ‘...’ before ‘mousePos’
  669. virtual int getTextPosition(math::Vec mousePos);
  670. ^
  671. In file included from ../../include/app/AudioWidget.hpp:3:0,
  672. from ../../include/rack.hpp:46,
  673. from src/trigger_on_load.hpp:2,
  674. from src/trigger_on_load.cpp:2:
  675. ../../include/app/LedDisplay.hpp:24:2: error: ‘math’ does not name a type
  676. math::Vec textOffset;
  677. ^
  678. ../../include/app/LedDisplay.hpp:34:2: error: ‘math’ does not name a type
  679. math::Vec textOffset;
  680. ^
  681. ../../include/app/LedDisplay.hpp:38:22: error: ‘math’ has not been declared
  682. int getTextPosition(math::Vec mousePos) override;
  683. ^
  684. ../../include/app/LedDisplay.hpp:38:32: error: expected ‘,’ or ‘...’ before ‘mousePos’
  685. int getTextPosition(math::Vec mousePos) override;
  686. ^
  687. In file included from ../../include/dsp/common.hpp:3:0,
  688. from ../../include/rack.hpp:82,
  689. from src/trigger_on_load.hpp:2,
  690. from src/trigger_on_load.cpp:2:
  691. ../../include/simd/functions.hpp:151:7: error: ‘math’ has not been declared
  692. using math::clamp;
  693. ^
  694. ../../include/simd/functions.hpp:157:7: error: ‘math’ has not been declared
  695. using math::rescale;
  696. ^
  697. ../../include/simd/functions.hpp:163:7: error: ‘math’ has not been declared
  698. using math::sgn;
  699. ^
  700. In file included from ../../include/rack.hpp:87:0,
  701. from src/trigger_on_load.hpp:2,
  702. from src/trigger_on_load.cpp:2:
  703. ../../include/dsp/minblep.hpp: In member function ‘void rack::dsp::MinBlepGenerator<Z, O>::insertDiscontinuity(float, float)’:
  704. ../../include/dsp/minblep.hpp:36:30: error: ‘math’ has not been declared
  705. buf[index] += x * (-1.f + math::interpolateLinear(impulse, minBlepIndex));
  706. ^
  707. In file included from ../../include/rack.hpp:91:0,
  708. from src/trigger_on_load.hpp:2,
  709. from src/trigger_on_load.cpp:2:
  710. ../../include/dsp/vumeter.hpp: In member function ‘float rack::dsp::VuMeter::getBrightness(int)’:
  711. ../../include/dsp/vumeter.hpp:27:11: error: ‘math’ has not been declared
  712. return math::clamp(dBScaled + i, 0.0, 1.0);
  713. ^
  714. In file included from ../../include/rack.hpp:91:0,
  715. from src/trigger_on_load.hpp:2,
  716. from src/trigger_on_load.cpp:2:
  717. ../../include/dsp/vumeter.hpp: In member function ‘float rack::dsp::VuMeter2::getBrightness(float, float)’:
  718. ../../include/dsp/vumeter.hpp:93:11: error: ‘math’ has not been declared
  719. return math::rescale(db, dbMin, dbMax, 0.f, 1.f);
  720. ^
  721. In file included from src/trigger_on_load.hpp:2:0,
  722. from src/trigger_on_load.cpp:2:
  723. ../../include/rack.hpp: At global scope:
  724. ../../include/rack.hpp:105:17: error: ‘math’ is not a namespace-name
  725. using namespace math;
  726. ^
  727. ../../include/rack.hpp:105:21: error: expected namespace-name before ‘;’ token
  728. using namespace math;
  729. ^
  730. In file included from ../../include/widget/OpaqueWidget.hpp:2:0,
  731. from ../../include/ui/MenuOverlay.hpp:2,
  732. from ../../include/helpers.hpp:3,
  733. from ../../include/rack.hpp:14,
  734. from src/trigger_on_load.hpp:2,
  735. from src/trigger_on_load.cpp:2:
  736. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::Hover&); TEvent = rack::event::Hover]’:
  737. ../../include/widget/Widget.hpp:142:87: required from here
  738. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::Hover’ has no member named ‘pos’
  739. e2.pos = e.pos.minus(child->box.pos);
  740. ^
  741. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::Hover’ has no member named ‘pos’
  742. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::Button&); TEvent = rack::event::Button]’:
  743. ../../include/widget/Widget.hpp:143:90: required from here
  744. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::Button’ has no member named ‘pos’
  745. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::Button’ has no member named ‘pos’
  746. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::HoverKey&); TEvent = rack::event::HoverKey]’:
  747. ../../include/widget/Widget.hpp:145:96: required from here
  748. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::HoverKey’ has no member named ‘pos’
  749. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::HoverKey’ has no member named ‘pos’
  750. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::HoverText&); TEvent = rack::event::HoverText]’:
  751. ../../include/widget/Widget.hpp:146:99: required from here
  752. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::HoverText’ has no member named ‘pos’
  753. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::HoverText’ has no member named ‘pos’
  754. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::HoverScroll&); TEvent = rack::event::HoverScroll]’:
  755. ../../include/widget/Widget.hpp:147:105: required from here
  756. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::HoverScroll’ has no member named ‘pos’
  757. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::HoverScroll’ has no member named ‘pos’
  758. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::DragHover&); TEvent = rack::event::DragHover]’:
  759. ../../include/widget/Widget.hpp:157:99: required from here
  760. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::DragHover’ has no member named ‘pos’
  761. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::DragHover’ has no member named ‘pos’
  762. ../../include/widget/Widget.hpp: In instantiation of ‘void rack::widget::Widget::recursePositionEvent(TMethod, const TEvent&) [with TMethod = void (rack::widget::Widget::*)(const rack::event::PathDrop&); TEvent = rack::event::PathDrop]’:
  763. ../../include/widget/Widget.hpp:161:96: required from here
  764. ../../include/widget/Widget.hpp:133:11: error: ‘struct rack::event::PathDrop’ has no member named ‘pos’
  765. ../../include/widget/Widget.hpp:133:11: error: ‘const struct rack::event::PathDrop’ has no member named ‘pos’
  766. ../../compile.mk:61: recipe for target 'build/src/trigger_on_load.cpp.o' failed
  767. make: *** [build/src/trigger_on_load.cpp.o] Error 1
  768. [dlphilp@The6300 BogaudioModules]$
RAW Paste Data