Skip to content

Compiling the code as committed fails #28

@markirwin

Description

@markirwin

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions