Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General - Installation #3

Closed
phillipmj opened this issue Jul 19, 2021 · 4 comments
Closed

General - Installation #3

phillipmj opened this issue Jul 19, 2021 · 4 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@phillipmj
Copy link

Hi,

I'am to this esp8266 programing, I do have a question how to get to compile right, are getting some errors when I open the project in VS. are there a list of dependencies needed to be installed along ?

Best regards
Phillip

@eg321
Copy link
Owner

eg321 commented Jul 25, 2021

Hi!
All dependencies should be resolved with Platformio (platformio.ini).

Can you provide details for your errors?

Thanks.

@eg321 eg321 self-assigned this Jul 25, 2021
@phillipmj
Copy link
Author

Hi,

This are the errors i got

best regadrs
Phillip

I downloaded the file via your "release tap".

Executing task in folder esp32-motorized-roller-blinds-1.4.2: C:\Users\Hiro.platformio\penv\Scripts\platformio.exe run --target upload <

Processing esp32 (platform: espressif32; board: esp32dev; framework: arduino)
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Verbose mode can be enabled via -v, --verbose option
CONFIGURATION: https://docs.platformio.org/page/boards/espressif32/esp32dev.html
PLATFORM: Espressif 32 (3.3.0) > Espressif ESP32 Dev Module
HARDWARE: ESP32 240MHz, 320KB RAM, 4MB Flash
DEBUG: Current (esp-prog) External (esp-prog, iot-bus-jtag, jlink, minimodule, olimex-arm-usb-ocd, olimex-arm-usb-ocd-h, olimex-arm-usb-tiny-h, olimex-jtag-tiny, tumpa)
PACKAGES:

  • framework-arduinoespressif32 3.10006.210326 (1.0.6)
  • tool-esptoolpy 1.30100.210531 (3.1.0)
  • tool-mkspiffs 2.230.0 (2.30)
  • tool-openocd-esp32 2.1000.20210401 (10.0)
  • toolchain-xtensa32 2.50200.97 (5.2.0)
    LDF: Library Dependency Finder -> http://bit.ly/configure-pio-ldf
    LDF Modes: Finder ~ chain, Compatibility ~ soft
    Found 31 compatible libraries
    Scanning dependencies...
    Dependency Graph
    |-- 3.8.0
    | |-- 1.1.0
    | | |-- 1.0
    | |-- 1.0
    | | |-- 1.0
    | |-- 1.0
    | | |-- 1.0
    | | |-- 1.0
    | |-- 1.0
    |-- 0.2.1
    |-- 5.13.4
    |-- 1.0
    |-- 1.0
    | |-- 1.0
    |-- 1.1.0
    | |-- 1.0
    |-- 1.0
    | |-- 1.0
    | |-- 1.0
    |-- 1.0
    |-- 1.0
    | |-- 1.0
    | |-- 1.0
    | |-- 1.0
    | | |-- 1.0
    Building in release mode
    Compiling .pio\build\esp32\src\NidayandHelper.cpp.o
    Compiling .pio\build\esp32\src\main.cpp.o
    Generating partitions .pio\build\esp32\partitions.bin
    Compiling .pio\build\esp32\lib216\WiFi\ETH.cpp.o
    Compiling .pio\build\esp32\lib216\WiFi\WiFi.cpp.o
    Compiling .pio\build\esp32\lib216\WiFi\WiFiAP.cpp.o
    Compiling .pio\build\esp32\lib216\WiFi\WiFiClient.cpp.o
    Compiling .pio\build\esp32\lib216\WiFi\WiFiGeneric.cpp.o
    Compiling .pio\build\esp32\lib216\WiFi\WiFiMulti.cpp.o
    src\main.cpp:15:30: fatal error: WebSocketsServer.h: No such file or directory


compilation terminated.
*** [.pio\build\esp32\src\main.cpp.o] Error 1
In file included from src\NidayandHelper.cpp:2:0:
src\NidayandHelper.h:9:26: fatal error: PubSubClient.h: No such file or directory



compilation terminated.
*** [.pio\build\esp32\src\NidayandHelper.cpp.o] Error 1
========================================================================== [FAILED] Took 5.93 seconds ==========================================================================

Environment Status Duration


esp32 FAILED 00:00:05.927
===================================================================== 1 failed, 0 succeeded in 00:00:05.927 =====================================================================The terminal process "C:\Users\Hiro.platformio\penv\Scripts\platformio.exe 'run', '--target', 'upload'" terminated with exit code: 1.

Terminal will be reused by tasks, press any key to close it.

@eg321
Copy link
Owner

eg321 commented Jul 26, 2021

Several dependencies were missed in platformio.ini. It's already fixed in upcoming release 2.0.
You can try it from "master". It's quite stable, but not documented well yet. It includes bunch of fixes and improvements. For example almost all configurations moved to WiFi captive portal (including steppers, pins, speed, etc).

Or you can apply changes from that commit: f1adf61

@eg321 eg321 added the bug Something isn't working label Jul 26, 2021
@eg321 eg321 added this to the 2.0 milestone Jul 26, 2021
@eg321
Copy link
Owner

eg321 commented Aug 1, 2021

2.0 is released today: https://github.com/eg321/esp32-motorized-roller-blinds/releases/tag/v2.0

Closing the issue. Feel free to reopen if still actually.

@eg321 eg321 closed this as completed Aug 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants