Compile error

Hi. I need a help. I'm trying to do a weather station with display and sending informations to thingspeak.com. But oled and wifi libraries don't work togetheb. When I start compile I get this error:

If you want the part with error it's here:

Thanks for help. I'm using Wemos D1 mini. I'm from Czech Republic, so sorry for my english.

Hi, welcome to the forum, please read this first:
How to use this forum

Don't link to your code, post it, using [code][/code] tags, and post all of it.

I've successfully used this library with my WeMos D1 mini: GitHub - ThingPulse/esp8266-oled-ssd1306: Driver for the SSD1306 and SH1106 based 128x64, 128x32, 64x48 pixel OLED display running on ESP8266/ESP32.

The library you're using was probably written for the AVR architecture, not for Xtensa.
But I can't really say anything else without guessing, since you didn't tell us what OLED display you have, and what library you're using, etc.

Pieter

I'm using Wemos oled shield. Libraries are: Arduino_D1-master and SparkFun_Micro_OLED_Arduino_Library-master. I'm here for first time. Next time I'll do it like you've told me. Thanks.

Hi,
Welcome to the forum.

Did you get your problem fixed?

Tom... :slight_smile:

Problem is not fixed. I meant I'll make the contribution like he's told. I was trying to do it like it, but it told me, that's too long to write it into contribution.

jiriks74:
Problem is not fixed. I meant I'll make the contribution like he's told. I was trying to do it like it, but it told me, that's too long to write it into contribution.

  1. You can add attachments

If your code is too long to fit into a post, or you have multiple files (eg. code and libraries), or you want to show an image, click on the Additional Options button:
Then you can browse your hard disk for the image, code, schematic, photo, that you want to attach.

Ok. So here's pictures of code and error. error code is wery long, so here's just one part, but it repeats.

Ok. Very, Very sorry for this. Here it is.

sketch_aug18a.ino.ino (1.79 KB)

For such tiny amounts of code, posting is preferred, particularly for those of us on mobile devices.

Have you tried the library I linked to in reply #1?

Yes, I have tried.