LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to generate DLL from Labview program

I am following this webpage to create a shared library from a labview project: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P9CWSA0&l=en-US.

When I get to the step where I have to build a new shared library for my project, I get an error saying that labview cannot locate the resource corresponding to GCC. The suggested support page for the particular error code states that the condition to be met for this error is the presence of Eclipse edition 2017 for NI Linux Real-Time (https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019UcMSAU&l=en-US).

Since I do have eclipse installed on my development computer and don't see an option to provide a path to GCC as part of the build process, I cannot resolve this error. Please refer to the attached screenshot for the error message window that appears when I try to build a shared library.

0 Kudos
Message 1 of 3
(2,204 Views)

Anandsa,

Can you confirm that the model you're creating is not going to be used in Veristand 2017? The article you linked mentions needing an older version of Eclipse, if that is the case. Otherwise I haven't found much of relevance to this issue, yet.

 

Some next steps could be to verify the order of installation (also in that article you linked) and potentially reinstall the development tools to reset their installation path, if it was somehow installed in the wrong directory. 

0 Kudos
Message 2 of 3
(2,157 Views)

No, it is not going to be used in Veristand. The intention is to have the shared library called from a custom C++ program and to use the VI in the form of a function call. I can confirm that the order of installation matches that on the page (except Veristand since I don't need it). Please let me know if there is anything else I can do apart from reinstallation as a last resort.

0 Kudos
Message 3 of 3
(2,151 Views)