LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Building Linux shared object (so)

Does anyone have experience building a linux .so from a VI?

I've made a simple VI and was able to build it into a shared object (so)
using the App Builder. But when trying to link to that shared object
with a test C program, I get unresolved references:

libdouble.so is the .so I built from my VI:

../libdouble.so : unresolved reference to 'ReleaseEPDS'
../libdouble.so : unresolved reference to 'CallVIFromDll'
../libdouble.so : unresolved reference to 'InitLVClient'
../libdouble.so : unresolved reference to 'UninitLVClient'
../libdouble.so : unresolved reference to 'ReserveEPDS'
../libdouble.so : unresolved reference to 'GetSharedLibPath'
../libdouble.so : unresolved reference to 'WaitLVClientReady'

It seems like I need to link in anot
her Labview library but I don't know
which one or where it is located.

Any help? NI guys?


Thanks,
-Stephen
0 Kudos
Message 1 of 2
(2,894 Views)
Hi Stephen,

You'll need to link against the LabVIEW run-time engine. It's called "liblvrt.so" and is usually found in /usr/local/lib.

Thanks for pointing this out!
0 Kudos
Message 2 of 2
(2,894 Views)