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

Compiling the code as committed fails #28

Open
markirwin opened this issue Jun 23, 2021 · 0 comments
Open

Compiling the code as committed fails #28

markirwin opened this issue Jun 23, 2021 · 0 comments

Comments

@markirwin
Copy link

I am using esp-idf 4.3 and cloned the repo and tried to compile the committed code. However i am getting lots of error messages all relating to the fastLED component. See below
../components/FastLED-idf/FastLED.h:263:113: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:313:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)'
static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:313:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:319:25: note: candidate: 'template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB
, int, int)'
static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:319:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:325:25: note: candidate: 'template<template class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB
, int, int)'
static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:325:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:369:25: note: candidate: 'template<template class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB
, int, int)'
static CLEDController &addLeds(struct CRGB data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:369:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
../components/FastLED-idf/FastLED.h:375:25: note: candidate: 'template<template class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB
, int, int)'
static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
^~~~~~~
../components/FastLED-idf/FastLED.h:375:25: note: template argument deduction/substitution failed:
../components/FastLED-idf/FastLED.h:273:131: note: candidate expects 3 arguments, 4 provided
case SK9822: { static SK9822Controller<DATA_PIN, CLOCK_PIN, RGB_ORDER> c; return addLeds(&c, data, nLedsOrOffset, nLedsIfOffset); }
^
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

This there an easy way to get round this error?

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

1 participant