From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

"Compilation error: exit status 1", unable to upload LIFA firmware to Arduino

Hello,

 

I am trying to run a VI made by a former colleague of mine, and I am unable to run the system due to an error with LIFA. When I run the VI in LabVIEW, I receive error code 5002 (which means that it could not find Arduino, or the Arduino lacks the correct firmware).

 

I tried to reflash the firmware by re-uploading LIFA_base.ino (which was on my colleague's GitHub), but uploading it produced the following error message:

 

C:\Users\***\AppData\Local\Temp\cctbTtye.ltrans0.ltrans.o: In function `setup':
C:\Users\***\Downloads\LIFA_Base/LIFA_Base.ino:39: undefined reference to `syncLV()'
C:\Users\***\AppData\Local\Temp\cctbTtye.ltrans0.ltrans.o: In function `loop':
C:\Users\***\Downloads\LIFA_Base/LIFA_Base.ino:59: undefined reference to `checkForCommand()'
collect2.exe: error: ld returned 1 exit status

exit status 1

Compilation error: exit status 1

 

Any suggestions? I am hoping this has a straightforward fix (especially since I was able to make the VI work in the past), because I'd rather not have to rewrite the entire VI using the Hobbyist toolkit. I know LIFA support ended a while ago but I'd first like to see if I can make this old program work.

 

0 Kudos
Message 1 of 1
(150 Views)