01-31-2013 01:58 PM
Hi guys,
I'm using Mac version and have a question in importing a 3rd party library. I have already had a .framework folder and a header file (.h) from the vendor. When I tried to define the shared library path (.framework folder) and header file, and clicked next button, I had this error:
"The Import Shared Library tool cannot get exported function names from the input shared library file....."
Does that mean that the framework folder is faulty? I tried to read up Mac programming sources. There is one file inside the .framework folder with ".a" extension. Do I need to include this?
Thanks!
02-01-2013 11:28 AM
Hello,
This is Doug from Applications Engineering. In many cases, the 3rd party libraries are designed to be accessed from C or other similar low level languages. If this is the case, then you will most likely have to write a wrapper function. Here is a knowledge base document on wrapper functions and LabVIEW
http://digital.ni.com/public.nsf/allkb/06ECDC689DDA0F3D862574440074CD95?OpenDocument
If you are able to contact the 3rd party that distributes the library, I suggest you ask them if their functions can be called natively from LabVIEW. Also, here is an additional knowledge base for creating a framework on a mac for your reference
http://digital.ni.com/public.nsf/allkb/A6A6371FE0EA333B86257015005E3400?OpenDocument
Let me know if you have any other questions
Doug W
Applications Engineer
02-01-2013 12:27 PM
Thanks a lot! The second URL link is what I have been looking for. Let me try it first....