gluac
gluac copied to clipboard
question on loading bytecode made with this.
After using this to convert something into its bytecode form, how would one go about actually loading it into a server exactly?
You would need to write your own binary module, once you have access to the Lua state you can just load it in.
what would I exactly utilize? I've had some people say lua_load but I've also been seeing some variations of that aswell but were different functions
also I'm having some issues with compiling in VS2017. I double checked the and made sure the scanning/ dependency had its contents in it aswell
1>------ Build started: Project: gluac, Configuration: Debug Win32 ------ 1>main.cpp 1>c:\users\user\documents\gluacm\gluac\src\lua_jit.h(255): warning C4162: '_BitScanForward': no function with C linkage found 1>c:\users\user\documents\gluacm\gluac\src\lua_jit.h(256): warning C4162: '_BitScanReverse': no function with C linkage found 1>c:\users\user\documents\gluacm\gluac\src\lua_jit.h(1179): error C3646: 'colo': unknown override specifier 1>c:\users\user\documents\gluacm\gluac\src\lua_jit.h(1179): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>..\src\main.cpp(10): fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory 1>symbolfinder.cpp 1>Generating Code... 1>Done building project "gluac.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
also I'm trying to figure out how to properly write the deploy section for travis.yml not sure what folder path to use however since for it https://imgur.com/a/78QV5ZA
this is what I end up with in travis tho if that helps