Search found 1 match
- Wed Apr 06, 2022 4:07 pm
- Forum: ESP-IDF 中文讨论版
- Topic: undefined reference to `app_main'
- Replies: 11
- Views: 42811
Re: undefined reference to `app_main'
I have the exact same issue and I am not using CPP file. c:/espressif/tools/xtensa-esp32-elf/esp-2021r2-patch2-8.4.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.4.0/../../../../xtensa-esp32-elf/bin/ld.exe: esp-idf/freertos/libfreertos.a(port_common.c.obj): in function `main_task': C:/Espressi...