[英]How to install Lua Love using the luarocks manger?
I am a complete newb to lua, but so far I like it. 我是lua的新手,但到目前为止,我还是喜欢它。
I want to install love because it provides a nice framework and want to explore its features. 我要安装爱情,因为它提供了一个不错的框架,并且想探索其功能。 I can already run lua scripts (luarocks comes with lua5.1.) and I have the zerobrain IDE.
我已经可以运行lua脚本(luaock随lua5.1一起提供了),并且我具有Zerobrain IDE。 I installed socket.rock by getting the .rock file and running:
我通过获取.rock文件并运行来安装socket.rock:
luarocks install luasocket-2.0.2-3.win32-x86.rock
But I can't find a similar file for love. 但是我找不到类似的档案来表达爱意。 I found this website: luarocks-love , which tells me:
我找到了这个网站: luarocks-love ,它告诉我:
luarocks install --server=http://luarocks.org/m/love <name>
So I can run this, but I don't know what <name>
means... I tried it without <name>
and I get an error. 因此,我可以运行它,但是我不知道
<name>
意思是什么...我在没有<name>
情况下尝试了此操作,但出现错误。 Can someone explain what I am missing here? 有人可以解释我在这里缺少什么吗?
Thanks! 谢谢!
You can't install Love via luarocks. 您无法通过羽绒服安装Love。 Love isn't a library.
爱不是图书馆。
The installers for Windows are available here . Windows的安装程序在此处提供 。
What you have there is just used for installing libraries using luarocks that depend upon Love. 您所拥有的仅用于使用依赖Love的luarocks安装库。 It is not the framework itself.
它不是框架本身。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.