The LUA environment builds Windows without the Visual Studio system environment: Win7 64bit Contact: [email protected] Preface:
Recently you need to learn the hot new technology in Unity3d games and choose the Ulua solution, so be prepared to learn some of the basics of Lua. Previously written in the LUA version of "HelloWorld" on Ubuntu,
But then the environment to build only need to download the source code, then make & make install, but one to Windows will not do at all. After the comparison of network lookup, get the current self-think better
A configuration method that does not need to be used by most blog posts to compile Lua libraries, interpreters, and compilers using Visual Studio Step-by-step.
Self-considered best solution: LUA libraries, interpreters and compilers directly available on official website + Sublime Text One, download bin file
On the official website: http://joedf.ahkscript.org/LuaBuilds/
If you want to step into the address, this is: access to the official website: http://www.lua.org
Then: the first click
A second click:
A third click:
Then choose the appropriate version to download it, I chose lua-5.3.2_win64_bin.zip here.
Ii. pressurizing files and adding paths to system environment variables
Unzip the file to the path you think is appropriate, my C drive, you can see that we have LUA library, interpreter and compiler, do not like other blog post with VisualStudio heavy source code compiled.
Add the file path to the system environment variable, then open the terminal and input LUA test.
Iii. configuring LUA compilation for Sublime Text
If you download the latest version from Sublime Text's official website HTTP://WWW.SUBLIMETEXT.COM/3, it should be supported by LUA compilation, if there is no way to find the method directly online.
Create a new file, save it as Xxx.lua, and then select Lua on the tools-and-compile system, and Ctrl + B will compile after you complete the code.
Recommended two Lua plugins Lua-love and Lua-dev
LUA Learning Note: The LUA environment builds Windows without Visual Studio