sinricpro / esp8266-esp32-sdk

Library for https://sinric.pro - simple way to connect your device to Alexa, Google Home, SmartThings and cloud
https://sinric.pro
228 stars 121 forks source link

cant complile #255

Closed jaames777 closed 2 years ago

jaames777 commented 2 years ago

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Code_NodeMCU_Google_Alexa_SinricPro_4Relay_Switch:38:23: fatal error: SinricPro.h: No such file or directory

include "SinricPro.h"

                   ^

compilation terminated.

exit status 1

SinricPro.h: No such file or directory

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

i installed required libraries and drivers but still giving me errors pls help iam using esp8266 v3

kakopappa commented 2 years ago

Likely SinricPro library is not installed. Make sure SinricPro library and other dependencies are installed from Arduino Library Manager.

image

jaames777 commented 2 years ago

Likely SinricPro library is not installed. Make sure SinricPro library and other dependencies are installed from Arduino Library Manager.

image

thanks now worked

jaames777 commented 2 years ago

but at the end got error

Arduino: 1.8.19 (Windows Store 1.8.57.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Executable segment sizes:

IROM : 386124 - code in flash (default or ICACHE_FLASH_ATTR)

IRAM : 27508 / 32768 - code in IRAM (ICACHE_RAM_ATTR, ISRs...)

DATA : 1252 ) - initialized variables (global, static) in RAM/HEAP

RODATA : 2684 ) / 81920 - constants (global, static) in RAM/HEAP

BSS : 25768 ) - zeroed variables (global, static) in RAM/HEAP

Sketch uses 417568 bytes (39%) of program storage space. Maximum is 1044464 bytes.

Global variables use 29704 bytes (36%) of dynamic memory, leaving 52216 bytes for local variables. Maximum is 81920 bytes.

esptool.py v2.8

Serial port COM3

Connecting...

Traceback (most recent call last):

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 337, in command

self.write(pkt)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 300, in write

self._port.write(buf)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialwin32.py", line 323, in write

raise writeTimeoutError

serial.serialutil.SerialTimeoutException: Write timeout

During handling of the above exception, another exception occurred:

Traceback (most recent call last):

File "C:\Users\hp1\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in

esptool.main(cmdline)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main

esp.connect(args.before)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 475, in connect

last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 455, in _connect_attempt

self.sync()

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 394, in sync

timeout=SYNC_TIMEOUT)

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 358, in command

self._port.timeout = saved_timeout

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialutil.py", line 368, in timeout

self._reconfigure_port()

File "C:/Users/hp1/Documents/ArduinoData/packages/esp8266/hardware/esp8266/2.7.4/tools/pyserial\serial\serialwin32.py", line 222, in _reconfigure_port

'Original message: {!r}'.format(ctypes.WinError()))

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Access is denied.', None, 5)

serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'Access is denied.', None, 5)

This report would have more information with "Show verbose output during compilation" option enabled in File -> Preferences.

jaames777 commented 2 years ago

pls help

kakopappa commented 2 years ago

PermissionError(13, 'Access is denied.', None, 5) prob should run Arduino IDE as Administator

jaames777 commented 2 years ago

Big thanks boss for great support now all fine!