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.
5 years, 6 months ago.
Mbed Studio not Recompiling Changed Source Files
Hello,
I am using Mbed Studio 0.5.2 in Windows 10. Seemingly, after moving some source files to a subdirectory, Mbed Studio is no longer detecting source file changes and automatically recompiling the changed source files. No errors are being thrown, it's just silently ignoring the changes and linking with the old, previously-compiled object file.
I have tried to re-checkout the project, deleted the BUILD directory, etc., but to no avail. The only way I can get the changed source file to recompile is by doing a "clean build". Doing so is highly undesirable, as rebuilding mbed-os from scratch takes considerable time.
Thanks in advance for your help.
-Dan Fay
1 Answer
5 years, 5 months ago.
Hi Dan and Keaton,
Thank you for reporting this issue. It is indeed a regression introduced in release 0.5.2 on both Windows and Mac. This issue was fixed in release 0.5.3. To get the latest version please either download a latest release from https://os.mbed.com/studio or use auto-update mechanism integrated in Mbed Studio.
Regards Arek Zaluski
I am having a similar issue on macOS 10.14.6.
I'll edit the main.cpp file but those changes aren't reflected when I run the program. Only a clean build has the changes I made since the last clean build.
Mbed Studio 0.5.2 FRDM KL25Z
posted by Keaton Burleson 24 Jun 2019