I had the same problem over a year ago with a Wemos D1 and googled it; I know you have another board but bits/c++config.h: No such file or directory. Error compiling NodeMcu in arduino - #3 by BenB2015 solved the problem for me. So might help for you as well.