hi,
previouly I like to use luart to create some single file project.
but now I find that there are so many DLLs,
modules\audio\audio.dll
modules\canvas\canvas.dll
modules\crypto\crypto.dll
modules\json\json.dll
modules\net\net.dll
modules\webview\webview.dll
is it possible to build these altogether statically?
or nowadays the best approach is having a lot of DLLs for easy function extension.
I tried to use wrtc, it warnded that:
Using static LuaRT runtime
It is strongly discouraged to use the static runtime library if you are using Lua binary modules.
This can lead to bugs and crashes of your application.
Please confirm that you want to use the static runtime library.
but anyway the static did not work.
and the modules folder must be parallel to bin folder, like this:
bin\wluart.exe
modules\canvas\canvas.dll
or directly under same folder:
bin\wluart.exe
bin\canvas.dll
if put modules folder into bin folder then it does not work.