Stef-aap / RFLink-ESP

Home Assistant / Domoticz tested with a RFLink, modified for ESP8266 and ESP32
MIT License
108 stars 49 forks source link

Compilation error #7

Closed Azorefr closed 4 years ago

Azorefr commented 4 years ago

Hi tank you for the job. When i start compilation i have this issue. In file included from sketch\Sensor_RFLink.h:22:0,

             from sketch\Sensor_Receiver_2.h:692,

             from D:\ESP_RFlink\RFLink_ESP_02\RFLink_ESP_02.ino:68:

sketch\RFLink\RFLink_File.h:8:24: fatal error: FS_support.h: No such file or directory

include "FS_support.h"

compilation terminated. exit status 1 Erreur de compilation pour la carte NodeMCU 1.0 (ESP-12E Module) I use Arduino IDE1.8.12 on Windows 10 and D:\ESP_RFlink\RFLink_ESP_02\RFLink.h exist well

Best regards.

Stef-aap commented 4 years ago

hello,

ok this problem is caused by a different directory structure I'm using . The solution is simple, (because FS_Support.h is already included) you can skip (comment) line 8 in RF_Link_File.h

I'll upload this correction in a few minutes.

cheers, Stef

On 2020-04-22 09:55, Azorefr wrote:

Hi tank you for the job. When i start compilation i have this issue. In file included from sketch\Sensor_RFLink.h:22:0,

|from sketch\Sensor_Receiver_2.h:692, from D:\ESP_RFlink\RFLink_ESP_02\RFLink_ESP_02.ino:68: |

sketch\RFLink\RFLink_File.h:8:24: fatal error: FS_support.h: No such file or directory

include "FS_support.h"

compilation terminated. exit status 1 Erreur de compilation pour la carte NodeMCU 1.0 (ESP-12E Module) I use Arduino IDE1.8.12 on Windows 10 and D:\ESP_RFlink\RFLink_ESP_02\RFLink.h exist well

Best regards.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Stef-aap/RFLink-ESP/issues/7, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZRPLLRJXMJCDNDLPQSCM3RN2PH3ANCNFSM4MN5W5VQ.

Maikel-K commented 4 years ago

Hi Stef,

I just downloaded the file and im trying to compile. I selected RFLink_ESP_02.ino in Arduino IDE and the first error it gave me it was that the sketch needed to be in folder: RFLink_ESP_02, so i changed the name of the folder to contain _02. This fixed that. Then i compiled and it gave the following error:

In file included from sketch\Receiver_Telnet.h:6:0,

             from sketch\Sensor_Receiver_2.h:201,

             from C:\Users\xxxxx\Downloads\RFLink-ESP-master\RFLink-ESP-master\RFLink_ESP_02\RFLink_ESP_02.ino:68:

Receiver_Base.h:10:25: fatal error: ArduinoJson.h: No such file or directory

include

                     ^

compilation terminated.

exit status 1 ArduinoJson.h: No such file or directory

Maikel-K commented 4 years ago

Nevermind, had to add the ArduinoJson library to Arduino IDE and i had to update the ESP8266 board manager. Upload succeeded.

I found RFLink_ESP hotspot. I connected. I recieved IP 192.168.6.85 and connected to http://192.168.6.84/

I got a MiRa sensor page. But no ESPeasy style webpage. Is that correct?

Azorefr commented 4 years ago

now the compilation is done well. Thank you. There remains only to test!

Stef-aap commented 4 years ago

yes that's on the ToDo list: include a list of libraries used (and their version number), but unfortunatly this is not easy in Arduino)

On 2020-04-24 09:26, Maikel-K wrote:

Hi Stef,

I just downloaded the file and im trying to compile. I selected RFLink_ESP_02.ino in Arduino IDE and the first error it gave me it was that the sketch needed to be in folder: RFLink_ESP_02, so i changed the name of the folder to contain _02. This fixed that. Then i compiled and it gave the following error:

In file included from sketch\Receiver_Telnet.h:6:0,

from sketch\Sensor_Receiver_2.h:201, from C:\Users\xxxxx\Downloads\RFLink-ESP-master\RFLink-ESP-master\RFLink_ESP_02\RFLink_ESP_02.ino:68:

Receiver_Base.h:10:25: fatal error: ArduinoJson.h: No such file or directory

include

|^ |

compilation terminated.

exit status 1 ArduinoJson.h: No such file or directory

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Stef-aap/RFLink-ESP/issues/7#issuecomment-618850880, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZRPLPUWANFPBGTB76AQYTROE5IVANCNFSM4MN5W5VQ.