You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, lyaml is not installed to %APPDATA%\luarocks\share\lua\5.4, and attempting to load it fails:
>lua script.lua
lua: script.lua:3: module 'lyaml' not found:
no field package.preload['lyaml']
no file 'C:\Program Files\luarocks\lua\lyaml.lua'
no file 'C:\Program Files\luarocks\lua\lyaml\init.lua'
no file 'C:\Program Files\luarocks\lyaml.lua'
no file 'C:\Program Files\luarocks\lyaml\init.lua'
no file 'C:\Program Files\luarocks\..\share\lua\5.4\lyaml.lua'
no file 'C:\Program Files\luarocks\..\share\lua\5.4\lyaml\init.lua'
no file '.\lyaml.lua'
no file '.\lyaml\init.lua'
no file 'C:\Users\Leonardus\AppData\Roaming/luarocks/share/lua/5.4/lyaml.lua'
no file 'C:\Users\Leonardus\AppData\Roaming/luarocks/share/lua/5.4/lyaml/init.lua'
no file ''
no file 'C:\Program Files\luarocks\lyaml.dll'
no file 'C:\Program Files\luarocks\..\lib\lua\5.4\lyaml.dll'
no file 'C:\Program Files\luarocks\loadall.dll'
no file '.\lyaml.dll'
no file 'C:\Users\Leonardus\AppData\Roaming/luarocks/lib/lua/5.4/lyaml.dll'
no file 'C:\Program Files (x86)\wxLua\bin\lyaml.dll'
no file ''
stack traceback:
[C]: in function 'require'
script.lua:3: in main chunk
[C]: in ?
I attempted to write a rockspec, but there's a linking problem that I've been trying to resolve for about four hours now and I haven't made any progress.
I've also tried building libyaml as a shared library, which allows to successfully compile, link, and install lyaml with the modified Rockspec, just with this error when trying to load ylaml (specifically when include('yaml') is called).
However, lyaml is not installed to
%APPDATA%\luarocks\share\lua\5.4
, and attempting to load it fails:I attempted to write a rockspec, but there's a linking problem that I've been trying to resolve for about four hours now and I haven't made any progress.
Below is the linking error, if anyone is interested and/or more experienced than me with building on Windows:
I built libyaml as a static library; installing from luarocks also silently fails the same way when libyaml is built as a .dll.
The text was updated successfully, but these errors were encountered: