07-02-2015 08:44 AM
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!
07-06-2015 11:14 PM
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
07-07-2015 07:43 AM
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.
07-08-2015 09:14 AM
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?
07-08-2015 09:21 AM
My first attempt at building/compiling
07-09-2015 08:57 AM
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.