dannybackx / arduino-upnp

UPnP implementation for Arduino, and on ESP 8266
MIT License
42 stars 10 forks source link

smtp->GetErrorText() not found #1

Open torinnguyen opened 8 years ago

torinnguyen commented 8 years ago

I'm getting compile error at this line libraries/UPnP/AlarmService.cpp:281:75: error: 'class SmtpClient' has no member named 'GetErrorLine' Serial.printf("Error text %s, line %d\n", smtp->GetErrorText(), smtp->GetErrorLine()); ^ can you point me to which SmtpClient library are you using?

dannybackx commented 8 years ago

I used https://github.com/gregington/SMTPClient but I appear to have local changes. I'll upload these shortly.

Apologies for the mess.

torinnguyen commented 8 years ago

I managed to bypass this, but now facing compile error in many other libraries. can you upload your entire "libraries" folder. thanks.

dannybackx commented 8 years ago

I've just uploaded my current version of the smtpclient at https://github.com/dannybackx/arduino-smtpclient

dannybackx commented 8 years ago

Which errors ? I'd like to fix things for you and others.

torinnguyen commented 8 years ago

I got an error at this line, something like 'name' is not defined within this scope. I simply comment it out to make it work. https://github.com/dannybackx/arduino-upnp/blob/master/libraries/UPnP/BMP180SensorService.cpp#L149

Now, I'm facing errors with Timezone library http://take.ms/bNqk2

dannybackx commented 8 years ago

I just committed recent work in BMP180 which should fix the "name" problem but also cope with not having such a sensor.

I don't know what's causing the Timezone errors, the errors all refer to stuff defined in that library.

 Danny

On 06/26/2016 10:28 AM, Torin Nguyen wrote:

I got an error at this line, something like 'name' is not defined within this scope. I simply comment it out to make it work. https://github.com/dannybackx/arduino-upnp/blob/master/libraries/UPnP/BMP180SensorService.cpp#L149

Now, I'm facing errors with Timezone library http://take.ms/bNqk2

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dannybackx/arduino-upnp/issues/1#issuecomment-228590307, or mute the thread https://github.com/notifications/unsubscribe/AJ3PleuHuBLy2qqM_i34hGZtxA8_wUZ9ks5qPjgzgaJpZM4I-P6m.

Danny Backx - danny.backx@scarlet.be - http://danny.backx.info

torinnguyen commented 8 years ago

can you upload your Timezone library as well? I had to download it from the Internet and not sure if I use the correct library.

dannybackx commented 8 years ago

I see my mistake. I've merged two libraries in my local copy. Uploaded : https://github.com/dannybackx/timetimezone .

torinnguyen commented 8 years ago

So I deleted Time & Timezone libraries and replaced with your library. I got this error now http://take.ms/CKMJc

dannybackx commented 8 years ago

On 06/26/2016 11:59 AM, Torin Nguyen wrote:

So I deleted Time & Timezone libraries and replaced with your library. I got this error now http://take.ms/CKMJc

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dannybackx/arduino-upnp/issues/1#issuecomment-228593358, or mute the thread https://github.com/notifications/unsubscribe/AJ3PlRjBsEVITbcrK6DtSMPilYPeEKGMks5qPk18gaJpZM4I-P6m.

In my environment, that's in

.arduino15/packages/esp8266/tools/xtensa-lx106-elf-gcc/1.20.0-26-gb404fb9-2/xtensa-lx106-elf/include/time.h

Do you have something similar ?

 Danny

Danny Backx - danny.backx@scarlet.be - http://danny.backx.info