[FIXED] Why my code won't run #1339
Unanswered
TymekBrunka
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have managed to link luau libraries to my cmake project and wanted to start using embeded luau but idk how to generate chunkname so I gave it name
=gex
and code
(it compiles but it doesnt print "hi", end returns error code 1)
btw, i tried to set
bytecodeSize
tostrlen(source)
before but it failed too.and if it is important, then here is
CMakeLists.txt
hereedit, wow, i had to enable console output manualy and
lua_pcall(L, 0, 0, 0);
, issue fixed, new code:Beta Was this translation helpful? Give feedback.
All reactions