File Path Length Issue

I’ve fallen into a common trap (yet again :face_with_steam_from_nose: ) it seems, by trying to organise my projects in meaningful reference folders, for example this does not work:

Platformio>Projects>ESP32 Boards> ESP32 Boards&TFT_eSPI>ESP32 NEO-6M GPS_TFT_LVGL

This works:

Platformio>Projects>ESP32 Boards> ESP32 NEO-6M GPS_TFT_LVGL

From previous posts in the community around the same issue I can see the culprit looks like its lvgl. The build failure certainly explains it as the culprit.

I have Enable long paths under Windows (enabled), so my question is, is there any set up or lib deps configurations that can check when the limit is reached?

This would help enormously, apologies if something does exist and I’ve missed it?

Thanks for all the patience and help so far!

PlatformIO doesn’t currently have a built-in path-length warning. Keeping the project root path short seems to be the only solution.

Use WSL (Windows Subsystem for Linux) + latest Ubuntu. This will bypass the windows path limitiation. This will also drastically improve the performance during the build process.

Thank you for that Boris, I first need to read what WSL is all about.

What is Windows Subsystem for Linux | Microsoft Learn

Plus…….I really need help after 12 days trying to figure out how to display two GC9A01 round displays at the same time. this will of course be another General Discussion from myself.