Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Невозможно использовать без FastLED #6

Open
neko-neko-nyan opened this issue Sep 10, 2024 · 6 comments
Open

Comments

@neko-neko-nyan
Copy link

В описании на сайте https://alexgyver.ru/microled/ написано (как я понял), что FastLED использовать не обязательно (если убрать include <FastLEDsupport.h>), но даже без этого инклюда без FastLED не компилируется. Использую platformio. FastLED тянется из FastLEDsupport.cpp.

@GyverLibs
Copy link
Owner

В ардуинеиде компилится

@neko-neko-nyan
Copy link
Author

Там же, предпоследний коммет, чел пишет, что у него в ардуино 2.3.2 не компилится. Я сейчас поставлю, проверю.

@neko-neko-nyan
Copy link
Author

neko-neko-nyan commented Sep 10, 2024

Нет, поставил ардуино иде последнюю, пример microLED_guide (upd подробный лог):

FQBN: arduino:avr:nano
Using board 'nano' from platform in folder: C:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6
Using core 'arduino' from platform in folder: C:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6

Detecting libraries used...
C:\Users\pasha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs C:\Users\pasha\AppData\Local\Temp\arduino\sketches\BBF6E0D6944CADE893D3F753F02A1B87\sketch\microLED_guide.ino.cpp -o nul
Alternatives for microLED.h: [[email protected]]
ResolveLibrary(microLED.h)
  -> candidates: [[email protected]]
C:\Users\pasha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -IC:\Users\pasha\OneDrive\Документы\Arduino\libraries\microLED\src C:\Users\pasha\AppData\Local\Temp\arduino\sketches\BBF6E0D6944CADE893D3F753F02A1B87\sketch\microLED_guide.ino.cpp -o nul
In file included from C:\Users\pasha\OneDrive\Документы\Arduino\libraries\microLED\src\FastLEDsupport.cpp:1:0:
C:\Users\pasha\OneDrive\Документы\Arduino\libraries\microLED\src\FastLEDsupport.h:5:10: fatal error: FastLED.h: No such file or directory
 #include <FastLED.h>
          ^~~~~~~~~~~
compilation terminated.
C:\Users\pasha\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7/bin/avr-g++ -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\cores\arduino -IC:\Users\pasha\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.6\variants\eightanaloginputs -IC:\Users\pasha\OneDrive\Документы\Arduino\libraries\microLED\src C:\Users\pasha\OneDrive\Документы\Arduino\libraries\microLED\src\FastLEDsupport.cpp -o nul
Alternatives for FastLED.h: []
ResolveLibrary(FastLED.h)
  -> candidates: []
exit status 1

Compilation error: exit status 1

@RedFraction
Copy link

Есть какие апдейты?

@GyverLibs
Copy link
Owner

Неа

@GyverLibs
Copy link
Owner

Вроде пофиксил

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants