Reinstall of PathPlanner library
Reinstall of Visual Studio Code (Manual & with WPILib installer)
Code Re-install
Complete removal and reinstall of WPILib libraries/tools/apps
Update of WPILib libraries/tools/apps
The error indicates that I don’t have a specific library called PathPlannerLib in the folders where it’s trying to find it. The problem arises when I check the libraries in VS Code; it shows that it’s installed. However, even after reinstalling this library using the PathPlanner documentation, it still reports that the file cannot be found.
Seems like c++ is not supported in 4.4 yet, therefore I now use 4.3. There is a file called PathplannerLib.json in vendordeps folder and changed version from 4.4 to 4.3.
Also whole pathplanner folder was absent in my local WPILib folder, therefore I downloaded and imported it manually. I don’t know if this will cause more problems, but for now its a temporary fix.