raven icon indicating copy to clipboard operation
raven copied to clipboard

Compile Error

Open helijunky opened this issue 4 years ago • 1 comments

Since 4ef1b6ee6e3a174c425976870c82775f434137bb I get the following compile error with TARGET=esp32_lora_ttgo_oled_v1_868_915_rx:

/home/m/esp/raven/main/./main.c: In function 'setting_changed': /home/m/esp/raven/main/./config/settings.h:123:38: error: 'SETTING_KEY_RX_PREFIX' undeclared (first use in this function) #define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust" ^ /home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS' #define SETTING_IS(setting, k) (setting->key == k) ^ /home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM' if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM)) ^ /home/m/esp/raven/main/./config/settings.h:123:38: note: each undeclared identifier is reported only once for each function it appears in #define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust" ^ /home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS' #define SETTING_IS(setting, k) (setting->key == k) ^ /home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM' if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM)) ^ /home/m/esp/raven/main/./config/settings.h:123:60: error: expected ')' before string constant #define SETTING_KEY_RX_FS_SET_CUSTOM SETTING_KEY_RX_PREFIX "fs_set_cust" ^ /home/m/esp/raven/main/./config/settings.h:170:49: note: in definition of macro 'SETTING_IS' #define SETTING_IS(setting, k) (setting->key == k) ^ /home/m/esp/raven/main/./main.c:121:29: note: in expansion of macro 'SETTING_KEY_RX_FS_SET_CUSTOM' if (SETTING_IS(setting, SETTING_KEY_RX_FS_SET_CUSTOM)) ^ /home/m/esp/raven/lib/esp-idf/make/component_wrapper.mk:273: recipe for target 'main.o' failed make[2]: *** [main.o] Error 1 make[2]: Leaving directory '/home/m/esp/raven/build-esp32_lora_ttgo_oled_v1_868_915_rx/main' /home/m/esp/raven/lib/esp-idf/make/project.mk:450: recipe for target 'component-main-build' failed make[1]: *** [component-main-build] Error 2 make[1]: Leaving directory '/home/m/esp/raven' Makefile:126: recipe for target 'esp32_lora_ttgo_oled_v1_868_915_rx' failed make: *** [esp32_lora_ttgo_oled_v1_868_915_rx] Error 2

any ideas?

helijunky avatar Oct 20 '19 22:10 helijunky

I have the same problem, could you solve it? Thank you

sith31 avatar Jan 31 '20 14:01 sith31