Cannot connect to Cayenne, Help me pls


#1

Arduino: 1.8.1 (Windows XP), Board: “Arduino/Genuino Uno”

collect2.exe: error: ld returned 5 exit status

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

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.


#2

Hi @teetat, welcome to the Cayenne Community.

Can I ask if you’re able to compile any sketch without error on that machine? Say, one of the example sketches from File > Examples > Built-In Examples in the Arduino IDE? I do not think this is a Cayenne issue so much as an issue with the Arduino IDE on Windows XP.

When I researched the error message it seems to be XP specific:

It looks like some users on the Arduino forum have had success with running their IDE in compatibility mode for Windows 98, as well as changing the compatibility mode settings for ld.exe to the same: See this thread: http://forum.arduino.cc/index.php?topic=310950.msg3013686#msg3013686

This page has a proposed fix too, though be careful with exectuables downloaded from 3rd party websites.