LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Cannot Create Shared Library to call from Labview. Anyone have any ideas?

Hi there.  A while back i created a shared library (.dll) to call in labview which works great.  Lately i have been using Linux more and more and was hoping to recompile the shared library for use in Linux Labview.  My first go I am getting the following error #error "Unknown Linux platform"   from the platdefines.h.   Evidently it does not like my system.  Using QT creator on linux mint 64 bit.   Anyone have any ideas on how i can get this working?

thanks so much!

0 Kudos
Message 1 of 6
(3,228 Views)

I have a few version questions: What version of Windows was this DLL orignally created in? What version of LabVIEW are you using? What version of Linux are you using? 

 

I think you will also find this previous discussion forum thread useful: http://forums.ni.com/t5/LabVIEW/Calling-DLL-on-LabVIEW-for-Linux/td-p/58322

Rachel P. | Applications Engineer | National Instruments
0 Kudos
Message 2 of 6
(3,161 Views)

Hi there, thanks for the reply.  Originally this was used on windows xp, but i just recompiled and have it working fine on windows 7.  I am using Linux mint 17.1  64 bit and Labview runs great on it.  Using QT creater and gcc to compile.

0 Kudos
Message 3 of 6
(3,130 Views)

When you say "my first go" are you referring to your attempt at building/compiling it using QT Creater and gcc or your attempt at calling your DLL from LabVIEW for Linux? 

Rachel P. | Applications Engineer | National Instruments
0 Kudos
Message 4 of 6
(3,103 Views)

My first attempt at building/compiling

0 Kudos
Message 5 of 6
(3,098 Views)

Since you are receiving an error within a third party software rather than with an NI software, I would recommend posting this question to one of their corresponding forums. We also have a LabVIEW for Linux Discussion Forum that may be helpful. 

Rachel P. | Applications Engineer | National Instruments
0 Kudos
Message 6 of 6
(3,069 Views)