Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 5 months ago.
Dealing with multiple mbed.bld files
Hello
When I use the 'Using the event loop' example on 'https://os.mbed.com/docs/v5.6/tutorials/the-eventqueue-api.html' I get the following complier message:
Quote:
"Error: Library name 'platform' is not unique (defined in '/extras/mbed_e7ca05fa8600/TARGET_NUCLEO_F103RB/mbed_lib.json' and '/src/mbed-os/platform/mbed_lib.json')"
When I go to the Compiler error page I get:
Quote:
""/extras/mbed_5e5da4a5990b/LPC1768/ARM/LPC1768.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST." in file "/"
Look for multiple mbed.bld files in your program.
Can someone help me of the following questions, please?
- Where do I find the multiple files?
- How can I remove the duplicates?
I am using the Nucle-F103RB.
Thanks
1 Answer
6 years, 5 months ago.
Do you have both 'mbed' and 'mbed-os' libraries in your project? If so, remove 'mbed'.