Hello, I want to build and run a program on Mbed Studio it’s my first time on it. The program has been made for mbed cli and I think that the errors are linked to the compiler used by Mbed Studio (clangtd). I’m using mbed-os 6.15.1 and I would like to know how to switch to GCC_ARM compiler, maybe this could fix the problem.
Hi ! I’ve the same problem currently
Thank you JohnnyK, I switched succesfully to GCC_ARM but I have now an undefined reference to ‘main’ in function ‘__wrap_main’. I had a look to this topic in the forum but nothing worked for me. Do you have an idea to what could lead to that ?
I do not know, but did you tried to delete build folder and clean build?
Or check this -
mbed compile fails during post-build process · Issue #14936 · ARMmbed/mbed-os · GitHub
that is not compiler, What is clangd? (llvm.org). The default compiler of MbedStudio is AC6 (Arm Compiler 6).