First build, got build error, "duplicate definition", second build was OK. yeah!

bonmotwang
Posts: 42
Joined: Fri Apr 12, 2019 4:25 pm
Location: Canada

First build, got build error, "duplicate definition", second build was OK. yeah!

Postby bonmotwang » Fri Apr 12, 2019 4:36 pm

First time setup ESP32 development environment.
Followed every step online.
Running windows 7.
Before I installed Eclipse, I tried to build hello_world, no problem, build was successful.

Then I went on to put up Eclipse.
I imported blink to try.
after 4 minutes of build time, i got this message:
ERROR: Duplicate definition of fragment 'text' found in C:\msys32\home\Paul\esp\esp-idf\components\esp32\ld\esp32_fragments.lf and C:\msys32\home\Paul\esp\esp-idf\components\esp32\ld\esp32_fragments.lf.
1 errors, and 4 warnings.
I tried clean, then build again.
after 4 minutes, 0 errors, 0 warnings.
Yeah!
Thank espressif online doc. it is so accurate and easy to follow.

But just curious about this build error from the first time. it basically used two same file and got the error.
Somehow the same file got referenced twice?
Thanks

Who is online

Users browsing this forum: No registered users and 130 guests