I followed your short guide, but cannot compile the project.
[06/19/17 20:49:34] Processing esp01_1m (build_flags: -DMQTT_MAX_PACKET_SIZE=1500; lib_install: 89, 567, 64; platform: espressif8266; board: d1_mini;
framework: arduino; upload_port: com5; lib_deps: https://github.com/markszabo/IRremoteESP8266/archive/master.zip)
Detected non-PlatformIO `lib_install` option in `[env:]` section
Verbose mode can be enabled via `-v, --verbose` option
Collected 28 compatible libraries
Looking for dependencies...
Library Dependency Graph
|-- <IRremoteESP8266> v2.0.3
|-- <EEPROM> v1.0
|-- <DNSServer> v1.1.0
| |-- <ESP8266WiFi> v1.0
|-- <PubSubClient> v2.6
|-- <WifiManager> v0.12
| |-- <DNSServer> v1.1.0
| | |-- <ESP8266WiFi> v1.0
| |-- <ESP8266WiFi> v1.0
| |-- <ESP8266WebServer> v1.0
| | |-- <ESP8266WiFi> v1.0
|-- <ArduinoJson> v5.10.1
|-- <ESP8266httpUpdate> v1.1
| |-- <ESP8266HTTPClient> v1.1
| | |-- <ESP8266WiFi> v1.0
| |-- <ESP8266WiFi> v1.0
|-- <ESP8266WiFi> v1.0
|-- <ESP8266WebServer> v1.0
| |-- <ESP8266WiFi> v1.0
Compiling .pioenvs\esp01_1m\src\common.o
Compiling .pioenvs\esp01_1m\src\debug.o
Compiling .pioenvs\esp01_1m\src\globals.o
Compiling .pioenvs\esp01_1m\src\main.o
In file included from src\common.cpp:1:0:
src\globals.h:99:9: error: 'IRrecv' does not name a type
extern IRrecv irrecv;
^
src\globals.h:100:9: error: 'IRsend' does not name a type
extern IRsend irsend;
^
src\globals.h:114:22: error: variable or field 'getIrEncoding' declared void
void getIrEncoding (decode_results *results, char * result_encoding);
src\globals.h:114:22: error: 'decode_results' was not declared in this scope
src\globals.h:114:38: error: 'results' was not declared in this scope
void getIrEncoding (decode_results *results, char * result_encoding);
^
src\globals.h:114:47: error: expected primary-expression before 'char'
void getIrEncoding (decode_results *results, char * result_encoding);
^
src\common.cpp:139:22: error: variable or field 'getIrEncoding' declared void
void getIrEncoding (decode_results *results, char * result_encoding)
^
src\common.cpp:139:22: error: 'decode_results' was not declared in this scope
src\common.cpp:139:38: error: 'results' was not declared in this scope
void getIrEncoding (decode_results *results, char * result_encoding)
^
src\common.cpp:139:47: error: expected primary-expression before 'char'
void getIrEncoding (decode_results *results, char * result_encoding)
^
In file included from src\globals.cpp:1:0:
src\globals.h:99:9: error: 'IRrecv' does not name a type
extern IRrecv irrecv;
^
src\globals.h:100:9: error: 'IRsend' does not name a type
extern IRsend irsend;
^
src\globals.h:114:22: error: variable or field 'getIrEncoding' declared void
void getIrEncoding (decode_results *results, char * result_encoding);
^
src\globals.h:114:22: error: 'decode_results' was not declared in this scope
src\globals.h:114:38: error: 'results' was not declared in this scope
void getIrEncoding (decode_results *results, char * result_encoding);
^
src\globals.h:114:47: error: expected primary-expression before 'char'
void getIrEncoding (decode_results *results, char * result_encoding);
^
src\globals.cpp:41:1: error: 'IRrecv' does not name a type
IRrecv irrecv(RECV_PIN);
[..]
src\main.cpp:270:37: error: 'getIrEncoding' was not declared in this scope
getIrEncoding (&results, myTmp);
^
src\main.cpp:292:43: error: 'USECPERTICK' was not declared in this scope
myString+= (results.rawbuf[i] * USECPERTICK);
^
src\main.cpp:330:7: error: 'irsend' was not declared in this scope
irsend.sendRaw(rawIR1, rawIR1size, TRANSMITTER_FREQ);
^
src\main.cpp:346:7: error: 'irsend' was not declared in this scope
irsend.sendRaw(rawIR2, rawIR2size, TRANSMITTER_FREQ);
^
src\main.cpp:361:9: error: 'irsend' was not declared in this scope
irsend.sendRaw(rawIR2, rawIR2size, TRANSMITTER_FREQ);
^
src\main.cpp:377:9: error: 'irsend' was not declared in this scope
irsend.sendRaw(rawIR1, rawIR1size, TRANSMITTER_FREQ);
^
*** [.pioenvs\esp01_1m\src\common.o] Error 1
*** [.pioenvs\esp01_1m\src\debug.o] Error 1
*** [.pioenvs\esp01_1m\src\globals.o] Error 1
*** [.pioenvs\esp01_1m\src\main.o] Error 1
[ERROR] Took 1.60 seconds
I have no experiance with PlatformIO, yet
What am I doing wrong?