04-02-2012 11:52 AM
I am trying to use the LVIFA_base example, but during the compilation I get the following errors:
LVIFA_Base.cpp.o: In function `loop':
LVIFA_Base.cpp:62: undefined reference to `checkForCommand()'
LVIFA_Base.cpp:68: undefined reference to `sampleContinously()'
LVIFA_Base.cpp.o: In function `setup':
LVIFA_Base.cpp:42: undefined reference to `syncLV()'
all the needed files are as downloaded from NI site.
May be I have to setup sorting before the compilation...
Some suggestions ?
04-03-2012 12:15 PM
It looks like it is unable to find the Arduino API libraries. Can you compile an example that comes with the Arduino IDE?
-Sam K
04-04-2012 08:27 AM
Do you have the LabVIEW interface.pde and LabVIEW Interface.h files? It looks like those are out of context for the IDE -maybe you just have LVIFA_Base open.
04-02-2013 05:02 PM
I have the same problem. There are no other copies of the Arduino compiler open if that's what you mean. LVIFA_Base.ico is of course open in the Arduino compiler. The undefined references are to functions in the LabVIEWInterface.h file in the last tab. I can't imagine how it can't see that file if it's open in the same compiler instance.
02-21-2014 03:34 PM
Hi giubio, did you solve the problem and how? I have same problem now. Any suggestions? Thanks.
03-18-2014 01:56 AM
try opening the Labviewinterface.ino also in the same sketch in a new tab. This solves the compilation issues.
all the best!
04-10-2014 04:30 AM
I also had a compile problem. I just had to upgrade my arduino software to 1.0.5