在 MS Visual Studio 2022 上构建项目时。我收到以下错误:
Error C1083 Cannot open source file: '..\..\..\..\Source\Application-Protocols\network_transport\tcp_sockets_wrapper\ports\freertos_plus_tcp\tcp_sockets_wrapper.c': No such file or director
如果我重命名文件/文件夹名称以使路径长度小于或等于120(当前长度为124),错误就会消失并且项目构建成功。
我认为这可能是由于设置不允许路径大于特定长度,但我不确定在哪里更新。