I am currently working on a project to take in I2C data through a B404x and upload to the cloud. When I attempt to include the "Wire.h" library in my code, IntelliSense reads the error:
"cannot open source file 'chrono' (dependency of "C:....particle\toolchains\deviceOS\4.1.0\user\inc\Particle.h")"
I assume this means I may have to get a newer version of MSVC after looking up some simple solutions to this error, but I was wondering if there is a step before including Wire.h that requires me to include other libraries? I do not know what "chrono" is.
There is no code other than that line besides void setup() and void loop(). Actually, even without the Wire.h line I still receive the error. I will look into your references.
I chose a directory that does not contain a space or special character, as it would not let me create a Particle project unless I chose a directory of those specifications.
Running through trying out cloud compile, it seems the program isn't accepting my login credentials even when I copy and paste it from the web. This is a whole other issue entirely that I will have to look into, so I don't have an answer to that aspect of your question.
I realize your project directory doesn't have any spaces, but I wanted to make sure that any parent directory of it also does not contain spaces. Parent directories also cause problems, but that restriction is not imposed by the create new project option because cloud compile works with parent directories containing spaces, but local compile does not.
It may be worth to do a Workbench functionality check to ensure everything is installed and configured correctly. Please follow the instructions in this link, hopefully that will get local compiling up and running (and if not, shed more light into what could be happening).
I found the issue. The include paths in the launch.json file did not have the included paths for the standard C++ libraries, thus I could not retrieve the source files, as it was saying. This was fixed by simply adding a few lines into the file with the directory path of where the source file were originally located and installed.