You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Error: Too long output directory: `\\?\D:\lockfw\target\riscv32imac-esp-espidf\release\build\esp-idf-sys-eac617bcbe734de9\out`. Shorten your project path down to no more than 10 characters (or use WSL2 and its native Linux filesystem). Note that tricks like Windows `subst` do NOT work!
However as you can see my project path is D:\lockfw which is only 9 characters. But if you search for that error, it's from here:
#[cfg(windows)]
{
if out_dir.len() > 88 {
report(format!("Too long output directory: `{out_dir}`. Shorten your project path down to no more than 10 characters (or use WSL2 and its native Linux filesystem). Note that tricks like Windows `subst` do NOT work!"))?;
}
}
That's checking the length of \\?\D:\lockfw\target\riscv32imac-esp-espidf\release\build\esp-idf-sys-eac617bcbe734de9\out which is 90 characters. So my path has to actually be a maximum of 8 characters!? Three of which are D:\ so I get 5 characters??
That's practically unusable. I think at that point there has to be a better solution. What part of the compilation process needs these really long paths?
I did also try ESP_IDF_PATH_ISSUES=warn and it compiled successfully (as far as I can tell). So maybe the check is just wrong?
The text was updated successfully, but these errors were encountered:
I get this error:
However as you can see my project path is
D:\lockfw
which is only 9 characters. But if you search for that error, it's from here:That's checking the length of
\\?\D:\lockfw\target\riscv32imac-esp-espidf\release\build\esp-idf-sys-eac617bcbe734de9\out
which is 90 characters. So my path has to actually be a maximum of 8 characters!? Three of which areD:\
so I get 5 characters??That's practically unusable. I think at that point there has to be a better solution. What part of the compilation process needs these really long paths?
I did also try
ESP_IDF_PATH_ISSUES=warn
and it compiled successfully (as far as I can tell). So maybe the check is just wrong?The text was updated successfully, but these errors were encountered: