I would be grateful for help with an addressing issue.
I have managed to get FFI working with AToF in the OSX C standard library and with one or two functions in OSX libm library.
I have an external C library on my Macbook Pro (OSX 10.14.6) in the /usr/local/include/ directory and would like to access this using LCB and the FFI.
I have tried putting this folder in the $PATH, and symlinking it to /usr/lib/ without success.
Any ideas would be welcome.
Colin
using additional C libraries via FFI
-
- Posts: 627
- Joined: Wed Apr 24, 2013 4:53 pm
- Contact:
Re: using additional C libraries via FFI
Not 100% sure, but if it's a dynamic linked lib then maybe try putting the foreign lib in Your_LCB_Project_Folder/code/x86_64-mac/
Re: using additional C libraries via FFI
Thanks for the hint, Paul. I'll give that a try and report back.
Colin
Colin
Re: using additional C libraries via FFI
Managed to sort it. In the end the issue was with access to shared libraries.
Thanks, Paul, for your input.
Thanks, Paul, for your input.