rjpcomputing/luaforwindows

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

Opened this issue · 0 comments

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

According to this source msys2/MINGW-packages#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