News

moodlite - Coming soon


Moodlite v3 errors

Oscar1 · 280

Oscar1

  • Newbie
  • *
    • Posts: 2
    • Likes: +0/-0
    • View Profile
on: January 19, 2020, 09:12:16 PM
Hi everyone.
I am trying to load the v3 software and it gives me multiple errors.
Let's see if someone can help me
Thank you


Arduino:1.8.10 (Mac OS X), Tarjeta:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Disabled, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

ATENCIÓN: la librería Timezone-master pretende ejecutarse sobre arquitectura(s) avr y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) esp8266.
In file included from /Users/oscarb/Desktop/Moodlite-2/Arduino/Moodlite/Moodlite.ino:33:0:
/Users/oscarb/Documents/Arduino/libraries/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
 #    pragma message "FastLED version 3.003.002"
                     ^
In file included from /Users/oscarb/Documents/Arduino/libraries/FastLED/FastLED.h:65:0,
                 from /Users/oscarb/Desktop/Moodlite-2/Arduino/Moodlite/Moodlite.ino:33:
/Users/oscarb/Documents/Arduino/libraries/FastLED/fastspi.h:130: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"
                       ^
In file included from /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/string.h:163:0,
                 from /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/cores/esp8266/Arduino.h:33,
                 from /Users/oscarb/Documents/Arduino/libraries/Time-master/DateStrings.cpp:12:
/Users/oscarb/Documents/Arduino/libraries/Time-master/DateStrings.cpp: In function 'char* monthStr(uint8_t)':
/Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type
     #define pgm_read_ptr(addr)              (*reinterpret_cast<const void*>(addr))
                                                                                 ^
/Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/string.h:32:57: note: in definition of macro 'strcpy_P'
 #define strcpy_P(dest, src)          strncpy_P((dest), (src), SIZE_IRRELEVANT)
                                                         ^
/Users/oscarb/Documents/Arduino/libraries/Time-master/DateStrings.cpp:72:29: note: in expansion of macro 'pgm_read_ptr'
     strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(monthNames_P[month])));
                             ^
/Users/oscarb/Documents/Arduino/libraries/Time-master/DateStrings.cpp: In function 'char* dayStr(uint8_t)':
/Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/pgmspace.h:76:81: error: 'const void*' is not a pointer-to-object type
     #define pgm_read_ptr(addr)              (*reinterpret_cast<const void*>(addr))
                                                                                 ^
/Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/tools/sdk/libc/xtensa-lx106-elf/include/sys/string.h:32:57: note: in definition of macro 'strcpy_P'
 #define strcpy_P(dest, src)          strncpy_P((dest), (src), SIZE_IRRELEVANT)
                                                         ^
/Users/oscarb/Documents/Arduino/libraries/Time-master/DateStrings.cpp:86:28: note: in expansion of macro 'pgm_read_ptr'
    strcpy_P(buffer, (PGM_P)pgm_read_ptr(&(dayNames_P[day])));
                            ^
Se encontraron varias bibliotecas para "ESP8266mDNS.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266mDNS
Se encontraron varias bibliotecas para "TimeLib.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Time-master
Se encontraron varias bibliotecas para "Timezone.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Timezone-master
Se encontraron varias bibliotecas para "PubSubClient.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/pubsubclient-master
Se encontraron varias bibliotecas para "FastLED.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/FastLED
Se encontraron varias bibliotecas para "ESP8266WiFi.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/ESP8266WiFi
Se encontraron varias bibliotecas para "ESPAsyncTCP.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/ESPAsyncTCP-master
Se encontraron varias bibliotecas para "ESPAsyncWebServer.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/ESPAsyncWebServer-master
Se encontraron varias bibliotecas para "Hash.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/Hash
Se encontraron varias bibliotecas para "EEPROM.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/EEPROM
Se encontraron varias bibliotecas para "ArduinoOTA.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.0/libraries/ArduinoOTA
Se encontraron varias bibliotecas para "Timer.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Timer-2.1
exit status 1
Error compilando para la tarjeta NodeMCU 1.0 (ESP-12E Module).

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.



nicksears

  • Newbie
  • *
    • Posts: 11
    • Likes: +0/-0
    • View Profile
Reply #1 on: January 20, 2020, 07:42:31 PM
try 1.8.8, 1.8.10 seems to be giving a lot of people issues.

I still dont have it working, though... I can log in and the first 9 light up but cant be changed...



SimonSplat

  • Newbie
  • *
    • Posts: 7
    • Likes: +0/-0
    • View Profile
Reply #2 on: January 21, 2020, 01:54:03 PM
You need to download the new version of Arduino (as the 32bit version was causing issues). Then advisable to set all you moodlite.ino back to the original version as downloaded from here.



Oscar1

  • Newbie
  • *
    • Posts: 2
    • Likes: +0/-0
    • View Profile
Reply #3 on: January 21, 2020, 07:49:00 PM
Thanks guys

But it's impossible, mistakes and more mistakes. I'm going to have to give up



Arduino:1.8.10 (Mac OS X), Tarjeta:"NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Enabled, All SSL ciphers (most compatible), 4MB (FS:1MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

ATENCIÓN: la librería Timezone-master pretende ejecutarse sobre arquitectura(s) avr y puede ser incompatible con tu actual tarjeta la cual corre sobre arquitectura(s) esp8266.
In file included from /Users/oscarb/Desktop/Moodlite-3/Arduino/Moodlite/Moodlite.ino:31:0:
/Users/oscarb/Documents/Arduino/libraries/FastLED/FastLED.h:14:21: note: #pragma message: FastLED version 3.003.002
 #    pragma message "FastLED version 3.003.002"
                     ^
In file included from /Users/oscarb/Documents/Arduino/libraries/FastLED/FastLED.h:65:0,
                 from /Users/oscarb/Desktop/Moodlite-3/Arduino/Moodlite/Moodlite.ino:31:
/Users/oscarb/Documents/Arduino/libraries/FastLED/fastspi.h:130: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"
                       ^
/Users/oscarb/Desktop/Moodlite-3/Arduino/Moodlite/Moodlite.ino: In member function 'String& ByteString::copy(const void*, unsigned int)':
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;

                ^
Se encontraron varias bibliotecas para "ESP8266mDNS.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266mDNS
Se encontraron varias bibliotecas para "ESPAsyncTCP.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/ESPAsyncTCP-master
Se encontraron varias bibliotecas para "ArduinoOTA.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ArduinoOTA
Se encontraron varias bibliotecas para "Timer.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Timer-2.1
Se encontraron varias bibliotecas para "TimeLib.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Time-master
Se encontraron varias bibliotecas para "Timezone.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/Timezone-master
Se encontraron varias bibliotecas para "PubSubClient.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/pubsubclient-master
Se encontraron varias bibliotecas para "FastLED.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/FastLED
Se encontraron varias bibliotecas para "ESP8266WiFi.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/ESP8266WiFi
Se encontraron varias bibliotecas para "ESPAsyncWebServer.h"
Usado: /Users/oscarb/Documents/Arduino/libraries/ESPAsyncWebServer-master
Se encontraron varias bibliotecas para "Hash.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/Hash
Se encontraron varias bibliotecas para "EEPROM.h"
Usado: /Users/oscarb/Library/Arduino15/packages/esp8266/hardware/esp8266/2.6.3/libraries/EEPROM
exit status 1
invalid use of member function (did you forget the '()' ?)

Este informe podría contener más información con
"Mostrar salida detallada durante la compilación"
opción habilitada en Archivo -> Preferencias.



SimonSplat

  • Newbie
  • *
    • Posts: 7
    • Likes: +0/-0
    • View Profile
Reply #4 on: January 21, 2020, 10:48:23 PM
Try version 2. That seems a little simpler.



 


SMF spam blocked by CleanTalk