Linux Users

cancel
Showing results for 
Search instead for 
Did you mean: 

Sample include and library files

Hi,

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 http://zone.ni.com/reference/en-XX/help/370051AG-01/cvi/programmerref/using_cvi_libraries_in_externa... and http://zone.ni.com/reference/en-XX/help/370051AG-01/cvi/programmerref/compilinginextcompforlinkincvi... among others.

0 Kudos
Message 1 of 2
(2,365 Views)
 

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
(2,290 Views)