Linux Users


Sample include and library files


I have Labview 2017, LabWindows/CVI, FPGA, Real Time, and Vision Acquisition software. I'm converting a (working, source exists) DLL to Linux for a project. If I'm not successful, the LabView application must be very extensively rewritten and there is a very significant amount of documentation to be revised. It would be essentially castrated, in fact.

How does one include specified libraries in the definition for Eclipse. In particular, how does one include <analysis.h> and <cvitre.h>? I am aware of and among others.

0 Kudos
Message 1 of 2

Re: Sample include and library files


In case anyone has similar questions:


In your Eclipse project, make sure that the project type is specified as a Shared Object/Library and not an application/binary. By simply changing the project type in Eclipse, it will automatically use the correct flags when calling gcc

Here are some resources for including specified libraries in the definition for Eclipse. 

Getting Started with C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition

Integrating C Code with LabVIEW on NI Linux Real-Time Targets

How Do I Debug Shared Libraries on Linux Real-Time Targets Using Eclipse/GDB?



0 Kudos
Message 2 of 2
This is an open group. Sign in and click the "Join Group" button to become a group member and start posting.