Closed andyshinn closed 3 years ago
Something is strange here. In your post, to reproduce it says to do steps 1/2/3. However, in the detailed compiler output, it shows compiling cached library data. First, get steps 1/2/3 working. That means Step 0: move existing libraries / files related to QuinLEDdigQuad somewhere else. Then integrate the QuinLED Dig Quad source into the compilation process.
Is there a cache other than ~/.platformio
and .pio
that I am missing? I was under the impression that those are not really cached but come from PlatformIO installing them at runtime. I've updated the output to show them being installed. The error is still the same.
Ah, I missed the original PR already had a mention of it: https://github.com/Aircoookie/WLED/pull/1362. I'll test out the updated branch to provide feedback.
Fixed in #1409!
Just adding a note here incase anyone else runs into this. I ran into the below error after following your steps. I took a guess and created the src
folder and tried to compile and it all worked.
Building in release mode
*** use existing my_config.h ***
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/FastLED.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/bitswap.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/colorpalettes.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/colorutils.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/hsv2rgb.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/lib8tion.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/noise.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/platforms.cpp.o' from cache
Retrieved `.pio/build/esp32_multistrip/lib15b/FastLED/power_mgt.cpp.o' from cache
Compiling .pio/build/esp32_multistrip/lib15b/FastLED/wiring.cpp.o
Compiling .pio/build/esp32_multistrip/src/FX.cpp.o
Compiling .pio/build/esp32_multistrip/src/FX_fcn.cpp.o
Compiling .pio/build/esp32_multistrip/src/alexa.cpp.o
Compiling .pio/build/esp32_multistrip/src/blynk.cpp.o
Compiling .pio/build/esp32_multistrip/src/button.cpp.o
Compiling .pio/build/esp32_multistrip/src/cfg.cpp.o
Compiling .pio/build/esp32_multistrip/src/colors.cpp.o
Compiling .pio/build/esp32_multistrip/src/dmx.cpp.o
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/FX_fcn.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/FX_fcn.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/button.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/button.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/colors.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/colors.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/blynk.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/blynk.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/dmx.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/dmx.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/alexa.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/alexa.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/FX.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/FX.cpp.o] Error 1
Assembler messages:
Fatal error: can't create .pio/build/esp32_multistrip/src/cfg.cpp.o: No such file or directory
*** [.pio/build/esp32_multistrip/src/cfg.cpp.o] Error 1
FileNotFoundError: [Errno 2] No such file or directory: '/Users/poldim/Documents/Other/Projects/WLED/.pio/build/esp32_multistrip/.sconsign38.dblite':
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/Main.py", line 1391:
_exec_main(parser, values)
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/Main.py", line 1355:
_main(parser)
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/Main.py", line 1126:
nodes = _build_targets(fs, options, targets, target_top)
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/Main.py", line 1329:
jobs.run(postfunc = jobs_postfunc)
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Job.py", line 113:
postfunc()
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/Script/Main.py", line 1326:
SCons.SConsign.write()
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/SConsign.py", line 114:
syncmethod()
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/dblite.py", line 144:
self._os_unlink(self._file_name)
Exception ignored in: <function dblite.__del__ at 0x11085a550>
Traceback (most recent call last):
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/dblite.py", line 126, in __del__
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/dblite.py", line 123, in close
File "/Users/poldim/.platformio/packages/tool-scons/scons-local-4.0.1/SCons/dblite.py", line 144, in sync
FileNotFoundError: [Errno 2] No such file or directory: '/Users/poldim/Documents/Other/Projects/WLED/.pio/build/esp32_multistrip/.sconsign38.dblite'
================================================================================= [FAILED] Took 13.52 seconds =================================================================================
Environment Status Duration
---------------- -------- ------------
esp32_multistrip FAILED 00:00:13.523
============================================================================ 1 failed, 0 succeeded in 00:00:13.523 ============================================================================
The terminal process "pio 'run'" terminated with exit code: 1.
@poldim thank you! that is a known issue, see: https://github.com/Aircoookie/WLED/wiki/Compiling-WLED#compilation-guide-platformio Just compiling again without changing anything makes it work. Not been able to figure out the cause of it yet...
Describe the bug It looks like https://github.com/Aircoookie/WLED/commit/fb91d9b2d483c978c986a6f9999b5cf797e3a12c broke the esp32_multistrip usermod. Compiling the usermod now fails on 0.11.0.
To Reproduce
git checkout v0.11.0
platformio_override.ini
:pio run -e quinled_dig_quad
Expected behavior Compiling firmware.
WLED version
Additional context Error during build:
Thank you for your help!