Hello, i'm a new on ESP32. I don't like arduino ide and prefer eclipse.
I follow some documentations (Espressif/Instructables/..) to implement right settings on eclipse and that's run fine for 2 projects.
When i try to mix arduino-esp32/esp-idf (thank's Kolban) to use some externals libaries (sensor,..) from git base example duplicated, i have the error below1 "symbol XXXX could not be found" while F3 on symbol propose me 2 paths below2 (esp-idf & arduino-esp32 include paths).
If i do a "make all" (below3) operation compile and flash without errors
Thank's for help
Frederic
below1
below2
below 2
below 3
eclipse esp-idf / arduino-esp32 "symbol not found"
Re: eclipse esp-idf / arduino-esp32 "symbol not found"
My first guess is that the code wishes to include "sdkconfig.h" which is likely in "./build/include" directory. Maybe add that directory to your Eclipse CDT configuration so that the editor can find it.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Re: eclipse esp-idf / arduino-esp32 "symbol not found"
Thank's Kolban, I have done some operations :
1. added "sdkconfig.h" in last include position in main
2. erase arduino-esp32 tree/redo a git arduino-esp32 in component
2. do a clean project/validate/index (rebuild)
3. Reset choice in menuconfig to initial
All errors disappears ... strange, perhaps all intermediaries manipulations insert errors ...
Other point, when I check compiler/optimization level to release (not debug) -> make fails, if I return in debug level it pass OK (pictures joined).
Than'ks for answer
Frederic
1. added "sdkconfig.h" in last include position in main
2. erase arduino-esp32 tree/redo a git arduino-esp32 in component
2. do a clean project/validate/index (rebuild)
3. Reset choice in menuconfig to initial
All errors disappears ... strange, perhaps all intermediaries manipulations insert errors ...
Other point, when I check compiler/optimization level to release (not debug) -> make fails, if I return in debug level it pass OK (pictures joined).
Than'ks for answer
Frederic
- Attachments
-
- esp32-eclipse-err05.png (87.72 KiB) Viewed 5400 times
-
- esp32-eclipse-err04.png (121.39 KiB) Viewed 5400 times
Re: eclipse esp-idf / arduino-esp32 "symbol not found"
Hey Team, for my problem yesterday I had put in place an update of eeprom.cpp (https://github.com/espressif/arduino-esp32/issues/1238)
Thank's Kolban
Frederic
Thank's Kolban
Frederic
Who is online
Users browsing this forum: Google [Bot] and 81 guests