I decided to try Bitrix’s mod-menu-system-11 with data output on the OLED display. But several errors occurred during compilation, for example :
error: ‘____menu_base’ is not a namespace-name namespace menu_base = ____menu_base;
error: expected namespace-name before ‘;’ token namespace menu_base = ____menu_base;
error: ‘menu_base’ does not name a type using menu_base_t = menu_base::MenuBase;
error: ‘struct xod::bitrex__xod_menu_system_11__leaf_menu_item_impl::State’ has no member named ‘leaf_menu’ state->leaf_menu.set_text(line1, line2);
error: template argument 1 is invalid BiDirectionalConcatListView<menu_base_t*> menu_ptr_list_view;
Blockquote
C:\Users\user\AppData\Local\Temp\xod_temp_sketchbookFTlCP0\xod_1587925015661_sketch\xod_1587925015661_sketch.ino:1351:23: error: '____menu_base' is not a namespace-name
namespace menu_base = ____menu_base;
^~~~~~~~~~~~~
C:\Users\user\AppData\Local\Temp\xod_temp_sketchbookFTlCP0\xod_1587925015661_sketch\xod_1587925015661_sketch.ino:1351:36: error: expected namespace-name before ';' token
namespace menu_base = ____menu_base;
The problem is there ( is not a namespace-name) , it may be that with XOD updates, that code is no longer compatible.
The only one that could solve it is @bitrex but it hasn’t been seen here for a long time.
The first version is also generating the same error.
I tried version 0.27.0, the position of all nodes is reset, but the connections are preserved. Unfortunately, this did not solve the problem, again many errors. log_XOD_027.txt (100.3 KB)
Perhaps it is not that but an earlier version, in the publication it is not clarified which version has used bitrex, try an inferior one, some should work.
C:\Users\stryg\AppData\Local\Temp\xod_temp_sketchbookqaKnXM\xod_1588185535950_sketch\xod_1588185535950_sketch.ino:1336:23: error: ‘____menu_base’ is not a namespace-name
namespace menu_base = ____menu_base;
^~~~~~~~~~~~~
C:\Users\stryg\AppData\Local\Temp\xod_temp_sketchbookqaKnXM\xod_1588185535950_sketch\xod_1588185535950_sketch.ino:1336:36: error: expected namespace-name before ‘;’ token
namespace menu_base = ____menu_base;
^
C:\Users\stryg\AppData\Local\Temp\xod_temp_sketchbookqaKnXM\xod_1588185535950_sketch\xod_1588185535950_sketch.ino:1337:21: error: ‘menu_base’ does not name a type
using menu_base_t = menu_base::MenuBase;
^~~~~~~~~
C:\Users\stryg\AppData\Local\Temp\xod_temp_sketchbookqaKnXM\xod_1588185535950_sketch\xod_1588185535950_sketch.ino:1339:14: error: ‘menu_base’ does not name a type
using Type = menu_base::BiDirectionalList<menu_base_t*>;
Hi y’all, I got the message I’d be happy to take a look at cruntos problem if they would like to shoot over a minimal example sketch that demonstrates the errors that are being experienced and any other relevant information. I’ll do my best. Sorry for the problems I tested the examples for that project on a couple systems (Linux, Windows) and boards of my own (Sparkfun RedBoard, Rich UNO) recently, with a recent version of XOD, and it seemed to work OK. I’d like to get to the bottom of the issues that some seem to be reporting, if it’s something with newer versions of XOD or an error on my part
Great, thank you. It’ll probably be the weekend before I have a chance to dig into it, but I’ll surely see what I can do to get ya sorted. Standby and I’ll check back in shortly