"unable to load foreign library"

Dar Scott dsc at swcp.com
Thu Apr 14 14:34:49 EDT 2016


I'm using LiveCode Builder in LC 8.0.0-rc-1 on Yosemite.  

I am getting the error "unable to load foreign library" on the first try of a call to a foreign handler.  

I am guessing that I don't have the .dylib in the right place.  It is a couple folders down in a folder I put at /opt/ and /usr/lib/.  I also put the .dylib directly in the same folder as the .lcb.  

It might be that I'm doing something else goofy.  I tried fiddling with the foreign handler parameter types (I'm assuming an exact match is not needed) and with the library>function.  

Anybody know where the dynamic library should be?  And if the above locations should work, then...  Does anybody have any examples of foreign handler declarations for arbitrary functions in arbitrary libraries.  

Dar "I'm back" Scott




---------------------------
Dar Scott
dba 
Dar Scott Consulting
8637 Horacio Place NE
Albuquerque, NM 87111

Lab, home, office phone: +1 505 299 9497
For Skype and fax, please contact.
dsc at swcp.com

Computer programming and tinkering,
usually in supporting those developing in 
LiveCode--typically by making LiveCode 
controls, libraries and externals, and
sometimes by writing associated
microcontroller firmware.  
---------------------------







More information about the use-livecode mailing list