News

moodlite - Coming soon


invalid use of member function

Goldenfaeron · 201

Goldenfaeron

  • Newbie
  • *
    • Posts: 1
    • Likes: +0/-0
    • View Profile
on: July 17, 2019, 11:37:30 AM
When I want to upload the program the first time (step 7. at https://github.com/spigotx/Moodlite/wiki/First-setup-of-Moodlite ) there are some errors:

Code: [Select]
Arduino: 1.8.10 Hourly Build 2019/07/16 11:33 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, All SSL ciphers (most compatible), 4M (no SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

WARNUNG: Bibliothek Timezone behauptet auf (avr) Architektur(en) ausgeführt werden zu können und ist möglicherweise inkompatibel mit Ihrem derzeitigen Board, welches auf (esp8266) Architektur(en) ausgeführt wird.
In file included from C:\Users\-------\Documents\Zimmereinrichtung\Moodlite\Arduino\Moodlite\Moodlite.ino:31:0:

C:\Users\-------\Documents\Arduino\libraries\FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.002.010

 #    pragma message "FastLED version 3.002.010"

                     ^

In file included from C:\Users\-------\Documents\Arduino\libraries\FastLED/FastLED.h:65:0,

                 from C:\Users\-------\Documents\Zimmereinrichtung\Moodlite\Arduino\Moodlite\Moodlite.ino:31:

C:\Users\-------\Documents\Arduino\libraries\FastLED/fastspi.h:115:23: note: #pragma message: No hardware SPI pins defined.  All SPI access will default to bitbanged output

 #      pragma message "No hardware SPI pins defined.  All SPI access will default to bitbanged output"

                       ^

C:\Users\-------\-------\-------\Moodlite\Arduino\Moodlite\Moodlite.ino: In member function 'String& ByteString::copy(const void*, unsigned int)':

Moodlite:419:9: error: invalid use of member function (did you forget the '()' ?)

     len = length;

         ^

Moodlite:420:30: error: cannot convert 'String::buffer' from type 'const char* (String::)()const' to type 'void*'

   memcpy(buffer, data, length);

                              ^

Moodlite:421:16: error: invalid types '<unresolved overloaded function type>[unsigned int]' for array subscript

   buffer[length] = 0;

                ^

exit status 1
invalid use of member function (did you forget the '()' ?)


------ = my full name  ;)

What is wrong with the code?

Thanks for answers.

Tobi



 


SMF spam blocked by CleanTalk