Closed mattie47 closed 6 years ago
Did you change anything but the config file e.g the firmware file
@mattie47 There must be more debug output that gets printed when the compile fails. I need to know which variable it’s complaining about. I’m also assuming your wifi SSID doesn’t have a space in it in real life?
@marthoc I'll try again when I'm home from work re. more debug.
I’m also assuming your wifi SSID doesn’t have a space in it in real life?
It does. I did wonder if this may cause a problem..
Well the easy way to test is to remove the space and try again to compile. If it works, there’s your problem. I have to double check but I don’t think the ESP8266WiFi library supports SSIDs with spaces.
Any update on this @mattie47? I’m planning a new release in the next week or so and if this is actually a bug I’d like to squash it before then.
FWIW, it compiles fine for me a with a space in the SSID. Arduino IDE 1.8.5, esp8266 2.4.0
I couldn’t replicate either, that’s why I’d like the full compile output.
Hey,
Sorry- life’s been busy. I’ll make it a priority today to try again this evening and post all relevant information.
Thanks,
Matt
On 1/02/2018, at 8:08 AM, Mark Coombes notifications@github.com wrote:
I couldn’t replicate either, that’s why I’d like the full compile output.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.
Please see: https://pastebin.com/WJShtYNC
Removing the space in the ssid doesn't change the output.
Can you go into the Library Manager in Arduino IDE and tell me what version of PubSubClient you’re on? The call signatures and methods it’s complaining about are certainly in the version I developed against. Maybe you’re on an old version of PSC?
For an example, take one of the first problems it’s compaining of - that the code is trying to cast const char to const unsigned char in publish(); the current API docs clearly state that both topic and payload are const char and that retained is Boolean: https://pubsubclient.knolleary.net/api.html#publish2.
I just checked and I'm on PubSubClient 2.6, which according to GitHub is the latest release.
Ahhh - yes! This was my problem. I knew I had the PubSubClient installed, however having also had a look at https://github.com/OpenGarage/OpenGarage-Firmware I didn't realise the only version I had installed was https://github.com/Imroy/pubsubclient which was based on 1.99.1.
Having now also installed PubSubClient 2.6.0, GarHAge is now compiling :-)
Thanks!
Glad to hear it! Enjoy. :)
When I try to compile for esp8266, I get:
config.h:
Any idea on what I need to do to get this running? :-)