Been trying to use the menu system by @bitrex (v1.1) but have been unable to get it to upload to the arduino.
I’m using an elegoo uno r3 and 20x4 LCD with i2c interface
Full log in attached .txt
XOD bitrex menu log.txt (91.5 KB)
Begin compiling code for the board Arduino Uno
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1392:5: error: expected unqualified-id before ‘namespace’
namespace menu_base = ____menu_base;
^~~~~~~~~
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1393:25: error: ‘menu_base’ does not name a type
using menu_base_t = menu_base::MenuBase;
^~~~~~~~~
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1395:18: error: ‘menu_base’ does not name a type
using Type = menu_base::BiDirectionalList<menu_base_t*>;
^~~~~~~~~
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1398:9: error: ‘menu_base’ does not name a type
menu_base::LeafMenuImpl<menu_base_t> leaf_menu;
^~~~~~~~~
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1399:9: error: ‘menu_base’ does not name a type
menu_base::BiDirectionalPlainListView<menu_base_t*> leaf_menu_view =
^~~~~~~~~
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:1403:13: error: ‘Type’ does not name a type; did you mean ‘byte’?
typedef Type typeof_OUT;
^~~~
byte
/
/
/
/
/
/
/
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:4472:20: error: ‘struct xod::bitrex__xod_menu_system_11__menu_controller::Node::ContextObject’ has no member named ‘_input_MENU_TREE’; did you mean ‘_input_TITLE_1’?
ctxObj._input_MENU_TREE = node_48._output_OUT;
^~~~~~~~~~~~~~~~
_input_TITLE_1
C:\Users\danie\AppData\Local\Temp\xod_temp_sketchbookJQzRlK\xod_1660066239316_sketch\xod_1660066239316_sketch.ino:4472:47: error: ‘xod::Node_48 {aka struct xod::bitrex__xod_menu_system_11__concat_menu::Node}’ has no member named ‘_output_OUT’; did you mean ‘output_OUT’?
ctxObj._input_MENU_TREE = node_48._output_OUT;
^~~~~~~~~~~
output_OUT
Error during build: exit status 1
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.