Windows: Tasmota dev. 14.1.0.4 under VSC 1.92.1 error in compiling #21941
-
PROBLEM DESCRIPTIONTasmota dev. 14.1.0.4 under fresh installed VSC 1.92.1 ended with Compiler Error of missing "as.exe", but this "as.exe" does exist. REQUESTED INFORMATIONMake sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Configuration output here:
Rules output here:
STATUS 0 output here:
Console output here:
TO REPRODUCEI uninstall plattformIO, VSC, deleting %homepath%\.platformio; deleting D:\Tasmota Compiler LOG. /* Copyright (C) 2021 Theo Arends This program is free software: you can redistribute it and/or modify This program is distributed in the hope that it will be useful, You should have received a copy of the GNU General Public License #ifndef TASMOTA_VERSION_H #define TASMOTA_SHA_SHORT // Filled by Github sed const uint32_t TASMOTA_VERSION = 0x0E010004; // * Executing task: C:\Users\Station.platformio\penv\Scripts\platformio.exe run --environment tasmota32c6 Processing tasmota32c6 (board: esp32c6; framework: arduino; platform: https://github.com/tasmota/platform-espressif32/releases/download/2024.08.10/platform-espressif32.zip)
Environment Status Duration tasmota32c6 FAILED 00:01:10.284
#endif // TASMOTA_VERSION_H EXPECTED BEHAVIOURA clear and concise description of what you expected to happen. SCREENSHOTSIf applicable, add screenshots to help explain your problem. ADDITIONAL CONTEXTAdd any other context about the problem here. (Please, remember to close the issue when the problem has been addressed) |
Beta Was this translation helpful? Give feedback.
Replies: 13 comments 6 replies
-
Yes, Windows problem only. Path length limits of ~250 chars. Not related to Tasmota
|
Beta Was this translation helpful? Give feedback.
-
Find out if you have a path length problem on Windows: https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry Solutions are also described there. |
Beta Was this translation helpful? Give feedback.
-
Could be max. length of a command line too. Next "nice" limitation of Windows. Especially an issue when linking. Afaik there is no solution for. |
Beta Was this translation helpful? Give feedback.
-
I had the same issue recently. The only solution that worked for me was moving the .platformio folder from C:\User\Me to C: As Windows should be able to support 255 chars (or 65000 with a registry fix) I cannot define why this fails from time to time. |
Beta Was this translation helpful? Give feedback.
-
The PlatformIOdioe may have restrictions. This would require a manifest to be defined by the vendor. The compiler, linker, etc. are also possible. VisualStudioCode itself is from Microsoft and should have no restrictions. |
Beta Was this translation helpful? Give feedback.
-
As said Windows bullsh*t. All this trickery needed only for Windows. |
Beta Was this translation helpful? Give feedback.
-
What tricks do you mean? As you can read, Windows itself doesn't have any real problems. The default settings are set up for the average user to be as compatible as possible with older software. The settings can be easily tweaked. However, when software tool developers don't play by the rules and use outdated interfaces for Windows, it's a cause for concern. |
Beta Was this translation helpful? Give feedback.
-
Well every other OS does work without any issue. Special setups are only needed for Windows. The only real fix would be Windows solves this limitations without needing workarounds to overcome this Windows only problem. |
Beta Was this translation helpful? Give feedback.
-
Let's be honest, Windows bugs have been properly fixed for many years. It's just that the developers don't care about it. |
Beta Was this translation helpful? Give feedback.
-
I have the same problem when compiling my ESp32 C2. The solution is a little triki. Isn't there an easier solution? |
Beta Was this translation helpful? Give feedback.
-
All bigger projects do run in this issue. Nice document from EspEasy (great project too) how to use WSL |
Beta Was this translation helpful? Give feedback.
-
To allow bigger paths it's needed For now I just use gitpod free account |
Beta Was this translation helpful? Give feedback.
I had the same issue recently. The only solution that worked for me was moving the .platformio folder from C:\User\Me to C:
As Windows should be able to support 255 chars (or 65000 with a registry fix) I cannot define why this fails from time to time.