Search found 1 match
- Tue Oct 01, 2024 7:36 am
- Forum: ESP-IDF 中文讨论版
- Topic: undefined reference to `app_main'
- Replies: 11
- Views: 42410
Re: undefined reference to `app_main'
If you check here, https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system.html under renaming main component, it gives you instructions if you are not using main.c or main directory. In my case I am using src directory with main.cpp as the file with my 'main code' Adding...