ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Embedded

cancel
Showing results for 
Search instead for 
Did you mean: 

Running Unix Console Application on X86 Linux Target

Hello,

I tried to build a linux console application. I followed this tutorial http://zone.ni.com/devzone/cda/tut/p/id/5412 and it worked fine.
The result was an executable that runs on my Windows-PC.
But how can I run the program on my Debian-Linux machine (X86)?

Greets Smithee
0 Kudos
Message 1 of 6
(8,063 Views)
Hi Smithee,

The application you built was compiled with gcc for Windows. To cross-compile for a Linux PC, you would have to create your own target that calls gcc for Linux. This involves modifying plug-in VIs and possibly updating some header files. The steps in the porting process are explained in this document: http://digital.ni.com/manuals.nsf/websearch/1DE04E4CE92B5D4186257309006E1BC2.
--
Michael P
National Instruments
0 Kudos
Message 2 of 6
(8,051 Views)

Hi,

I have the same problem.I want to know how to cross compile for Linux Pc in LabVIEW?

I have dowloaded cross tools for Linux.But it shows Header file errors.

Regards,

Indumathi

0 Kudos
Message 3 of 6
(7,306 Views)

Hi Indumathi,

 

What cross compiler are you using? Most cross compilers come with example programs, can you try compiling one of those?

 

Thanks, 

Senior Product Manager
National Instruments
0 Kudos
Message 4 of 6
(7,300 Views)

Hi,

I am using GCC tool chain.i compiled it as gcc-linux.

Its showing me header file errors or says "command not found" compiler error occured.

How to resolve this?

Regards,

Indumathi

 

0 Kudos
Message 5 of 6
(7,286 Views)

Hi,

Have anyone find solution to my problems.......

 

0 Kudos
Message 6 of 6
(7,267 Views)