Radio example won´t compile

Hello,

i am using 1.8.2 and installed the radio library with the function of the programm itself. The lib is this one: http://www.mathertel.de/Arduino/RadioLibrary.aspx I open SerialRadio from the examples and try to compile it, but i get lot of different errors:

Arduino: 1.8.2 (Windows 10), Board: "Arduino/Genuino Uno"

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::RDA5807M()'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::RDA5807M()'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::_write16(unsigned int)'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::_saveRegisters()'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::term()'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::setBand(RADIO_BAND)'

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp.o (symbol from plugin):(.text+0x0): first defined here

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\libraries\Radio\RDA5807M.cpp.o (symbol from plugin): In function `RDA5807M::RDA5807M()':

(.text+0x0): multiple definition of `RDA5807M::_saveRegister(unsigned char)'
                                                             ^

C:\Users\USER\AppData\Local\Temp\arduino_build_726231\sketch\RDA5807M.cpp:215:12: note: 'r' was declared here

   uint16_t r;

            ^

collect2.exe: error: ld returned 1 exit status

Using library Wire at version 1.0 in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr\libraries\Wire 
Using library Radio at version 1.0.0 in folder: C:\Users\USER\Documents\Arduino\libraries\Radio 
exit status 1
Error compiling for board Arduino/Genuino Uno.

What is wrong?

The problem is likely to be in the code that was not posted.

Try restarting the Arduino IDE. Let us know if that fixes the problem.

The problem gets fixed, when you download the lib(s) and example(s) directly from the authors website: http://www.mathertel.de/Arduino/RadioLibrary.aspx

The ones that get automatically download by the arduino ide is broken.