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.
7 years, 9 months ago.
Mbed Doesn't compile main.cpp first. What can i do?
I have been working a Large program for Mbed that requires multiple dependencies. I have finally reached a stage where i can begin testing but whenever i try to compile, IS it possible i first compile the dependecies as a library before compiling my main.cpp?
Compile order shouldn't matter. Each .cpp file is complied independently and then the linker combines them and any re-compiled libraries. Are you sure you've got your #includes and headers correctly defined?
posted by Andy A 04 Jan 2018