LabVIEW Interface for Arduino Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to compile/upload LIFA_Base on Arduino Due and Mega 2560

Hello, I am using Arduino Due and Mega 2560 for school project and have a problem connectnig arduinos with LabVIEW(2010). I have downloaded and succenfully installed the toolkit, but LIFA_Base keeps giving error when I upload it. I restarted the computer after installing the package. I am using Window XP, the LabVIEW interface for Arduino version is 2.2.0.79 and Arduino IDE version is 1.5.4-r2 for windows.The file is located in C:\Program Files\National Instruments\LabVIEW 2010\vi.lib\LabVIEW Interface for Arduino\Firmware\LIFA_Base

For the Due, I got the following error:

Arduino: 1.5.4 (Windows XP), Board: "Arduino Due (Programming Port)"

AFMotor.cpp:6: fatal error: avr/io.h: No such file or directory

compilation terminated.

I removed all files except LIFA_Base and LabVIEWInterface files from LIFA_Base folder, tried to upload again and it gives the following error:

Arduino: 1.5.4 (Windows XP), Board: "Arduino Due (Programming Port)"

In file included from LabVIEWInterface.ino:34:

C:\Documents and Settings\testing\My Documents\Arduino\libraries\LVIFA_Base/AFMotor.h:9: fatal error: avr/io.h: No such file or directory

compilation terminated.

I tried with the Mega 2560 and it gives the following error:

Arduino: 1.5.4 (Windows XP), Board: "Arduino Mega 2560 or Mega ADK"

C:\Program Files\Arduino\libraries\RobotIRremote\IRremoteTools.cpp:5: error: 'TKD2' was not declared in this scope

Can anyone help me out?

Thanks.

0 Kudos
Message 1 of 1
(4,175 Views)