Page 1 of 1

'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Posted: Wed Mar 06, 2019 10:28 am
by Maruti@16
Hi everyone,

I'm trying to flash the code into ESP32-WROOM-32D using MingW terminal.
I got following type of errors:

C:/Users/e0507632/Desktop/PXGreen/pxgreen_esp32/submoduleESP32/components/log/include/esp_log.h:115:26: error: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope
#define LOG_LOCAL_LEVEL CONFIG_LOG_DEFAULT_LEVEL


How to tackle with this problem?

Thank you in advance

Re: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Posted: Wed Mar 06, 2019 7:14 pm
by fly135
It's in your sdkconfig file, and ultimately ends up in .../build/include/sdkconfig.h. Not sure what you are doing wrong.

Re: 'CONFIG_LOG_DEFAULT_LEVEL' was not declared in this scope

Posted: Thu Mar 07, 2019 2:19 am
by ESP_Angus
Hi Maruti,

Yes, this suggests something has gone wrong inside the ESP-IDF build system.

Please check you followed all the steps in the Getting Started guide. If you're still stuck, please post the entire output from the "make" command you are running.