Hi, I am just new starting Arduino develelopment with Platform IO.
Problem is that when new project is created and all the necessary libraries installed to that project.
The compiler says that *.h header files not found, it does not compile.
The process I did:
Because “Import Arduino Project” gives nonsense name that cannot be renamed, I first created new project with option “location” unchecked to specify directory where I want.
Then copied and pasted my Arduino sketch (.ino) to main.cpp
Then installed the necessary libraries to my project,
in Platform.ini file:
lib_deps =
br3ttb/PID@^1.2.1
adafruit/Adafruit Unified Sensor@^1.1.4
arduino-libraries/Servo@^1.1.7
pololu/DRV8835MotorShield@^2.0.0
drgfreeman/SharpDistSensor@^1.6.0
sparkfun/SparkFun u-blox Arduino Library@^1.8.10
All libraries look installed in PlatformIO IDE
Yet, compiler cannot find header files ? #include errors detected, update includePath …
What I am missing here ? Does includePath get updated when I install libraries ?