Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question on loading bytecode made with this. #1

Open
VaasKahnGrim opened this issue Apr 17, 2019 · 4 comments
Open

question on loading bytecode made with this. #1

VaasKahnGrim opened this issue Apr 17, 2019 · 4 comments

Comments

@VaasKahnGrim
Copy link

After using this to convert something into its bytecode form, how would one go about actually loading it into a server exactly?

@handsomematt
Copy link
Owner

You would need to write your own binary module, once you have access to the Lua state you can just load it in.

@VaasKahnGrim
Copy link
Author

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

@VaasKahnGrim
Copy link
Author

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 ==========

@VaasKahnGrim
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants