LUA Learning Note: The LUA environment builds Windows without Visual Studio

Source: Internet
Author: User
Tags lua sublime text

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.