News

moodlite - Coming soon


Cant build moodlite.ino

mar_robHD · 674

mar_robHD

  • Newbie
  • *
    • Posts: 30
    • Likes: +1/-0
    • View Profile
on: April 06, 2019, 07:24:09 PM
If I build the moodlite.ino with the mqtt, ntp server or both functions in the Arduino IDE I get these errors:

Code: [Select]
Arduino: 1.8.8 (Windows 10), TD: 1.45, Board: "LOLIN(WEMOS) D1 R2 & mini, 80 MHz, Flash, Disabled, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 921600"

WARNING: library Timezone claims to run on (avr) architecture(s) and may be incompatible with your current board which runs on (esp8266) architecture(s).
In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:31:0:

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

 #    pragma message "FastLED version 3.002.006"

                     ^

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

                 from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:31:

C:\Users\marlo\Documents\Arduino\libraries\FastLED/fastspi.h:110: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\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino: In function 'void setup()':

Moodlite:595:58: error: invalid conversion from 'void (*)(void*)' to 'void (*)()' [-fpermissive]

     trNtpCheckServer.every(TR3H, ntpCheckServer, (void*)0);

                                                          ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 2 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Moodlite:595:58: error: invalid conversion from 'void*' to 'int' [-fpermissive]

     trNtpCheckServer.every(TR3H, ntpCheckServer, (void*)0);

                                                          ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 3 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Moodlite:605:63: error: invalid conversion from 'void (*)(void*)' to 'void (*)()' [-fpermissive]

     trMqttCheckMessages.every(TR1S, mqttCheckMessage, (void*)0);

                                                               ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 2 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Moodlite:605:63: error: invalid conversion from 'void*' to 'int' [-fpermissive]

     trMqttCheckMessages.every(TR1S, mqttCheckMessage, (void*)0);

                                                               ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 3 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Moodlite:607:59: error: invalid conversion from 'void (*)(void*)' to 'void (*)()' [-fpermissive]

     trMqttSendStatus.every(TR30M, mqttSendStatus, (void*)0);

                                                           ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 2 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Moodlite:607:59: error: invalid conversion from 'void*' to 'int' [-fpermissive]

     trMqttSendStatus.every(TR30M, mqttSendStatus, (void*)0);

                                                           ^

In file included from C:\Users\marlo\OneDrive\Desktop\Moodlite\Moodlite.ino:59:0:

C:\Users\marlo\Documents\Arduino\libraries\Timer-master/Timer.h:41:10: error:   initializing argument 3 of 'int8_t Timer::every(long unsigned int, void (*)(), int)' [-fpermissive]

   int8_t every(unsigned long period, void (*callback)(void), int repeatCount);

          ^

Multiple libraries were found for "EEPROM.h"
 Used: C:\Users\marlo\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.5.0-beta3\libraries\EEPROM
 Not used: C:\Users\marlo\Documents\Arduino\libraries\arduino-NVM
exit status 1
invalid conversion from 'void (*)(void*)' to 'void (*)()' [-fpermissive]

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Thanks for help
Marlon
« Last Edit: April 06, 2019, 10:25:38 PM by mar_robHD »



spigot

  • Global Moderator
  • Full Member
  • *****
    • Posts: 112
    • Likes: +25/-0
  • There's no place like 127.0.0.1
    • View Profile
Reply #1 on: April 07, 2019, 07:32:59 AM



mar_robHD

  • Newbie
  • *
    • Posts: 30
    • Likes: +1/-0
    • View Profile
Reply #2 on: April 07, 2019, 08:13:02 AM
Yes sure. I have all libs added and installed the newest fastled. I think it isnt clear what i install from a zip or the lib manager. https://github.com/spigotx/Moodlite/wiki/Preparing-Arduino-IDE I hope this will be updated. I think this would help
« Last Edit: April 07, 2019, 08:30:10 AM by mar_robHD »



dinands

  • Newbie
  • *
    • Posts: 2
    • Likes: +0/-0
    • View Profile
Reply #3 on: April 12, 2019, 08:54:36 PM
hello

i have this problem and dont now wat next.


exit status 1
Fout bij het compileren voor board LOLIN(WEMOS) D1 R2 & mini



mar_robHD

  • Newbie
  • *
    • Posts: 30
    • Likes: +1/-0
    • View Profile
Reply #4 on: April 13, 2019, 01:52:46 PM



dinands

  • Newbie
  • *
    • Posts: 2
    • Likes: +0/-0
    • View Profile
Reply #5 on: April 15, 2019, 09:47:45 AM
Pin number was the problem >:(



 


SMF spam blocked by CleanTalk