[英]Build Lua 5.2.2 in Windows
I already have Lua For Windows installed but as I read about the latest version of Lua which is 5.2.2 , I noticed that Lua For Windows is using an old version of Lua which is 5.1. 我已经安装了Lua For Windows但是当我读到最新版本的Lua是5.2.2时 ,我注意到Lua For Windows正在使用Lua的旧版本5.1。
I want to build the latest lua version to my windows 7 pc, but I don't quite get the idea on how I can build it. 我想在我的windows 7 pc上构建最新的lua版本,但我不知道如何构建它。 I already read this too Detailed Instruction for installing Lua .
我已经阅读了这个安装Lua的详细说明 。 Do i need to remove the Lua For Windows ?
我是否需要删除Lua For Windows ? please give me links how I can build it?
请给我链接如何构建它? what are the necessary tools to build the last lua source code.
构建最后一个lua源代码的必要工具是什么。
Note : please also tell how can I test a source on it. 注意 :还请告诉我如何在其上测试源。
Lua binaries are hosted on sourceforge . Lua二进制文件托管在sourceforge上 。 You don't need to remove Lua for Windows.
您无需删除Lua for Windows。 What I do on my installation of LFW is, I overwrite the
lua.exe
and lua.dll
with the respective 5.2.* files from the binaries I downloaded. 我在安装LFW时所做的是,用我下载的二进制文件中的相应5.2。*文件覆盖
lua.exe
和lua.dll
。
PS: Sourceforge hasn't been updated with 5.2.2 release of Lua and is still at version 5.2.1 . PS:Sourceforge尚未更新Lua的5.2.2版本,仍然是5.2.1版本 。 If you want to build, you'll find the similar question that greatwolf has linked to .
如果你想建立,你会发现大狼与之 相关的类似问题。
Compiling lua on Windows using Visual Studio is as simple as: 使用Visual Studio在Windows上编译lua非常简单:
move luac.c .. & cl *.c -o lua.exe /O1
move luac.c .. & cl *.c -o lua.exe /O1
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.