Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Error compiling ...
#1

Hello, I have compiled the RX code ("P2ESP8266_RX_v1.0_b014") and it gives me the following error on line 516:

sCmd.setNullHandler (cmdWake);                                 // Handler for an empty line to wake the simulated console

If I comment the line runs without problems. Any ideas?
Thank you,
M.
Reply
#2

Hi,

Can you please give me more details. This line:
Code:
sCmd.setNullHandler (cmdWake);
isn't present on the code.

Line 516 from what part of the code?

Reply
#3

(04-07-2018, 14:05)Werk_AG Wrote:  Hi,

Can you please give me more details. This line:
Code:
sCmd.setNullHandler (cmdWake);
isn't present on the code.

Line 516 from what part of the code?

Code:
/***************************************************************************
 WeatherDuino Pro2 Compact Base Unit / RF Receiver
 Compatible with Cumulus1, CumulusMX, WeatherDisplay, WeewX, and virtualy any software with support for a Davis VantagePro

 RX Boards Compatibility   : WeatherDuino Pro2 Compact RX Board Series v1.xx
 TX Software Compatibility : WeatherDuino Pro2 Universal TX v6.x

 Version                : P2ESP8266_RX_v1.0_b014  (Compile with Arduino 1.8.3 or newer)
 Version Release date   : xx/xx/2018
 Last revision date     : 10/06/2018
 Licence                : GNU GPLv3
 Author                 : Werk_AG (MeteoCercal)
 Support Forum          : http://www.meteocercal.info/forum




...
...
...

  //---------------------------------------------------------
 //     Davis LOOP commands
 //---------------------------------------------------------

 // Initialize the loop data array
 memcpy(&loopData, &loopInit, sizeof(loopInit));
 memcpy(&loop2Data, &loop2Init, sizeof(loop2Init));

 //Setup callbacks for SerialCommand commands
 sCmd.addCommand("LOOP", cmdLoop);           // Send the loop data
 sCmd.addCommand("LPS", cmdLoop2);           // Send the loop2 data
 sCmd.addCommand("NVER", cmdNver);           // Send the version string
 //sCmd.addCommand("TEST", cmdTest);           // Echo's "TEST"
 sCmd.addCommand("VER", cmdVer);             // Send the associated date for this version
 sCmd.addCommand("WRD\x12M", cmdWRD);        // Support the Davis legacy "WRD" command
 sCmd.addCommand("GETTIME", cmdGettime);     // Send back current RTC date/time
 sCmd.addCommand("SETTIME", cmdSettime);     // Update current RTC date/time from PC
 sCmd.addCommand("EEBRD", cmdEebrd);         // EEPROM Read
 sCmd.setDefaultHandler(cmdUnrecognized);    // Handler for command that isn't matched
//  sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console
 sCmd.addCommand("RXCHECK", cmdRxCheck);     // RX diagnostics (Implementated just to avoid error on the logs)
 sCmd.addCommand("BARDATA", cmdBardata);     // Barometer calibration data


This is the line that gives error:

516  //  sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console

Thank you,
M.
Reply
#4

Hi mikelone,

I have checked and double checked and for me the P2ESP8266_RX_v1.0_b014 software compiles fine. Can you please post your config_options.h file for me to try to compile the software with your settings.

It may also help if you post the error messages returned by the compiler.
Thank you.

Regards
Caneira

Reply
#5

(04-07-2018, 22:24)Werk_AG Wrote:  Hi mikelone,

I have checked and double checked and for me the P2ESP8266_RX_v1.0_b014 software compiles fine. Can you please post your config_options.h file for me to try to compile the software with your settings.

It may also help if you post the error messages returned by the compiler.
Thank you.

Regards
Caneira
Code:
/***************************************************************************
 WeatherDuino Pro2 Compact Base Unit / RF Receiver
 Compatible with Cumulus1, CumulusMX, WeatherDisplay, WeewX, and virtualy any software with support for a Davis VantagePro

 RX Boards Compatibility   : WeatherDuino Pro2 Compact RX Board Series v1.xx
 TX Software Compatibility : WeatherDuino Pro2 Universal TX v6.x

 Version                : P2ESP8266_RX_v1.0_b014  (Compile with Arduino 1.8.3 or newer)
 Version Release date   : xx/xx/2018
 Last revision date     : 10/06/2018
 Licence                : GNU GPLv3
 Author                 : Werk_AG (MeteoCercal)
 Support Forum          : http://www.meteocercal.info/forum

IMPORTANT: Before programing, always check user configurable options at Config_Options.h and Credentials.h
           Default options often are not suitable for your personal instalation.

-------------------------------------------------------------------------------------
          >>>>>>>>>>>> About Copyrights <<<<<<<<<<<<<<<
-------------------------------------------------------------------------------------
License:GNU General Public License v3.0

    WeatherDuino Pro2 PLUS Base Unit / RF Receiver
    Copyright (C) 2017  Werk_AG - www.meteocercal.info

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
*************************************************************************************/
...
...
...

"C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/lwip2/include" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\Miguel\AppData\Local\Temp\arduino_build_575137/core" -c -Wall -Wextra -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -MMD -ffunction-sections -fdata-sections -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536   -DARDUINO=10805 -DARDUINO_ESP8266_WEMOS_D1MINI -DARDUINO_ARCH_ESP8266 -DARDUINO_BOARD="ESP8266_WEMOS_D1MINI"   -DESP8266 "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\cores\esp8266" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\variants\d1_mini" "-IC:\Program Files (x86)\Arduino\libraries\TimezoneESP8266" "-IC:\Program Files (x86)\Arduino\libraries\Time" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WiFi\src" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266mDNS" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ArduinoOTA" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI" "-IC:\Program Files (x86)\Arduino\libraries\RadioHead" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire" "-IC:\Program Files (x86)\Arduino\libraries\RTClib-master" "-IC:\Program Files (x86)\Arduino\libraries\Timer-master" "-IC:\Program Files (x86)\Arduino\libraries\BME280" "-IC:\Program Files (x86)\Arduino\libraries\TFT_eSPI" "-IC:\Program Files (x86)\Arduino\libraries\Arduino-SerialCommand-master" "-IC:\Program Files (x86)\Arduino\libraries\Json_streaming_parser" "-IC:\Program Files (x86)\Arduino\libraries\WUforecast\src" "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266HTTPClient\src" "C:\Users\Miguel\AppData\Local\Temp\arduino_build_575137\sketch\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES.ino.cpp" -o "C:\Users\Miguel\AppData\Local\Temp\arduino_build_575137\sketch\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES.ino.cpp.o"
In file included from D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES.ino:57:0:

C:\Program Files (x86)\Arduino\libraries\TFT_eSPI/TFT_eSPI.h:169:3: warning: multi-line comment [-Wcomment]

   //#define set_mask(C) ((C&0x80)>>7)<<TFT_D7 | ((C&0x40)>>6)<<TFT_D6 | ((C&0x20)>>5)<<TFT_D5 | ((C&0x10)>>4)<<TFT_D4 | \

   ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES.ino: In function 'void setup()':

WeatherDuino_P2ESP8266_RX_v1.0_b014_ES:516: error: 'class SerialCommand' has no member named 'setNullHandler'

   sCmd.setNullHandler(cmdWake);               // Handler for an empty line to wake the simulated console

        ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\D_TFT.ino: In function 'void draw_WUforecast()':

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\D_TFT.ino:613:8: warning: unused variable 'temp_buf' [-Wunused-variable]

   char temp_buf[3];

        ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\D_TFT.ino: In function 'void Draw_Graphics()':

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\D_TFT.ino:1162:14: warning: unused variable 'temp_Index' [-Wunused-variable]

          int temp_Index;

              ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\NET.ino: In function 'void getNtpTime()':

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\NET.ino:7:20: warning: unused variable 'mux_id' [-Wunused-variable]

     static uint8_t mux_id = 0;

                    ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\Routines.ino: In function 'void Loop_Updates(uint16_t, byte, byte, byte)':

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\Routines.ino:140:87: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

      if (ExternalEeprom_readInt(RainDayBegin_tips_Eeprom_adr) == TX_Unit[RAIN_SOURCE].TotalRain_tips) DaysWithoutRain += 1;

                                                                                       ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\Routines.ino: In function 'void RunEvery_15_Minutes()':

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\Routines.ino:270:96: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]

     if (TX_Unit[RAIN_SOURCE].TotalRain_tips > ExternalEeprom_readLong(TotalRain_tips_Eeprom_adr))

                                                                                                ^

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\VP.ino: At global scope:

D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\VP.ino:202:6: warning: unused parameter 'command' [-Wunused-parameter]

 void cmdUnrecognized(const char *command) {

      ^

Se encontraron múltiples librerías para "SPI.h"
Usado: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI
 No usado: C:\Program Files (x86)\Arduino\libraries\SPI-master
Se encontraron múltiples librerías para "Wire.h"
Usado: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire
 No usado: C:\Program Files (x86)\Arduino\libraries\Wire-master
Utilizando biblioteca TimezoneESP8266 en carpeta: C:\Program Files (x86)\Arduino\libraries\TimezoneESP8266 (legacy)
Usando librería Time con versión 1.5 en la carpeta: C:\Program Files (x86)\Arduino\libraries\Time
Usando librería ESP8266WiFi con versión 1.0 en la carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WiFi
Utilizando biblioteca ESP8266mDNS en carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266mDNS (legacy)
Usando librería ArduinoOTA con versión 1.0 en la carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ArduinoOTA
Usando librería SPI con versión 1.0 en la carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI
Utilizando biblioteca RadioHead en carpeta: C:\Program Files (x86)\Arduino\libraries\RadioHead (legacy)
Usando librería Wire con versión 1.0 en la carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire
Usando librería RTClib-master con versión 1.2.1 en la carpeta: C:\Program Files (x86)\Arduino\libraries\RTClib-master
Utilizando biblioteca Timer-master en carpeta: C:\Program Files (x86)\Arduino\libraries\Timer-master (legacy)
Usando librería BME280 con versión 1.0.0 en la carpeta: C:\Program Files (x86)\Arduino\libraries\BME280
Usando librería TFT_eSPI con versión 0.20.11 en la carpeta: C:\Program Files (x86)\Arduino\libraries\TFT_eSPI
Utilizando biblioteca Arduino-SerialCommand-master en carpeta: C:\Program Files (x86)\Arduino\libraries\Arduino-SerialCommand-master (legacy)
Usando librería Json_streaming_parser con versión 1.0.5 en la carpeta: C:\Program Files (x86)\Arduino\libraries\Json_streaming_parser
Usando librería WUforecast con versión 1.3.2 en la carpeta: C:\Program Files (x86)\Arduino\libraries\WUforecast
Usando librería ESP8266HTTPClient con versión 1.1 en la carpeta: C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266HTTPClient
exit status 1
'class SerialCommand' has no member named 'setNullHandler'

The config options:


Code:
// --------------------------------------------------------------------------------------
//  WeatherDuino Pro2 Compact RF Receiver - Version: P2ESP8266_RX_v1.0_b014
//                  Start of user configurable options
// --------------------------------------------------------------------------------------
// If you need help about any of the user configurable settings, please first do a search
// at the WeatherDuino Pro2 support forum. If you don't find any relevant info, then post
// a new thread.
//
// --------------------------------------------------------------------------------------
//   Define Name and ID's for this weather station
// --------------------------------------------------------------------------------------
const char* WeatherStation_Name = "Playa de la Mora - TGN"; // Put here a name for your Weather Station (THIS IS IMPORTANT)

const byte Station_ID = 0xA1;    // Station_ID, use the same value in all TX units
const byte Relay_ID   = 0xA3;    // Relay_ID,   use the same value in all WD units


// --------------------------------------------------------------------------------------
//   Define your Weather Station location. Use decimal format for Latitude and Longitude
// --------------------------------------------------------------------------------------
#define LATITUDE      41.132    // Put here your Station latitude in degrees North (always use 3 decimal places)
#define LONGITUDE     1.353    // Put here your Station longitude in degrees - minus for West (always use 3 decimal places)
#define ELEVATION     55       // Put here your Station height above sea level in Meters (no decimal places)


// --------------------------------------------------------------------------------------
//   Define rules for Auto Summer Time Display, and clock adjustment
// --------------------------------------------------------------------------------------
// Example for Australia Eastern Time Zone (Sydney, Melbourne)
// TimeChangeRule aEDT = {"AEDT", First, Sun, Oct, 2, 660};    //UTC + 11 hours
// TimeChangeRule aEST = {"AEST", First, Sun, Apr, 3, 600};    //UTC + 10 hours
// Timezone myTZ(aEDT, aEST);
//                                              OJO 60 0
TimeChangeRule PST = {"PST", Last, Sun, Mar, 1, 60};   //Portuguese Summer Time -  "UTC + 1" or GMT + 1
TimeChangeRule GMT = {"GMT", Last, Sun, Oct, 2, 0};    //Portuguese Winter Time -  "UTC + 0" or GMT
Timezone myTZ(PST, GMT);


// --------------------------------------------------------------------------------------
//   Define Interface Language
// --------------------------------------------------------------------------------------
     
#include "_lang/es_ES.h"      // Change the language code according to your preference. Keep "_lang/" and the ".h" at the end
                             // Currently available languages: en_GB, fr_FR, de_DE, pt_PT, es_ES, cs_CZ, nl_NL, it_IT

with the commented line it works ...

Thank you,
M.
Reply
#6

Hi,

Commenting that line isn't a solution, as it will have implications on the Davis emulation.
Something is wrong with your software. Are you sure that you are using the original software without any modification?

Take a look at this error from your compiler:


Code:
D:\Miguel V\Arduino\METEO\WeatherDuino_Pro2_Compact\software\WeatherDuino_P2ESP8266_RX_v1.0_b014_ES\VP.ino:202:6: warning: unused parameter 'command' [-Wunused-parameter]

void cmdUnrecognized(const char *command) {

     ^


on the original code this line:

Code:
void cmdUnrecognized(const char *command) {

     ^

is on line 202 not line 206

Another important thing: make sure you are using the SerialCommand library supplied with the software and not any other library with the same name (newer or older).

The Config_Options.h file you posted isn't complete, so I can't try to compile using your settings. Anyway, I can assure you that the software compiles fine for Wemos D1 R2 & mini with Arduino 1.8.4 and 1.8.5 too.
Also please check if you are compiling it for Wemos D1 R2 & mini.

Here is the last part of compiler output during compilation:

Code:
Using library TimezoneESP8266 in folder: C:\Users\caneira\Documents\Arduino\libraries\TimezoneESP8266 (legacy)
Using library Time at version 1.5 in folder: C:\Users\caneira\Documents\Arduino\libraries\Time
Using library ESP8266WiFi at version 1.0 in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WiFi
Using library ESP8266mDNS in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266mDNS (legacy)
Using library ArduinoOTA at version 1.0 in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ArduinoOTA
Using library SPI at version 1.0 in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI
Using library RadioHead in folder: C:\Users\caneira\Documents\Arduino\libraries\RadioHead (legacy)
Using library Wire at version 1.0 in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\Wire
Using library RTClib at version 1.2.1 in folder: C:\Users\caneira\Documents\Arduino\libraries\RTClib
Using library Timer in folder: C:\Users\caneira\Documents\Arduino\libraries\Timer (legacy)
Using library BME280 at version 1.0.0 in folder: C:\Users\caneira\Documents\Arduino\libraries\BME280
Using library TFT_eSPI at version 0.20.14 in folder: C:\Users\caneira\Documents\Arduino\libraries\TFT_eSPI
Using library SerialCommand in folder: C:\Users\caneira\Documents\Arduino\libraries\SerialCommand (legacy)
Using library Json_streaming_parser at version 1.0.5 in folder: C:\Users\caneira\Documents\Arduino\libraries\Json_streaming_parser
Using library WUforecast at version 1.3.2 in folder: C:\Users\caneira\Documents\Arduino\libraries\WUforecast
Using library ESP8266HTTPClient at version 1.1 in folder: C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266HTTPClient
Sketch uses 513788 bytes (49%) of program storage space. Maximum is 1044464 bytes.
Global variables use 41560 bytes (50%) of dynamic memory, leaving 40360 bytes for local variables. Maximum is 81920 bytes.


Another thing I noticed: Preferably don't install the libraries in the Arduino default libraries folder. Extra libraries should be installed in c:\users\yourname\documents\Arduino\libraries, this way when you upgrade your Arduino IDE, libraries continue to be available to new versions.

Reply
#7

Hi altogether,

probably it it is because of the libraries?
I also had trouble with a newer (or different, but same name?!?) BME 280 library.
So when I pasted in all the folders, then they were updated and some (old/ not meant to exist) header files rested in there (then the compiler grouses).
One solution would be to cut all folders/libs that will be replaced and put them in a temp folder.
So then the libs are (in the origiginal state and) as supposed to work and being tested.
Reply
#8

Hi t3gathome,

Maybe its not only the libraries... maybe there is also something wrong with installation...

This are first lines of compiler output from Mikeleone...

Code:
"C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include" "- ....


These are the ones I got:

Code:
"C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -g -Wall -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-LC:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/lib" " ....

Mikelone
My best suggestion, is to delete old installations, including Arduino IDE, and install it all again, this time putting the libraries on the place suggested on previous post.

Reply
#9

(08-07-2018, 22:04)Werk_AG Wrote:  Hi t3gathome,

Maybe its not only the libraries... maybe there is also something wrong with installation...

This are first lines of compiler output from Mikeleone...

Code:
"C:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\Users\Miguel\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/include" "- ....


These are the ones I got:

Code:
"C:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-gcc" -g -Wall -Os -nostdlib -Wl,--no-check-sections -u call_user_start -u _printf_float -u _scanf_float -Wl,-static "-LC:\Users\caneira\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.1/tools/sdk/lib" " ....

Mikelone
My best suggestion, is to delete old installations, including Arduino IDE, and install it all again, this time putting the libraries on the place suggested on previous post.

Tomorrow I start again from zero.
Good night and thank you.
M
Reply
#10

You are welcome.
Its important, that everything will compile fine.
I will be waiting for news.

Have a nice night.
Regards

Reply




Users browsing this thread: 1 Guest(s)