Replies: 5 comments 1 reply
-
I think you spelled mesmerizer wrong, that’s all!
… On Aug 22, 2023, at 11:47 PM, Jan Saell ***@***.***> wrote:
HI there!
I have finally had the time to start working on the mesmerizer board.
And thanks David for the shipment.
I changed the platform.in line to say mesmerizer
[platformio]
default_envs = mesmerizern
And when i compile it i get some strange errors:
Compiling .pio/build/mesmerizer_lolin/src/network.cpp.o In file included from .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms/esp/32/fastled_esp32.h:6, from .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms.h:42, from .pio/libdeps/mesmerizer_lolin/FastLED/src/FastLED.h:62, from include/globals.h:107, from src/main.cpp:160: .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms/esp/32/fastspi_esp32.h:2:17: note: #pragma message: ESP32 Hardware SPI support added #pragma message "ESP32 Hardware SPI support added" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/effectdependencies.h:82, from src/effects.cpp:32: include/effects/matrix/PatternWeather.h: In member function 'virtual void PatternWeather::Draw()': include/effects/matrix/PatternWeather.h:368:38: error: no matching function for call to 'GFXBase::fillScreen(CRGB)' g()->fillScreen(CRGB(0, 0, 0)); ^ In file included from include/gfxbase.h:68, from include/globals.h:1684, from src/effects.cpp:30: .pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: candidate: 'virtual void Adafruit_GFX::fillScreen(uint16_t)' virtual void fillScreen(uint16_t color); ^~~~~~~~~~ .pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: no known conversion for argument 1 from 'CRGB' to 'uint16_t' {aka 'short unsigned int'} In file included from include/effectdependencies.h:82, from src/effectfactories.cpp:31: include/effects/matrix/PatternWeather.h: In member function 'virtual void PatternWeather::Draw()': include/effects/matrix/PatternWeather.h:368:38: error: no matching function for call to 'GFXBase::fillScreen(CRGB)' g()->fillScreen(CRGB(0, 0, 0)); ^ In file included from include/gfxbase.h:68, from include/globals.h:1684, from include/effectdependencies.h:34, from src/effectfactories.cpp:31: .pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: candidate: 'virtual void Adafruit_GFX::fillScreen(uint16_t)' virtual void fillScreen(uint16_t color); ^~~~~~~~~~ .pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: no known conversion for argument 1 from 'CRGB' to 'uint16_t' {aka 'short unsigned int'} Compiling .pio/build/mesmerizer_lolin/src/screen.cpp.o *** [.pio/build/mesmerizer_lolin/src/effects.cpp.o] Error 1 *** [.pio/build/mesmerizer_lolin/src/effectfactories.cpp.o] Error 1
What am i doing wrong?
—
Reply to this email directly, view it on GitHub <#417>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AA4HCFY4HYQCO3D6RLF7YV3XWWRR5ANCNFSM6AAAAAA327BAI4>.
You are receiving this because you are subscribed to this thread.
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Sorry - got a exra n when patins in - and no - its copied from the env section. |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you don’t have any pending work in that folder, I’d wipe it and do a fresh git clone.
In the unlikely event that doesn’t reset everything, try
pio package update
From a terminal within VS.
- Dave
… On Aug 23, 2023, at 6:06 AM, Dave Plummer ***@***.***> wrote:
> .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms.h:42, from .pio/libdeps/mesmerizer_lolin/FastLED/src/FastLED.h:62, from include/globals.h:107, from src/main.cpp:160: .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms/esp/32/fastspi_esp32.h:2:17: note: #pragma message: ESP32 Hardware SPI support added #pragma message "ESP32 Hardware SPI support added" ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from include/effectdependencies.h:82, from src/effects.cpp:32: include/effects/matrix/PatternWeather.h: In member function 'virtual void PatternWeather::Draw()': include/effects/matrix/PatternWeather.h:368:38: error: no matching function for call to 'GFXBase::fillScreen(CRGB)' g()-
>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@jansaell As far as I can tell, there are two problems:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
thanks - should slap myself for not thinking about that. Now it works. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
HI there!
I have finally had the time to start working on the mesmerizer board.
And thanks David for the shipment.
I changed the platform.in line to say mesmerizer
[platformio]
default_envs = mesmerizer
And when i compile it i get some strange errors:
Compiling .pio/build/mesmerizer_lolin/src/network.cpp.o
In file included from .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms/esp/32/fastled_esp32.h:6,
from .pio/libdeps/mesmerizer_lolin/FastLED/src/platforms.h:42,
from .pio/libdeps/mesmerizer_lolin/FastLED/src/FastLED.h:62,
from include/globals.h:107,
from src/main.cpp:160:
.pio/libdeps/mesmerizer_lolin/FastLED/src/platforms/esp/32/fastspi_esp32.h:2:17: note: #pragma message: ESP32 Hardware SPI support added
#pragma message "ESP32 Hardware SPI support added"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from include/effectdependencies.h:82,
from src/effects.cpp:32:
include/effects/matrix/PatternWeather.h: In member function 'virtual void PatternWeather::Draw()':
include/effects/matrix/PatternWeather.h:368:38: error: no matching function for call to 'GFXBase::fillScreen(CRGB)'
g()->fillScreen(CRGB(0, 0, 0));
^
In file included from include/gfxbase.h:68,
from include/globals.h:1684,
from src/effects.cpp:30:
.pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: candidate: 'virtual void Adafruit_GFX::fillScreen(uint16_t)'
virtual void fillScreen(uint16_t color);
^~~~~~~~~~
.pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: no known conversion for argument 1 from 'CRGB' to 'uint16_t' {aka 'short unsigned int'}
In file included from include/effectdependencies.h:82,
from src/effectfactories.cpp:31:
include/effects/matrix/PatternWeather.h: In member function 'virtual void PatternWeather::Draw()':
include/effects/matrix/PatternWeather.h:368:38: error: no matching function for call to 'GFXBase::fillScreen(CRGB)'
g()->fillScreen(CRGB(0, 0, 0));
^
In file included from include/gfxbase.h:68,
from include/globals.h:1684,
from include/effectdependencies.h:34,
from src/effectfactories.cpp:31:
.pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: candidate: 'virtual void Adafruit_GFX::fillScreen(uint16_t)'
virtual void fillScreen(uint16_t color);
^~~~~~~~~~
.pio/libdeps/mesmerizer_lolin/Adafruit GFX Library/Adafruit_GFX.h:62:16: note: no known conversion for argument 1 from 'CRGB' to 'uint16_t' {aka 'short unsigned int'}
Compiling .pio/build/mesmerizer_lolin/src/screen.cpp.o
*** [.pio/build/mesmerizer_lolin/src/effects.cpp.o] Error 1
*** [.pio/build/mesmerizer_lolin/src/effectfactories.cpp.o] Error 1
What am i doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions