Operating system: macOS 10.12.3
PlatformIO, version 3.2.1
Description of problem:
Can not build Arduino project because “fatal error: IPStack.h: No such file or directory”. Building with Arduino IDE works. PlatformIO does not seem to find the MQTT-Cleint (Paho) library (https://projects.eclipse.org/projects/technology.paho/downloads) which, like all others, is located in “~ / Documents / Arduino / libraries”.
The example code can be found here: https://github.com/odelot/aws-mqtt-websockets/blob/master/examples/aws-mqtt-websocket-example/aws-mqtt-websocket-example.ino
Here is the log:
[Mon Mar 27 13:02:52 2017] Processing huzzah (platform: espressif8266, board: huzzah, framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via -v, --verbose
option
Converting DuftsystemAWS-BMS.ino
Collected 43 compatible libraries
Looking for dependencies…
Library Dependency Graph
|-- v1.0
|--
| |--
| | |-- v1.0
| |-- v2.0.6
| | |-- v1.0
| | |-- v1.0
| | |-- <Ethernet(esp8266)> v1.0.4
| | | |-- v1.0
| | |-- v1.0
|-- v1.0
|--
| |-- v1.0
|-- v1.0
|-- v2.0.6
| |-- v1.0
| |-- v1.0
| |-- <Ethernet(esp8266)> v1.0.4
| | |-- v1.0
| |-- v1.0
Compiling .pioenvs/huzzah/src/DuftsystemAWS-BMS.ino.o
/…/DuftsystemAWS-BMS.ino:18:21: fatal error: IPStack.h: No such file or directory
#include <IPStack.h>
^
compilation terminated.
Compiling .pioenvs/huzzah/FrameworkArduino/Tone.o
Compiling .pioenvs/huzzah/FrameworkArduino/Updater.o
*** [.pioenvs/huzzah/src/DuftsystemAWS-BMS.ino.o] Error 1
Compiling .pioenvs/huzzah/FrameworkArduino/WMath.o
======================================================================================= [ERROR] Took 1.21 seconds =======================================================================================
Someone an idea?
Thank you very much.