I have used the BSEC library using v1.0.4 and changing the platform.txt file to the attached. This has worked well. The library is great btw so thankyou!
Since updating to ESP v1.0.6 and re-updating my platform.txt files (if you dont do this you get the same error as v1.0.4) I can no longer comile and I get the following error below when attempting to compile. I can repeat this with the basic script that comes with the library however my actual firmware requires some of the new features that come with v1.0.6. I looked through the forum and couldnt find anyone having this problem with v1.0.6.