4 years, 10 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

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

1 Answer

4 years, 10 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

Accepted Answer

It looks like it's fixed for me after downloading and installing 0.5.3.

Thanks!

posted by Dan Fay 26 Jun 2019