Guest User

Felen

a guest
Apr 23rd, 2021
14
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /sdk/hardware/tools/avr/bin/avr-g++ -no-canonical-prefixes -std=gnu++11 -c -g -Os -w -mmcu=atmega328p -DF_CPU=16000000L -DUSB_VID=null -DUSB_PID=null -DARDUINO=10812 -DIDE="ArduinoDroid" -DARDUINO_ARCH_AVR -DARDUINO_AVR_UNO /build/test_1.cpp -o /build/test_1.cpp.o In file included from test_1.ino:1:0:
  2. /FastLED/src/FastLED.h:14:21: note: #pragma message: FastLED version 3.004.000
  3. # pragma message "FastLED version 3.004.000"
  4. ^
  5. test_1.ino: In function 'void setup()':
  6. test_1.ino:22:58: error: no matching function for call to 'CFastLED::addLeds(CRGB&, int)'
  7. test_1.ino:22:58: note: candidates are:
  8. In file included from test_1.ino:1:0:
  9. /FastLED/src/FastLED.h:223:130: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, long unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)
  10. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  11. ^
  12. /FastLED/src/FastLED.h:223:130: note: template argument deduction/substitution failed:
  13. /FastLED/src/FastLED.h:237:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  14. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  15. ^
  16. /FastLED/src/FastLED.h:237:95: note: template argument deduction/substitution failed:
  17. /FastLED/src/FastLED.h:251:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  18. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  19. ^
  20. /FastLED/src/FastLED.h:251:113: note: template argument deduction/substitution failed:
  21. /FastLED/src/FastLED.h:266:56: note: template<ESPIChipsets CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  22. template<ESPIChipsets CHIPSET> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  23. ^
  24. /FastLED/src/FastLED.h:266:56: note: template argument deduction/substitution failed:
  25. test_1.ino:22:58: error: wrong number of template arguments (2, should be 1)
  26. In file included from test_1.ino:1:0:
  27. /FastLED/src/FastLED.h:270:74: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  28. template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  29. ^
  30. /FastLED/src/FastLED.h:270:74: note: template argument deduction/substitution failed:
  31. /FastLED/src/FastLED.h:274:98: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, long unsigned int SPI_DATA_RATE> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  32. template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  33. ^
  34. /FastLED/src/FastLED.h:274:98: note: template argument deduction/substitution failed:
  35. /FastLED/src/FastLED.h:301:25: note: 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)
  36. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  37. ^
  38. /FastLED/src/FastLED.h:301:25: note: template argument deduction/substitution failed:
  39. /FastLED/src/FastLED.h:307:25: note: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  40. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  41. ^
  42. /FastLED/src/FastLED.h:307:25: note: template argument deduction/substitution failed:
  43. /FastLED/src/FastLED.h:313:25: note: template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  44. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  45. ^
  46. /FastLED/src/FastLED.h:313:25: note: template argument deduction/substitution failed:
  47. test_1.ino:22:58: note: cannot convert 'leds[0]' (type 'CRGB') to type 'CRGB*'
  48. In file included from test_1.ino:1:0:
  49. /FastLED/src/FastLED.h:357:25: note: template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  50. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  51. ^
  52. /FastLED/src/FastLED.h:357:25: note: template argument deduction/substitution failed:
  53. /FastLED/src/FastLED.h:363:25: note: template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  54. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  55. ^
  56. /FastLED/src/FastLED.h:363:25: note: template argument deduction/substitution failed:
  57. test_1.ino:22:58: error: wrong number of template arguments (2, should be 1)
  58. test_1.ino:24:59: error: no matching function for call to 'CFastLED::addLeds(CRGB&, int)'
  59. test_1.ino:24:59: note: candidates are:
  60. In file included from test_1.ino:1:0:
  61. /FastLED/src/FastLED.h:223:130: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER, long unsigned int SPI_DATA_RATE> CLEDController& CFastLED::addLeds(CRGB*, int, int)
  62. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE > CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  63. ^
  64. /FastLED/src/FastLED.h:223:130: note: template argument deduction/substitution failed:
  65. /FastLED/src/FastLED.h:237:95: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  66. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  67. ^
  68. /FastLED/src/FastLED.h:237:95: note: template argument deduction/substitution failed:
  69. /FastLED/src/FastLED.h:251:113: note: template<ESPIChipsets CHIPSET, unsigned char DATA_PIN, unsigned char CLOCK_PIN, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  70. template<ESPIChipsets CHIPSET, uint8_t DATA_PIN, uint8_t CLOCK_PIN, EOrder RGB_ORDER > static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  71. ^
  72. /FastLED/src/FastLED.h:251:113: note: template argument deduction/substitution failed:
  73. /FastLED/src/FastLED.h:266:56: note: template<ESPIChipsets CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  74. template<ESPIChipsets CHIPSET> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  75. ^
  76. /FastLED/src/FastLED.h:266:56: note: template argument deduction/substitution failed:
  77. test_1.ino:24:59: error: wrong number of template arguments (2, should be 1)
  78. In file included from test_1.ino:1:0:
  79. /FastLED/src/FastLED.h:270:74: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  80. template<ESPIChipsets CHIPSET, EOrder RGB_ORDER> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  81. ^
  82. /FastLED/src/FastLED.h:270:74: note: template argument deduction/substitution failed:
  83. /FastLED/src/FastLED.h:274:98: note: template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, long unsigned int SPI_DATA_RATE> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  84. template<ESPIChipsets CHIPSET, EOrder RGB_ORDER, uint32_t SPI_DATA_RATE> static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  85. ^
  86. /FastLED/src/FastLED.h:274:98: note: template argument deduction/substitution failed:
  87. /FastLED/src/FastLED.h:301:25: note: 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)
  88. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  89. ^
  90. /FastLED/src/FastLED.h:301:25: note: template argument deduction/substitution failed:
  91. /FastLED/src/FastLED.h:307:25: note: template<template<unsigned char DATA_PIN, EOrder RGB_ORDER> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  92. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  93. ^
  94. /FastLED/src/FastLED.h:307:25: note: template argument deduction/substitution failed:
  95. /FastLED/src/FastLED.h:313:25: note: template<template<unsigned char DATA_PIN> class CHIPSET, unsigned char DATA_PIN> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  96. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  97. ^
  98. /FastLED/src/FastLED.h:313:25: note: template argument deduction/substitution failed:
  99. test_1.ino:24:59: note: cannot convert 'leds[1]' (type 'CRGB') to type 'CRGB*'
  100. In file included from test_1.ino:1:0:
  101. /FastLED/src/FastLED.h:357:25: note: template<template<EOrder RGB_ORDER> class CHIPSET, EOrder RGB_ORDER> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  102. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  103. ^
  104. /FastLED/src/FastLED.h:357:25: note: template argument deduction/substitution failed:
  105. /FastLED/src/FastLED.h:363:25: note: template<template<EOrder RGB_ORDER> class CHIPSET> static CLEDController& CFastLED::addLeds(CRGB*, int, int)
  106. static CLEDController &addLeds(struct CRGB *data, int nLedsOrOffset, int nLedsIfOffset = 0) {
  107. ^
  108. /FastLED/src/FastLED.h:363:25: note: template argument deduction/substitution failed:
  109. test_1.ino:24:59: error: wrong number of template arguments (2, should be 1)
  110. test_1.ino:27:42: error: no matching function for call to 'fill_solid(CRGB&, int, CRGB::HTMLColorCode)'
  111. test_1.ino:27:42: note: candidates are:
  112. In file included from /FastLED/src/FastLED.h:58:0,
  113. from test_1.ino:1:
  114. /FastLED/src/colorutils.h:18:6: note: void fill_solid(CRGB*, int, const CRGB&)
  115. void fill_solid( struct CRGB * leds, int numToFill,
  116. ^
  117. /FastLED/src/colorutils.h:18:6: note: no known conversion for argument 1 from 'CRGB' to 'CRGB*'
  118. /FastLED/src/colorutils.h:23:6: note: void fill_solid(CHSV*, int, const CHSV&)
  119. void fill_solid( struct CHSV* targetArray, int numToFill,
  120. ^
  121. /FastLED/src/colorutils.h:23:6: note: no known conversion for argument 1 from 'CRGB' to 'CHSV*'
  122. test_1.ino:29:42: error: no matching function for call to 'fill_solid(CRGB&, int, CRGB::HTMLColorCode)'
  123. test_1.ino:29:42: note: candidates are:
  124. In file included from /FastLED/src/FastLED.h:58:0,
  125. from test_1.ino:1:
  126. /FastLED/src/colorutils.h:18:6: note: void fill_solid(CRGB*, int, const CRGB&)
  127. void fill_solid( struct CRGB * leds, int numToFill,
  128. ^
  129. /FastLED/src/colorutils.h:18:6: note: no known conversion for argument 1 from 'CRGB' to 'CRGB*'
  130. /FastLED/src/colorutils.h:23:6: note: void fill_solid(CHSV*, int, const CHSV&)
  131. void fill_solid( struct CHSV* targetArray, int numToFill,
  132. ^
  133. /FastLED/src/colorutils.h:23:6: note: no known conversion for argument 1 from 'CRGB' to 'CHSV*'
  134. test_1.ino: In function 'void loop()':
  135. test_1.ino:50:21: error: 'leds' was not declared in this scope
  136. test_1.ino:57:21: error: 'leds' was not declared in this scope
  137. test_1.ino:65:20: error: 'leds' was not declared in this scope
  138. Return code is not 0
RAW Paste Data