Problems compiling on Arduino ...

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
femuruy
Normal user
Posts: 11
Joined: 22 Jul 2017, 22:24

Problems compiling on Arduino ...

#1 Post by femuruy » 28 Aug 2017, 12:27

Hi guys, i am trying to compile a version of R120 on Arduino, tried it on 2 machines, one with a fresh arduino install and one with an existing one and get the same error...

On trying to compile i get:
_P016_IR:6: error: 'IRrecv' does not name a type
refered to _P016_IR.ino 2nd line:

Code: Select all

IRrecv *irReceiver;
Any ideas? IRremoteESP8266.h is installed as a lib ...

Thank you in advance!!!

papperone
Normal user
Posts: 497
Joined: 04 Oct 2016, 23:16

Re: Problems compiling on Arduino ...

#2 Post by papperone » 29 Aug 2017, 15:48

As far as I remember R120 requires an outdated version of the IR library; using a newer one will lead to compiler error as you are experiencing...

EDIT: just verified and indeed 120/148 compiles with IRLib 1.0.0, while 2.0.0 requires IRLib 1.2.0
My TINDIE Store where you can find all ESP8266 boards I manufacture --> https://www.tindie.com/stores/GiovanniCas/
My Wiki Project page with self-made PCB/devices --> https://www.letscontrolit.com/wiki/inde ... :Papperone

femuruy
Normal user
Posts: 11
Joined: 22 Jul 2017, 22:24

Re: Problems compiling on Arduino ...

#3 Post by femuruy » 29 Aug 2017, 17:07

Brilliant! that did the trick, had to downgrade to lowest version available on Arduino IDE (1.1.1)
Thanks :)

hugo11
Normal user
Posts: 17
Joined: 08 Nov 2016, 20:30

Re: Problems compiling on Arduino ...

#4 Post by hugo11 » 04 Mar 2018, 15:37

Thanks a lot for the help, spent last few figuring out what's wrong :)

jordantheripper
New user
Posts: 2
Joined: 10 Sep 2018, 10:43

Re: Problems compiling on Arduino ...

#5 Post by jordantheripper » 10 Sep 2018, 10:51

Hi people. nice to meet you.
I'm triyng to compile espeasy.ino with p115.ino but I found all the time this error : "IRrecv *irReceiver;"
Me too use R120 and ARDUINO IDE 1.8.6. more I copied libreries from R120 zip file and I copied into dir arduino libreries.
I don't understand the way you solved....

papperone wrote: 29 Aug 2017, 15:48 As far as I remember R120 requires an outdated version of the IR library; using a newer one will lead to compiler error as you are experiencing...

EDIT: just verified and indeed 120/148 compiles with IRLib 1.0.0, while 2.0.0 requires IRLib 1.2.0
can you please explain what libreries I have to download and what I have to replace?
Thanks in advance
Wait for reply....
bye bye

Post Reply

Who is online

Users browsing this forum: No registered users and 58 guests