0

I am developing for the esp8266 using platformIO, which in turn uses the esp8266 arduino core. The default build does not link against the stdc++ library, so I cannot use std:map. I can successfully compile my sketch in the arduino IDE by modifying the linker setting as described here, I just need to achieve the same thing in platform IO. I have tried adding "stdc++" to the LIBS array in the espressif.py builder script to no avail.

1 Answer 1

0

The problem was an error in PlatformIO due to library linking order. One of the team members wrote a fix that will prsesumably be merged into the main distro soon. Details and link to working build are here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.