Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile Error #49

Open
helijunky opened this issue Oct 20, 2019 · 1 comment
Open

Compile Error #49

helijunky opened this issue Oct 20, 2019 · 1 comment

Comments

@helijunky
Copy link

Since 4ef1b6e 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?

@sith31
Copy link

sith31 commented Jan 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants