When you use C/C++ Development Tools for NI Linux Real-Time to build your application, you might receive an error message similar to the following: Program "arm-none-linux-gnueabi-g++" not found in PATH Program "arm-none-linux-gnueabi-gcc" not found in PATH.

This error occurs because an installed example contains a path to the C++ cross-compiler toolchain that does not match what is installed on your development system.

In order to build your application, you must first correct the compiler path in the project properties. Complete the following steps to view and change the path setting in C/C++ Development Tools for NI Linux Real-Time:

  1. Select Project»Properties.
  2. Select C++ Build»Settings.
  3. Click Cross Settings on the Tool Settings tab.
  4. Change the compiler path to one of the paths listed in the following table, depending on the following factors:
    C/C++ Development Tools for NI Linux Real-Time Version Windows Bitness Processor Architecture[1]1 Use arm for CompactRIO controllers that have ARM-based processors, such as the cRIO-906x. Use x64 for CompactRIO controllers that have x86_64-based processors, such as the cRIO-903x.[2]2 You can determine the processor architecture of an NI Linux Real-Time controller by running uname -a from an interactive shell. Path
    2014 32-bit arm C:\Program Files\National Instruments\Eclipse\14.0\arm\sysroots\i686-nilrtsdk-mingw32\usr\bin\armv7a-vfp-neon-nilrt-linux-gnueabi
    2014 32-bit x64 C:\Program Files\National Instruments\Eclipse\14.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\bin\x86_64-nilrt-linux
    2014 64-bit arm C:\Program Files (x86)\National Instruments\Eclipse\14.0\arm\sysroots\i686-nilrtsdk-mingw32\usr\bin\armv7a-vfp-neon-nilrt-linux-gnueabi
    2014 64-bit x64 C:\Program Files (x86)\National Instruments\Eclipse\14.0\x64\sysroots\i686-nilrtsdk-mingw32\usr\bin\x86_64-nilrt-linux
    2013 32-bit arm C:\Program Files\National Instruments\Eclipse\toolchain\gcc-4.4-arm\i386\bin
    2013 64-bit arm C:\Program Files (x86)\National Instruments\Eclipse\toolchain\gcc-4.4-arm\i386\bin

1 Use arm for CompactRIO controllers that have ARM-based processors, such as the cRIO-906x. Use x64 for CompactRIO controllers that have x86_64-based processors, such as the cRIO-903x.

2 You can determine the processor architecture of an NI Linux Real-Time controller by running uname -a from an interactive shell.