This content is not available in your preferred language.

The content is shown in another available language. Your browser may include features that can help translate the text.

Error about GCC when building *.so or *.lvmodelso from LabVIEW Project

Updated Apr 8, 2024

Reported In

Software

  • LabVIEW
  • VeriStand

Operating System

  • NI Linux Real-Time

Issue Details

  • When I try to build a Shared Library (.so) for a NI Linux RT Target within my LabVIEW Project, I receive an error that says GNU Compiler Collection (GCC) is not installed.
  • I am trying to generate a VeriStand Model for my NI Linux RT target (*.lvmodelso) from a VI in LabVIEW, but it get an error message.

Solution

In order to build a Shared Library of a LV Model from the LabVIEW Project for a target running NI Linux RT, you must have the appropriate version of the C/C++ Development Tools for NI Linux Real-Time installed as referenced by the charts below. 
 

Correct Version of C/C++ Development Tools for LabVIEW-Generated .so Files

LabVIEW Version for .so FilesCorrect Version of C/C++ Development Tools
2014-2016Eclipse Edition 2014-2016
2017 and laterEclipse Edition 2017
 

Correct Version of C/C++ Development Tools for LabVIEW-Generated VeriStand Models

VeriStand Version for LabVIEW-Generated ModelsCorrect Version of C/C++ Development Tools
2017 and earlierEclipse Edition 2014-2016
2018 and laterEclipse Edition 2017
 

How to Manually Install the C/C++ Development Tools

You can download and install the C/C++ Development Tools Download - NI from the NI web site.

If you need the Eclipse Edition 2014-2016, please reach out to Technical Support by creating a Service Request.

Additional Information

For reference, the full software stack needed and the order of installation is the following:

  1. LabVIEW 
  2. LabVIEW Real-Time Module
  3. LabVIEW FPGA Module
  4. VeriStand (matching year with LabVIEW)
  5. CompactRIO Drivers
  6. C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition