luaforwindows icon indicating copy to clipboard operation
luaforwindows copied to clipboard

libpng16-16.dll error on execution, when executing MSYS2's lua compiled application while having luaforwindows installed

Open DiegoJArg opened this issue 4 years ago • 0 comments

Hi. I came across with this issue when trying to compile fltk4lua.

According to this source https://github.com/msys2/MINGW-packages/issues/813 the problem arises with a different compiled version of zlib1.dll on the path. In this case I had LuaForWindows installed before installing MSYS2 and trying to compile things for lua 5.4.

I solved it by placing MSYS2 on the path before than LuaForWindows, but I should probably uninstall it, since nowadays MSYS2's lua version is 5.4 and luarocks is 3.9.0

I hope this information helps someone.

image

DiegoJArg avatar Nov 23 '22 13:11 DiegoJArg