
I can simply place the ardunio. h file in the include folder of the project file, but the dependencies will report errors one by one in the future
if someone can help me i will express heartfelt thanks;
I tried to copy the ardunio. h file from the library to the include folder under the project file. The issue with ‘not fin ardunio’ and ‘h’ no longer prompts, but instead prompts for missing related files
The '
symbols in the path may be killing it. Can you create a new user and test it in only ASCII paths as a test?
I have also considered the possibility of a problem with wu’gao’yang in the path, but I am not sure if I want to modify the user’s name due to some software adaptation issues
I would not try modification first, just adding a new Windows user account and switching to that for the test.
oky I’ll give it a try
Hello, I created a testing account and tested it without any issues. Is it because wu’gao’yang cannot recognize this path? Isn’t this Chinese language having such a big impact? At present, it seems that I can only modify the user’s name?
Okay so that test worked.
No you can actually chose to install PlatformIO and the projects in a path without the problematic characters as well. While C:\Users\<user>\.platformio
is the default install path for the PIO core, you can modify it using the PLATFORMIO_CORE_DIR
environment variable (source).
So I would recommend:
C:\Users\<user>\.platformio
folder completelyPLATFORMIO_CORE_DIR
, value the new path where you want to have installed → OK'
See also docs
Thank you very much. I have made the necessary changes/ Paltfomio location and environment variables are ready