[JW Lua] Requiring a dylib?

Thomas Weber thomas.weber at notengrafik.com
Sun Mar 28 22:16:14 CEST 2021


I have written and loaded binary modules for standalone Lua, but I never got them to load in JWLua (on Windows).  I suspect it's not possible, but I'd be delighted if someone could convinced me otherwise.



Am 28.03.21 um 17:59 schrieb Robert Patterson:
> It is possible to require a dylib in JWLua? (The dylib format is the macOS equivalent of .so in Unix.)
>
> I have managed to create one, and I have linked it with the Lua 5.1 lua library. But when it tries to load I get "unexpected symbol near char(207)" as if it is attempting to interpret the binary dylib file as a lua script.
>
> In the wider Lua world supposedly one can load a dylib.



-- 

Notengrafik Berlin GmbH
HRB 150007

UstID: DE 289234097
Geschäftsführer:
Thomas Weber und Werner J. Wolff

fon: +49 30 25359505
Friedrichstraße 23a
10969 Berlin

notengrafik.com




More information about the JWLua mailing list