Wemos mini D1 and OSX Sierra: troubleshooting needed

The error i get is:

dependent on the code you compile, which you STILL haven't posted.

The second to last line is interesting, though.