As I’m new on mbed I’m trying to compile with yotta instead of the online tool.
Well I followed all the yotta instructions for linux users (I’m on manjaro).
Clone the example-mbedos-blinky git enter into it, perform a yotta target frdm-k64f-gcc and next a yotta build. Here is next the output I have: http://pastebin.com/sUL4vPGd
I really don’t know what appends. Moreover, 2 days ago I was able to build on the same computer before I reinstall my manjaro yesterday… Maybe I missed a library but can’t find which one…
Looks like this error is caused by the combination of CMake 3.5 and your build target: what’s the output of yotta target? (A yotta update should update these, which will probably fix the problem)
Okay well…
Tried to remove the git and try again with a clean git and now have compile error when I try to build for another official board (for example F401RE) which did works well in the past.
output: http://pastebin.com/yrqDba7f
Same problem after a yotta update and a yotta clean
Sorry I don’t really know how everythings works but it looks like it on the mbed library that the error is.
Maybe when you updated the mbed-gcc it created compilation errors on some devices; for example when I run a yotta target: st-nucleo-f401re-gcc 0.2.5 mbed-gcc 1.2.1
I don’t think the mbed-gcc 1.2.1 target fix would have caused the second build failure, but other things might have been updated by yotta update. I think @dbaba’s analysis is correct.
Well, I did nothing special. I got the error when I renamed yotta_modules and yotta_targets in one of my projects for testing the latest dependencies. Until then, yt build had worked fine. So I thought either modules or targets caused the issue.
However, I focused on dependency modules rather than targets since some of my other yotta projects had already included the latest targets and of course, could be built without errors.
In order to identify problematic modules, I wrote down all dependencies (library names and their version) into module.json.
Then I removed a dependency one by one (removed more at once if possible) until the compilation failed.