-
-
Notifications
You must be signed in to change notification settings - Fork 97
Compilation issue #69
Comments
I don't get that error. Can you try updating everything using |
I seem to have a basic issue, because I get this:
To manage libraries in global storage If I do.... |
Ahh I guess I know in which direction I have to search.... cannot open source file "OneWire.h ... bla bla |
Hmm... it compiles now.... for others... I did....
So probably the "I got pissed" part did the difference @proddy |
Hey all
The JSON error is now gone. Thanks for updating the code.
=> but now I hit following error:
error: expected unqualified-id before '(' token" #define max(a,b) ((a)>(b)?(a):(b))
What could I possibly have missed? Dr. Google stated that this might have to do with Arduino.h respectively it has to do with using max()?
=> Does anybody else have this issue? Or did I miss some libraries?
Before I start to alter the code, I want at least one time build / upload the firmware myself.
Verbose mode can be enabled via
-v, --verbose
optionCONFIGURATION: https://docs.platformio.org/page/boards/espressif8266/d1_mini.html
PLATFORM: Espressif 8266 > WEMOS D1 mini
HARDWARE: ESP8266 80MHz 80KB RAM (4MB Flash)
Converting ems-esp.ino
Library Dependency Finder -> http://bit.ly/configure-pio-ldf
LDF MODES: FINDER(chain) COMPATIBILITY(soft)
Collected 32 compatible libraries
Scanning dependencies...
Dependency Graph
|-- 2.0.0
|-- 1.3.0
|-- 2.0.2
| |-- 1.0
|-- 0.8.2
| |-- 1.2.0
| | |-- 1.0
|-- 6.9.1
|-- 2.3.4
|--
| |--
| | |-- 1.0
| |-- 0.8.2
| | |-- 1.2.0
| | | |-- 1.0
| |-- 1.0
| | |--
| | | |-- 1.0
| | |-- 1.0
| |-- 6.9.1
| |-- 1.2.0
| | |-- 1.0
| |-- 1.1.0
| | |-- 1.0
| |-- 2.0.2
| | |-- 1.0
|-- 1.0
Compiling .pioenvs\d1_mini\src\ems-esp.ino.cpp.o
Compiling .pioenvs\d1_mini\libb98\myESP\MyESP.cpp.o
In file included from C:\users\rrs.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/WiFiClient.h:25:0,
from C:\users\rrs.platformio\packages\framework-arduinoespressif8266\libraries\ESP8266WiFi\src/ESP8266WiFi.h:39,
from C:\users\rrs.platformio\packages\framework-arduinoespressif8266\libraries\ArduinoOTA/ArduinoOTA.h:4,
from lib\myESP\MyESP.h:15,
from lib\myESP\MyESP.cpp:9:
c:\users\rrs.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_vector.h: In member function 'std::vector<_Tp, _Alloc>::size_type std::vector<_Tp, _Alloc>::_M_check_len(std::vector<_Tp, _Alloc>::size_type, const char*) const':
C:\users\rrs.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:253:18: error: expected unqualified-id before '(' token
#define max(a,b) ((a)>(b)?(a):(b))
^
c:\users\rrs.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_bvector.h: In member function 'std::vector<bool, _Alloc>::size_type std::vector<bool,
_Alloc>::_M_check_len(std::vector<bool, _Alloc>::size_type, const char*) const':
C:\users\rrs.platformio\packages\framework-arduinoespressif8266\cores\esp8266/Arduino.h:253:18: error: expected unqualified-id before '(' token
#define max(a,b) ((a)>(b)?(a):(b))
^
*** [.pioenvs\d1_mini\libb98\myESP\MyESP.cpp.o] Error 1
============================================================================ [ERROR] Took 3.01 seconds ============================================================================
Der Terminalprozess wurde mit folgendem Exitcode beendet: 1
The text was updated successfully, but these errors were encountered: