Copy link to clipboard
I have precompiled my lua script of the Lightroom plugin with
luac -s -o out/file_name.lua ./file_name.lua
Then moved altogether in a folder with the suffic lrplugin. Afterwards installed into Lightroom and then I got the error:
info.lua: bad chunk in precompiled chunk
What does this mean and what do I need to do to solve this? I am using
Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio
Thanks for your help
I use "luac" 5.1.4, and I don't use "-s". Don't know if those might make a difference.
Also, I assume you've verified your plugin runs without compiling?
Same error with
Lua 5.1.5 Copyright (C) 1994-2012 Lua.org, PUC-Rio
I have removed the -s argument and now it works. Thanks for the hint.
Glad you got it resolved. Don't know why "-s" would screw things up.