Can't Build Tutorial Using Eclipse 2017 for NI Linux RT

Updated Jun 7, 2018

Reported In

Hardware

  • cRIO-9035
  • myRIO-1900
  • cRIO-9068

Programming Language

  • C++
  • C

Other

Windows 7
Windows 10
C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition 2017

Issue Details

I'm trying to follow the instructions from the Getting Started with C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition tutorial, but I get errors that prevent from successful build. I use steps with Intel x64-based targets and 2017 software stack notes.
Are there any additional includes need to be added?

Solution

In the Getting Started with C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition tutorial, in step 10 for Intel x64-based targets, 2017 software stack you need to add the following includes to resolve the problem:​
  • C:\build\17.0\x64\sysroots\core2-64-nilrt-linux\usr\include\c++\4.9.2
  • C:\build\17.0\x64\sysroots\core2-64-nilrt-linux\usr\include\c++\4.9.2\x86_64-nilrt-linux
  • C:\build\17.0\x64\sysroots\core2-64-nilrt-linux\usr\include

Additional Information

If you need to build a project from the tutorial for ARM-based targets using Eclipse 2017 software stack, you should add the following includes to resolve the problem:​
  • C:\build\17.0\arm\sysroots\cortexa9-vfpv3-nilrt-linux-gnueabi\usr\include\c++\4.9.2\
  • C:\build\17.0\arm\sysroots\cortexa9-vfpv3-nilrt-linux-gnueabi\usr\include\c++\4.9.2\arm-nilrt-linux-gnueabi
  • C:\build\17.0\arm\sysroots\cortexa9-vfpv3-nilrt-linux-gnueabi\usr\include

WAS THIS ARTICLE HELPFUL?

Not Helpful