avdweb_Switch icon indicating copy to clipboard operation
avdweb_Switch copied to clipboard

Error compiling for board Generic ESP8266 Module.

Open GeoffState opened this issue 4 years ago • 9 comments

Environment created from scratch. USB pen on Windows 10. arduino-1.8.12 extracted from zip download. Create portable folder in arduino.exe folder. Add https://arduino.esp8266.com/stable/package_esp8266com_index.json to preferences. Install ESP8266 Community v 2.6.3. Extract library from zip to F:\arduino-1.8.12\portable\sketchbook\libraries\avdweb_Switch. Load SwitchCallbackExample.ino. Compiles OK for Arduino Uno. Throws error when Board is set to Generic ESP8266 Module. Please also rename your "Examples" folder to "examples" so Arduino IDE adds it correctly to File/Examples menu.

GeoffState avatar Apr 10 '20 05:04 GeoffState

Dear Geoff Can you modify my project on GitHub for me?

avandalen avatar Apr 10 '20 09:04 avandalen

@GeoffState Could you show explicitly which is the error that occurs? I have 2.6.3 in an older (1.8.9) Arduino IDE in Linux and both examples compile without errors for the "Generic ESP8266 Module". Can you try installing the library from the Libraries Manager? (should not be different). Could you try the same thing in a live Linux distro, to isolate whether it is a Windows problem?

Martin-Laclaustra avatar Apr 25 '20 01:04 Martin-Laclaustra

Dear Geoff Can you modify my project on GitHub for me?

Sorry for long delay. Yes I could do that. I will create a pull request.

GeoffState avatar May 11 '20 23:05 GeoffState

@GeoffState Could you show explicitly which is the error that occurs? I have 2.6.3 in an older (1.8.9) Arduino IDE in Linux and both examples compile without errors for the "Generic ESP8266 Module". Can you try installing the library from the Libraries Manager? (should not be different). Could you try the same thing in a live Linux distro, to isolate whether it is a Windows problem?

I will look at these.

GeoffState avatar May 11 '20 23:05 GeoffState

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

avandalen avatar May 12 '20 06:05 avandalen

Thanks Albert

Try this https://github.com/avandalen/avdweb_Switch/settings/access with GeoffState as collaborator

Best Regards Geoff

On Tue, May 12, 2020 at 6:21 PM Albert van Dalen [email protected] wrote:

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avandalen/avdweb_Switch/issues/12#issuecomment-627135241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJDHO74GK3CZ6N4I43TLRRDTEZANCNFSM4MFHKK2A .

GeoffState avatar May 12 '20 22:05 GeoffState

I have done that now https://github.com/avandalen/avdweb_Switch/settings/access

From: Geoff Sent: Wednesday, May 13, 2020 12:06 AM To: avandalen/avdweb_Switch Cc: Albert van Dalen ; Comment Subject: Re: [avandalen/avdweb_Switch] Error compiling for board Generic ESP8266 Module. (#12)

Thanks Albert

Try this https://github.com/avandalen/avdweb_Switch/settings/access with GeoffState as collaborator

Best Regards Geoff

On Tue, May 12, 2020 at 6:21 PM Albert van Dalen [email protected] wrote:

I will give you the permission to edit the switch library at your own. Please tell me what I have to do ..

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/avandalen/avdweb_Switch/issues/12#issuecomment-627135241, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3QJDHO74GK3CZ6N4I43TLRRDTEZANCNFSM4MFHKK2A .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

avandalen avatar May 13 '20 06:05 avandalen

Did anyone figure this out, yet? Compilation error still exists, see also #14

pReya avatar Nov 14 '20 14:11 pReya

Just as a note, this issue should be closed as the library now compiles just fine on the Generic ESP8266 Module.

nomakewan avatar Jul 21 '24 07:07 nomakewan

Please update to the latest release. This issue has been resolved already.

boseji avatar Aug 18 '24 03:08 boseji