[solved] load c library with FFI from within .love file?
Posted: Sat Nov 04, 2023 10:18 pm
Hiya,
I'm making a love2d starter template for making blind accessible games in love2d, and I'm running into one snag: I don't know how to load a shared c object that is included in the .love file. If I drop the shared object in the same directory as the .love it works great, but kind of defeats the point of the .love file. Any idea how to do this?
Thanks,
-Michael.
P.S. You can find my starter template here: https://git.2mb.codes/~lilmike/love2d-template
I'm making a love2d starter template for making blind accessible games in love2d, and I'm running into one snag: I don't know how to load a shared c object that is included in the .love file. If I drop the shared object in the same directory as the .love it works great, but kind of defeats the point of the .love file. Any idea how to do this?
Thanks,
-Michael.
P.S. You can find my starter template here: https://git.2mb.codes/~lilmike/love2d-template