Hello everybody!
I am developing my own game, which based on light beams and optical objects. I wrote for this a library by C++, and wrote binds with Lua by luabind. I checked my library in Lua - it works. But I can’t implement it in the Corona SDK …
[lua]require(“mylib”)[/lua]
leads to mistake:
[text]
D:…\main.lua:18 module ‘mylib’ not found:resource <mylib.lu> does not exist in archive
no field package.preload[‘mylib’]
no file 'D:…\mylib.lua’
no file ‘C:\Program Files\Ansc’
[/text]
and
[lua] package.loadlib(‘mylib’,‘luaopen_mylib’)[/lua]
do nothing…
Is anybody have any suggestions?
Please, help me! I can’t find anything about my problem. [import]uid: 73959 topic_id: 16471 reply_id: 316471[/import] </mylib.lu>