xoseperez / espurna

Home automation firmware for ESP8266-based devices
http://tinkerman.cat
GNU General Public License v3.0
3k stars 638 forks source link

Error with compiling #388

Closed xoseperez closed 6 years ago

xoseperez commented 6 years ago

Originally reported by: Danilo Daloiso (Bitbucket: Danny89530, GitHub: Danny89530)


Hi, I'm in trouble with compiling: after download of all the libraries, it fails for a dependency error with AsyncTCP and FauxmoESP.

I've tried removing .pioenvs and .piolibdeps folders with no success. I'm on Mac, Platform.IO 3.5.1a5.

#!arduino

Error: 
[Wed Jan 10 22:41:29 2018] Processing aithinker-ai-light (extra_scripts: extra_scripts.py; framework: arduino; lib_deps: https://github.com/xoseperez/Time, ArduinoJson, https://github.com/me-no-dev/ESPAsyncTCP#a57560d, https://github.com/me-no-dev/ESPAsyncWebServer#313f337, https://github.com/marvinroger/async-mqtt-client#v0.8.1, PubSubClient, Embedis, NtpClientLib, OneWire, Brzo I2C, https://github.com/krosk93/espsoftwareserial#a770677, SparkFun BME280, PMS Library, https://bitbucket.org/xoseperez/justwifi.git#1.1.4, https://bitbucket.org/xoseperez/hlw8012.git#1.1.0, https://bitbucket.org/xoseperez/fauxmoesp.git#2.4.0, https://bitbucket.org/xoseperez/nofuss.git#0.2.5, https://bitbucket.org/xoseperez/debounceevent.git#2.0.1, https://github.com/xoseperez/my92xx#3.0.0, https://github.com/xoseperez/RemoteSwitch-arduino-library.git, https://github.com/markszabo/IRremoteESP8266#v2.2.0; build_flags: -g -DMQTT_MAX_PACKET_SIZE=400  -Wl,-Tesp8266.flash.1m0.ld -DAITHINKER_AI_LIGHT; lib_ignore: ; platform: https://github.com/platformio/platform-espressif8266.git#v1.5.0; board: esp01_1m; monitor_baud: 115200; board_flash_mode: dout)
--------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
Converting espurna.ino
Collected 45 compatible libraries
Scanning dependencies...
Error: Could not find `AsyncTCP` dependency for `FauxmoESP` library
========================== [ERROR] Took 1.29 seconds ==========================
================================== [SUMMARY] ==================================
Environment espurna-core                        [SKIP]
Environment wemos-d1mini-relayshield            [SKIP]
Environment wemos-d1mini-relayshield-ssl        [SKIP]
Environment wemos-d1mini-relayshield-ota        [SKIP]
Environment nodemcu-lolin                       [SKIP]
Environment nodemcu-lolin-ssl                   [SKIP]
Environment nodemcu-lolin-ota                   [SKIP]
Environment tinkerman-espurna-h06               [SKIP]
Environment tinkerman-espurna-h06-ota           [SKIP]
Environment tinkerman-espurna-h08               [SKIP]
Environment tinkerman-espurna-h08-ota           [SKIP]
Environment itead-sonoff-basic                  [SKIP]
Environment itead-sonoff-basic-ota              [SKIP]
Environment itead-sonoff-basic-dht              [SKIP]
Environment itead-sonoff-basic-dht-ota          [SKIP]
Environment itead-sonoff-basic-dallas           [SKIP]
Environment itead-sonoff-rf                     [SKIP]
Environment itead-sonoff-rf-ota                 [SKIP]
Environment itead-sonoff-th                     [SKIP]
Environment itead-sonoff-th-ota                 [SKIP]
Environment itead-sonoff-pow                    [SKIP]
Environment itead-sonoff-pow-ota                [SKIP]
Environment itead-sonoff-dual                   [SKIP]
Environment itead-sonoff-dual-ota               [SKIP]
Environment itead-sonoff-dual-r2                [SKIP]
Environment itead-sonoff-dual-ota-r2            [SKIP]
Environment itead-sonoff-4ch                    [SKIP]
Environment itead-sonoff-4ch-ota                [SKIP]
Environment itead-sonoff-4ch-pro                [SKIP]
Environment itead-sonoff-4ch-pro-ota            [SKIP]
Environment itead-sonoff-touch                  [SKIP]
Environment itead-sonoff-touch-ota              [SKIP]
Environment itead-sonoff-b1                     [SKIP]
Environment itead-sonoff-b1-ota                 [SKIP]
Environment itead-sonoff-t1-1ch                 [SKIP]
Environment itead-sonoff-t1-1ch-ota             [SKIP]
Environment itead-sonoff-t1-2ch                 [SKIP]
Environment itead-sonoff-t1-2ch-ota             [SKIP]
Environment itead-sonoff-t1-3ch                 [SKIP]
Environment itead-sonoff-t1-3ch-ota             [SKIP]
Environment itead-sonoff-led                    [SKIP]
Environment itead-sonoff-led-ota                [SKIP]
Environment itead-sonoff-rfbridge               [SKIP]
Environment itead-sonoff-rfbridge-ota           [SKIP]
Environment itead-slampher                      [SKIP]
Environment itead-slampher-ota                  [SKIP]
Environment itead-s20                           [SKIP]
Environment itead-s20-ota                       [SKIP]
Environment itead-1ch-inching                   [SKIP]
Environment itead-1ch-inching-ota               [SKIP]
Environment itead-motor                         [SKIP]
Environment itead-motor-ota                     [SKIP]
Environment electrodragon-wifi-iot              [SKIP]
Environment electrodragon-wifi-iot-ota          [SKIP]
Environment workchoice-ecoplug                  [SKIP]
Environment workchoice-ecoplug-ota              [SKIP]
Environment jangoe-wifi-relay                   [SKIP]
Environment jangoe-wifi-relay-ota               [SKIP]
Environment openenergymonitor-mqtt-relay        [SKIP]
Environment openenergymonitor-mqtt-relay-ota    [SKIP]
Environment jorgegarcia-wifi-relays             [SKIP]
Environment jorgegarcia-wifi-relays-ota         [SKIP]
Environment aithinker-ai-light                  [ERROR]
Environment aithinker-ai-light-ota              [SKIP]
Environment magichome-led-controller            [SKIP]
Environment magichome-led-controller-ota        [SKIP]
Environment magichome-led-controller-20         [SKIP]
Environment magichome-led-controller-20-ota     [SKIP]
Environment huacanxing-h801                     [SKIP]
Environment huacanxing-h801-ota                 [SKIP]
Environment huacanxing-h802                     [SKIP]
Environment huacanxing-h802-ota                 [SKIP]
Environment arilux-al-lc01                      [SKIP]
Environment arilux-al-lc01-ota                  [SKIP]
Environment arilux-al-lc02                      [SKIP]
Environment arilux-al-lc02-ota                  [SKIP]
Environment arilux-al-lc06                      [SKIP]
Environment arilux-al-lc06-ota                  [SKIP]
Environment arilux-al-lc11                      [SKIP]
Environment arilux-al-lc11-ota                  [SKIP]
Environment arilux-e27                          [SKIP]
Environment arilux-e27-ota                      [SKIP]
Environment itead-bnsz01                        [SKIP]
Environment itead-bnsz01-ota                    [SKIP]
Environment wion-50055                          [SKIP]
Environment wion-50055-ota                      [SKIP]
Environment exs-wifi-relay-v31                  [SKIP]
Environment exs-wifi-relay-v31-ota              [SKIP]
Environment wemos-v9261f                        [SKIP]
Environment wemos-v9261f-ota                    [SKIP]
Environment esp01-v9261f                        [SKIP]
Environment esp01-v9261f-ota                    [SKIP]
Environment wemos-ech1560                       [SKIP]
Environment wemos-ech1560-ota                   [SKIP]
Environment esp01-ech1560                       [SKIP]
Environment esp01-ech1560-ota                   [SKIP]
Environment mancavemade-esplive                 [SKIP]
Environment mancavemade-esplive-ota             [SKIP]
Environment intermittech-quinled                [SKIP]
Environment intermittech-quinled-ota            [SKIP]
Environment xenon-sm-pw702u                     [SKIP]
Environment xenon-sm-pw702u-ota                 [SKIP]
Environment authometion-lyt8266                 [SKIP]
Environment authometion-lyt8266-ota             [SKIP]
Environment yjzk-switch-2ch                     [SKIP]
Environment yjzk-switch-2ch-ota                 [SKIP]
Environment generic-8ch                         [SKIP]
Environment esp8266-1m-ota                      [SKIP]
Environment esp8266-4m-ota                      [SKIP]
========================== [ERROR] Took 1.30 seconds ==========================
Report a problem

One more thing: On build.sh add the install of the through2 package via npm install through2

xoseperez commented 6 years ago

Issue #393 was marked as a duplicate of this issue.

xoseperez commented 6 years ago

Removing milestone: 1.12.0 (automated comment)

xoseperez commented 6 years ago

Released with 1.12.0

xoseperez commented 6 years ago

Issue #390 was marked as a duplicate of this issue.

xoseperez commented 6 years ago

Original comment by Danilo Daloiso (Bitbucket: Danny89530, GitHub: Danny89530):


Thanks for the workaround, the compiling process ends successfully now.

xoseperez commented 6 years ago

Edit .piolibdeps/FauxmoESP/library.json and remove the dependency. This is a bug in the latest FauxmoESP with PlatformIO. Apparently, PlatformIO complains that this library is not suitable for the platform (the AsyncTCP library is for the ESP32 platform).