Re: Adding C module to rom in eLua 0.10
Posted by
jbsnyder on
URL: http://elua-development.15.s1.nabble.com/Adding-C-module-to-rom-in-eLua-0-10-tp7578479p7578483.html
Hi Graham,
Could you provide the luaopen & map definitions from your file? I suspect the issue might be there. Also, are you running a script or just starting up the Lua prompt with no arguments?
If you can't provide that, see the other modules in src/modules for how these portions should be set up.
I was able to take the tutorial on the wiki and with a few minor edits plus what I recommended I had it working in the image. I've saved a few quick changes to that to be more consistent with the current build system.
Best.
-jsnyder