Report Bugs Here

Moderator: Mmiscool

User avatar
By trackerj
#67090 A fresh new error list:

Code: Select allArduino: 1.6.5 (Windows 7), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 115200, 4M (3M SPIFFS)"

In file included from D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.h:27:0,
                 from D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.h:28,
                 from D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\ESP8266WiFi\src/ESP8266WiFi.h:34,
                 from D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\WebSockets\src/WebSockets.h:74,
                 from D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\WebSockets\src/WebSocketsServer.h:29,
                 from ESP8266Basic.ino:45:
d:\kits\esp8266_arduino_ide\arduino-1.6.5-r5-espbasic\arduino-1.6.5-r5\portable\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\functional:48:28: fatal error: bits/c++config.h: No such file or directory
 #include <bits/c++config.h>
                            ^
compilation terminated.
Multiple libraries were found for "WebSocketsServer.h"

 Used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\WebSockets

 Not used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\arduinoWebSockets

Multiple libraries were found for "Servo.h"

 Used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo

 Not used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\libraries\Servo

Multiple libraries were found for "OneWire.h"

 Used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\OneWire

 Not used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_OneWire

Multiple libraries were found for "DallasTemperature.h"

 Used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_DallasTemp

 Not used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\dallas-temperature-control

Multiple libraries were found for "SoftwareSerial.h"

 Used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\sketchbook\libraries\espsoftwareserial

 Not used: D:\KITS\ESP8266_Arduino_IDE\arduino-1.6.5-r5-ESPBASIC\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\SoftwareSerial

Error compiling.

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.


Setup env : new Arduino 1.6.5-r5 portable install + ESP8266 2.3.0, ESPBasic source copied in the portable sketchbook folder, libraries in the portable libraries folder.
User avatar
By trackerj
#67091 OK, mistery solved. It is related in my case with....pathname!

I've deleted Arduino, installed again in portable mode but using root directory (d:\).

A long list of warnings but it seems to compile. We might have seen the light people! :)

Happy breadboarding,
TJ.

compile result below:
Code: Select all

Multiple libraries were found for "WebSocketsServer.h"
 Used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\WebSockets
 Not used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\arduinoWebSockets
Multiple libraries were found for "Servo.h"
 Used: D:\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\Servo
 Not used: D:\arduino-1.6.5-r5\libraries\Servo
Multiple libraries were found for "OneWire.h"
 Used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\OneWire
 Not used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_OneWire
Multiple libraries were found for "DallasTemperature.h"
 Used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\MAX31850_DallasTemp
 Not used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\dallas-temperature-control
Multiple libraries were found for "SoftwareSerial.h"
 Used: D:\arduino-1.6.5-r5\portable\sketchbook\libraries\espsoftwareserial
 Not used: D:\arduino-1.6.5-r5\portable\packages\esp8266\hardware\esp8266\2.3.0\libraries\SoftwareSerial

Sketch uses 434,031 bytes (41%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 46,792 bytes (57%) of dynamic memory, leaving 35,128 bytes for local variables. Maximum is 81,920 bytes.
User avatar
By trackerj
#67092 Compiled & uploaded on a NextEVOv2 ESP8266 board :

Code: Select allSketch uses 434,031 bytes (41%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 46,792 bytes (57%) of dynamic memory, leaving 35,128 bytes for local variables. Maximum is 81,920 bytes.
Uploading 438176 bytes from C:\Users\TJ\AppData\Local\Temp\build5024897663333398925.tmp/ESP8266Basic.cpp.bin to flash at 0x00000000
................................................................................ [ 18% ]
................................................................................ [ 37% ]
................................................................................ [ 56% ]
................................................................................ [ 74% ]
................................................................................ [ 93% ]
............................                                                     [ 100% ]



Please keep in mind that the nEXTEVOv2 Board has autoreset capabilities for automatically firmware upload.
If your ESP8266 board doesn't have this function, you need to put your ESP8266 in the programming mode before uploading firmware using the programming button as in case of nEXTEVO v1 or use a USBProgrammer as USBProvg8.4 that has it.

So far new compilted firmware upload looks OK, running basic blink example ok. I mean is compiled and uploaded OK, the ugly bug is still there.
User avatar
By bugs
#67108 Glad you made some progress.
Using the same files as you, I get the same size binary file 438,176 bytes.
This size does not agree with any of the binaries in the espbasic unzipped file in the flasher\build sub directories. The nearest would be 438,240 in the 512k and 1M directories. So presumably something has to be changed to get a 2M or 4M build.

Fo interest I quickly tried Arduino 1.8.3 but the error list stopped that short.
Code: Select allClasses.h:275: error: 'PrintAndWebOut' was not declared in this scope
Classes.h:385: error: 'VarialbeLookup' was not declared in this scope
Classes.h:412: error: 'SetMeThatVar' was not declared in this scope
Classes.h:456: error: 'evaluate' was not declared in this scope


I think sticking to 1.6.5 is best...