This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

IoT SDK compilation problems on Windows

I have NRF 51 DK.

I adjusted the toolchain path to arm-gcc 4.9 2015q1. This version works fine for the NRF 51 SDK.

I get this error: lto1.exe: fatal error: bytecode stream generated with LTO version 2.1 instead of the expected 3.0

Do I need another version of the toolchain? I read in this question that "The libraries in the IoT SDK are compiled with version 4.7 2013q1 of the arm toolchain". Does this mean I have to use this toolchain for developing IoT apps, and should I also use this for the standard SDK? Thanks!