News

moodlite - Coming soon


Problem compiling new V3.0 Software

lukilug · 278

lukilug

  • Newbie
  • *
    • Posts: 1
    • Likes: +0/-0
    • View Profile
on: May 12, 2019, 10:49:08 AM
Hello,
I tried to update my NodeMCU to the newest software version.
But when I try to compile/upload the sktech I get the following error:
Code: [Select]
Moodlite:419:7: 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 '()' ?)

I already deinstalled the Arduino IDE completely (also deleted the Appdata and Documents folder to get a clean fresh installation) and reinstalled it.
All needed libraries are installed and uptodate.

Does someone has an idea how to fix this problem?
Thanks for you help ;D



sk8t3r

  • Newbie
  • *
    • Posts: 5
    • Likes: +0/-0
    • View Profile
Reply #1 on: May 13, 2019, 02:00:18 PM
I have same problem, try restarting Arduino IDE and upload it again. If it will not solve the problem, try instal esp8266 in lower version..
Hope it will work for you! :)



tomoxm

  • Newbie
  • *
    • Posts: 2
    • Likes: +0/-0
    • View Profile
Reply #2 on: May 22, 2019, 06:48:52 PM
same issue here, followed wiki on github, have arduino version 1.8.9

UPDATE: version of ESP8266 2.5.0 worked (dont forget to restart arduino)
« Last Edit: May 23, 2019, 06:51:52 AM by tomoxm »



OnlyBjarne

  • Newbie
  • *
    • Posts: 1
    • Likes: +0/-0
    • View Profile
Reply #3 on: May 26, 2019, 11:22:54 PM
Have anyone tried to fix this in platformIO?



 


SMF spam blocked by CleanTalk