exit status 1

PEOPLE, you need to understand that "exit status 1" is the most generic possible error message, it just means that there was an error while compiling. I do appreciate that you searched for the correct thread to post instead of creating a duplicate thread but in this case it really isn't helpful to group them all together by that specific error message(you should be looking at the specific compiler error message).

Ruffnecks22:
C:\Program Files (x86)\Arduino\libraries\RobotIRremote\src\IRremoteTools.cpp:5:16: error: 'TKD2' was not declared in this scope

int RECV_PIN = TKD2; // the pin the IR receiver is connected to

^

exit status 1
Error compiling for board Arduino/Genuino Uno.

The problem is that the wrong IRremote library was included by the Arduino IDE. Try this:

  • Sketch > Include Library > Manage Libraries...
  • Type "IRremote" in the "Filter your search..." box.
  • Click on the "IRremote by shirriff" result.
  • Click "Install".
  • After the installation completes click "Close".
  • Try uploading or compiling your sketch again.

jetdriver55:
have now got the library files for this program in the weather transmitter folder and still got same problems.

Please describe the folder structure you're working with, either via text or screenshot from Windows Explorer.